Search Results
Make a variable: pawn Код: new pWarned[MAX_PLAYERS]; Alter the if statement from: pawn Код: if(IsATLCar(vehicleid)) to pawn Код: if(IsATLCar(vehicleid) && pWarned[playerid] == 0)...
137
Quote: Originally Posted by Vince Sounds like classic SetTimer instead of SetTimerEx mistake Quote: Originally Posted by Nenzittow pawn Код: public OnPlayerConnect(playe...
121
Quote: Originally Posted by nicholasramdhan Well how do I make it a array? I know 0 to nothing about scripting (well 10 percent) but I really want to get these 4 errors fixed. Quote: ...
148
Quote: Originally Posted by bigboy81 REP + please Are you serious? Anyway, @OT, can you show me the declarations for "Dueler" and "Duelers"?
175
Show me the command which you enter the 24/7 with and the /buy command.
93
I've had this error and fixed it by fixing an infinite loop which was caused due to improper saving on player disconnect and checking on those variables which have been previously set by another playe...
2,735
You'll need to set iAFKp[playerid] = 0; under OnPlayerText and OnPlayerCommandText, and call a public which increments iAFKp[playerid] by one. Afterwards, make the check under Checking so that it chec...
158
It always happens to me due to brackets. Anyway, what I do is I place half of the code between "/* */" annotations, and then half of that, etc. until I find the portion of the code which causes the cr...
117
Does the menu show normally? Are you sure that case is getting called? And why are you creating a vehicle with colors of '-1'? Those are invalid color codes. For valid ones, click me.
174
Quote: Originally Posted by Kaliber Only hi & end gets called, because of the ELSE if!: Was just about to point this one out. The other if check does not get checked as it is an ELS...
170
Use nativechecker and crashdetect to know which plugins are causing the crash, then use the proper version of the plugins.
117
pawn Код: if(clickedid == SSelectDreapta[playerid]){    new color2;    ChangeVehicleColor(IDmasina[playerid], color1 +1, color2);    print("Debug: First check called.")}if(clickedid == SSele...
120
https://sampforum.blast.hk/showthread.php?tid=499710
160
Quote: Originally Posted by Abagail I don't see ObjectInfo[idx][oidx] being set anywhere. I don't know if the "x" is supposed to be there, or what so I can't say what to change for sure bu...
95
Wrong section. Post here: https://sampforum.blast.hk/showthread.php?tid=447813
75
You get the error because you have not selected the player's data from the MySQL. I.e: pawn Код: "SELECT * FROM `accounts` WHERE `Username` = '%s'" That's the terminology of how you should selec...
56
Make arrays of strings, set weapon names in them, use a saving system (whether file or SQL system) to save your variables and load them with the said system.
592
pawn Код: mysql_function_query( connectionHandle, query[], bool:cache, callback[], format[], {Float,_}:... ); BlueG's examples: pawn Код: mysql_function_query(connectionHandle, "UPDATE `foo` ...
114
Well, can you post the code?
103
Quote: The difference between this native and mysql_tquery() is, that this type of query uses multi-threading, thus it's faster depending on how many connections are used. The number of co...
78