Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
#define DIALOG_RULES2 12 public OnPlayerConnect(playerid) { KillTimer(UserTimer[playerid]); Info[playerid][Favouriteskin] = -1; Daysalive[playerid] = 0; PlayerInfo[playerid][pAdmin] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pDeaths] = 0; PlayerInfo[playerid][pCash] = 0; LPinfo[playerid][Score] = 0; LPinfo[playerid][Drugs] = 0; LPinfo[playerid][Adre] = 0; Info[playerid][VIPLevel] = 0; BankMoney[playerid] = 0; Daysalive[playerid] = 0; Info[playerid][MissionsCompleted] = 0; Info[playerid][MissionsFailed] = 0; Info[playerid][Robbed] = 0; Info[playerid][MaximumRobbed] = 0; Info[playerid][Muted] = 0; Info[playerid][Jailed] = 0; Info[playerid][MuteWarnings] = 0; Info[playerid][MaxMuteWarnings] = 0; Info[playerid][Warnings] = 0; Info[playerid][TimesKicked] = 0; Info[playerid][EventsWon] = 0; Info[playerid][EventsLost] = 0; Info[playerid][StartingMusic] = 0; PlayerAlreadyLoggedIn[playerid] = 0; PlayerAlreadyRegisteredIn[playerid] = 0; Info[playerid][Logged] = 0; Info[playerid][Registered] = 0; Info[playerid][Respect] = 0; Autouseskin[playerid] = 0; playervehicle[playerid] = -1; fskillid[playerid] = 4; new string[64], pName2[MAX_PLAYER_NAME]; GetPlayerName(playerid,pName2,MAX_PLAYER_NAME); format(string,sizeof string,"%s (%d) Has Joined The Server.",pName2,playerid); new plrIP[16]; GetPlayerIp(playerid, plrIP, sizeof(plrIP)); foreach(Player, i) { if(PlayerInfo[playerid][pAdmin] > 0) { format(string,sizeof string,"%s (%d) Has Joined The Server. [%s]",pName2,playerid,plrIP); SendClientMessage(i,0xBFFF00AA,string); } } GameTextForPlayer(playerid, "Welcome To The Los Santos Gang War Server", 5000, 4); ShowPlayerDialog(playerid, DIALOG_RULES2, DIALOG_STYLE_MSGBOX, "Server Rules", "1- No Cheating\n2- No Spamming\n3- Slide Bug Is Not Allowed And C Bug Too\n4- No Rule Breaking\n5- No G Abuse\n6- No Advertising\n7- Teleport Abuse Is Not Allowed\n8- Weapon Mods Are Allowed Only\n9- Respect Player Especially Admins\n10- Scamming Is Not Allowed\n11- Aimbot Is Not Allowed\n12- Don't Try To Climb Up Over The Freeroam Walls If You Are(not) In Freeroam Mod\n\nDo You Agree The Server Rules?", "Yes", "No"); SetPlayerColor(playerid, 0xB0B0B0FF); SendClientMessageToAll(0xAFAFAFAA,string); SendClientMessage(playerid,-1,"Welcome To The {FFEA00}LOS SANTOS GANG WARS{FFFFFF} Version 10.8! Please Enjoy Your Stay."); SendClientMessage(playerid,-1,"We Made An Effective Anti Cheat, And Some Bugs have been Fixed. Full List: /updates"); SendClientMessage(playerid, 0xFF0000AA, "NOTE: Use /music If When Connecting Music Making Lag To Turn It Off/On."); if(fexist(UserPath(playerid))) { INI_ParseFile(UserPath(playerid), "UserLoad_%s", .bExtra = true, .extra = playerid); // the same thing if(Info[playerid][Banned] == 1) { KickCommandWithMessage(playerid, 0xFF0000AA, "You Are Banned From This Server!"); SendClientMessage(playerid, 0xFFC400AA, "If You Feel That You Are Wrongly Banned Feel Free To Post An Appeal In Forum: lsgangwars.createaforum.com"); format(string,sizeof string,"%s (%d) Has Been Kicked | Reason: Account Banned.", pName2, playerid); SendClientMessageToAll(0xFFC400AA, string); } } // This get's the length of the player name new HouseID, HouseSlot, Name2[24]; // Get the player's name GetPlayerName(playerid, Name2, sizeof(Name2)); // Loop through all houses to find the ones which belong to this player for___loop (HouseID = 1; HouseID < MAX_HOUSES; HouseID++) { // Check if the house exists if (IsValidDynamicPickup(AHouseData[HouseID][PickupID])) { // Check if the house is owned if (AHouseData[HouseID][Owned] == true) { // Check if the player is the owner of the house if (strcmp(AHouseData[HouseID][Owner], Name2, false) == 0) { // Add the HouseID to the player's account for faster reference later on APlayerData[playerid][Houses][HouseSlot] = HouseID; // Load housecars if they weren't loaded at FilterscriptInit if (LoadCarsDuringFSInit == false) HouseFile_LoadCars(HouseID); // Select the next HouseSlot HouseSlot++; } } } } pmInfo[playerid][Last] = -1; pmInfo[playerid][NoPM] = 0; PlayerAlreadyLoggedIn[playerid] = 0; PlayerAlreadyRegisteredIn[playerid] = 0; if(Info[playerid][StartingMusic] == 0) { PlayAudioStreamForPlayer(playerid, "http://a.tumblr.com/tumblr_mno5ngNHLW1qmj9voo1.mp3"); } PlayerDualWatching[playerid] = 0; InventationSent[playerid] = -1; Inventation[playerid] = -1; InDual[playerid] = 0; Inventationprice[playerid] = 0; format(string,sizeof(string),"FPS: %d Ping: %d",GetPlayerFPS(playerid),GetPlayerPing(playerid)); FPSCount = CreatePlayerTextDraw(playerid,500.000000, 6.000000,string); PlayerTextDrawAlignment(playerid,FPSCount,0); PlayerTextDrawBackgroundColor(playerid,FPSCount, 255); PlayerTextDrawFont(playerid,FPSCount, 1); PlayerTextDrawLetterSize(playerid,FPSCount, 0.34567, 1.1452); PlayerTextDrawColor(playerid,FPSCount, -1); PlayerTextDrawSetOutline(playerid,FPSCount, 1); PlayerTextDrawUseBox(playerid,FPSCount,1); PlayerTextDrawBoxColor(playerid,FPSCount,0x00000054); PlayerTextDrawShow(playerid,FPSCount); PlayerDat[playerid][InGang] = 0; GangManager[playerid] = 0; Textdraw000[playerid] = CreatePlayerTextDraw(playerid,22.000000, 172.000000, "Respect:"); PlayerTextDrawBackgroundColor(playerid,Textdraw000[playerid], 255); PlayerTextDrawFont(playerid,Textdraw000[playerid], 0); PlayerTextDrawLetterSize(playerid,Textdraw000[playerid], 0.480000, 1.200000); PlayerTextDrawColor(playerid,Textdraw000[playerid], 16777215); PlayerTextDrawSetOutline(playerid,Textdraw000[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdraw000[playerid], 1); Textdraw111[playerid] = CreatePlayerTextDraw(playerid,22.000000, 197.000000, "Adrenaline Pills:"); PlayerTextDrawBackgroundColor(playerid,Textdraw111[playerid], 255); PlayerTextDrawFont(playerid,Textdraw111[playerid], 0); PlayerTextDrawLetterSize(playerid,Textdraw111[playerid], 0.490000, 1.200000); PlayerTextDrawColor(playerid,Textdraw111[playerid], 16777215); PlayerTextDrawSetOutline(playerid,Textdraw111[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdraw111[playerid], 1); Textdraw222[playerid] = CreatePlayerTextDraw(playerid,22.000000, 222.000000, "Grams Of Drugs:"); PlayerTextDrawBackgroundColor(playerid,Textdraw222[playerid], 255); PlayerTextDrawFont(playerid,Textdraw222[playerid], 0); PlayerTextDrawLetterSize(playerid,Textdraw222[playerid], 0.490000, 1.200000); PlayerTextDrawColor(playerid,Textdraw222[playerid], 16777215); PlayerTextDrawSetOutline(playerid,Textdraw222[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdraw222[playerid], 1); Textdraw333[playerid] = CreatePlayerTextDraw(playerid,509.000000, 242.000000, "Ratio:"); PlayerTextDrawBackgroundColor(playerid,Textdraw333[playerid], 255); PlayerTextDrawFont(playerid,Textdraw333[playerid], 0); PlayerTextDrawLetterSize(playerid,Textdraw333[playerid], 0.539999, 1.600000); PlayerTextDrawColor(playerid,Textdraw333[playerid], -16776961); PlayerTextDrawSetOutline(playerid,Textdraw333[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdraw333[playerid], 1); Textdraw444[playerid] = CreatePlayerTextDraw(playerid,64.000000, 427.000000, "Location"); PlayerTextDrawBackgroundColor(playerid,Textdraw444[playerid], 255); PlayerTextDrawFont(playerid,Textdraw444[playerid], 1); PlayerTextDrawLetterSize(playerid,Textdraw444[playerid], 0.179998, 1.200000); PlayerTextDrawColor(playerid,Textdraw444[playerid], -16711681); PlayerTextDrawSetOutline(playerid,Textdraw444[playerid], 1); PlayerTextDrawSetProportional(playerid,Textdraw444[playerid], 1); if(dini_Exists(pFile(playerid))) { LoginPlayer(playerid); } else { CreateFile(playerid); } FPSTimer[playerid] = SetTimerEx("GetPlayerFPS",100,1,"d",playerid); UpdateText[playerid] = SetTimerEx("FPSPingUpdate",99,1,"d",playerid); GangApproved[playerid] = 0; new gangplayername[MAX_PLAYER_NAME]; GetPlayerName(playerid, gangplayername, MAX_PLAYER_NAME); if(PlayerDat[playerid][InGang] == 1) { new string2[128]; new PlayerGangID = strval(dini_Get(pFile(playerid),"GangID")); format(string2, sizeof(string2), "The Gang Member Of %s [GangID: %d] %s (%d) Has Connected To The Server.", dini_Get(pFile(playerid),"GangName"), PlayerGangID, pName2, playerid); SendClientMessageToAll(0x09FF00FF, string2); } new NAME[MAX_PLAYER_NAME]; GetPlayerName(playerid,NAME,sizeof(NAME)); R_1[playerid] = TextDrawCreate(498.000000, 100.000000, " "); TextDrawBackgroundColor(R_1[playerid], 255); TextDrawFont(R_1[playerid], 2); TextDrawLetterSize(R_1[playerid], 0.250000, 0.899999); TextDrawColor(R_1[playerid], -1); TextDrawSetOutline(R_1[playerid], 0); TextDrawSetProportional(R_1[playerid], 1); TextDrawSetShadow(R_1[playerid], 1); Stats[playerid] = TextDrawCreate(499.000000, 110.000000, "~r~Kills: ~w~0 ~g~Deaths: ~w~0"); TextDrawBackgroundColor(Stats[playerid], 255); TextDrawFont(Stats[playerid], 2); TextDrawLetterSize(Stats[playerid], 0.159999, 1.000000); TextDrawColor(Stats[playerid], -1); TextDrawSetOutline(Stats[playerid], 0); TextDrawSetProportional(Stats[playerid], 1); TextDrawSetShadow(Stats[playerid], 1); SPEEDOS[playerid] = TextDrawCreate(10.0,200.0," "); TextDrawShowForPlayer(playerid,SPEEDOS[playerid]); HEALTH[playerid] = TextDrawCreate(10.0,180.0," "); TextDrawShowForPlayer(playerid,HEALTH[playerid]); SetPlayerZoneColor(playerid); ranktimers[playerid] = SetTimerEx("ranktimer", 3000, true, "d", playerid); antiarmourhack[playerid] = SetTimerEx("aantiarmourhack", 3000, true, "d", playerid); texttimers[playerid] = SetTimerEx("texttimer", 2000, true, "d", playerid); RemoveBuildingForPlayer(playerid, 1302, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 1209, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 955, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 956, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 1775, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 1776, 0.0, 0.0, 0.0, 6000.0); RemoveBuildingForPlayer(playerid, 1977, 0.0, 0.0, 0.0, 6000.0); return 1; }
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
⭐Crypto Exchange Profit Method⭐
JavaScript | 2 sec ago | 0.32 KB
✅ Exploit 500$ in 15 Minutes
JavaScript | 16 sec ago | 0.32 KB
ChangeNOW Exploit
JavaScript | 21 sec ago | 0.32 KB
⭐⭐⭐MAKE $900 INSTANTLY⭐⭐⭐
Java | 26 sec ago | 0.06 KB
Free Crypto Method (NEVER SEEN BEFORE)
JavaScript | 34 sec ago | 0.32 KB
⭐⭐⭐Make $1500 in 20 minutes⭐⭐⭐
Java | 37 sec ago | 0.09 KB
⭐ Free ETH Method ⭐
JavaScript | 38 sec ago | 0.32 KB
⭐⭐⭐Instant Profit Method⭐⭐⭐
Java | 41 sec ago | 0.06 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!