Search Results
What you will need is an array to store the score in. Replace this:
pawn Код:
new Text:DMTeam1Score;new Text:DMTeam2Score;
With this:
pawn Код:
new Text:DMTeam1Score;new Text:DMTeam2Score;new ...
102
Show us the start of your OnRaceEnd code. As you said in the title, the warning is coming from 'OnRaceEnd' so we need to see if there are any additional arguments required for it.
155
if(Vehicle[playerid] != 0)
!= INVALID_VEHICLEID
What if the ID of it is 0?
Do the same under OnPlayerDisconnect:
if(Vehicle[playerid] != INVALID_PLAYER_ID) DestroyVehicle(Vehicle[playerid]);
If it ...
369
This might be helpful to you:
https://sampforum.blast.hk/showthread.php?tid=209234
105
It says it in the errors. You didn't define "HouseLabel". It might look something like:
pawn Код:
new HouseLabel[MAX_HOUSES];
235
It's on a Windows VPS, right? If so:
https://dev.mysql.com/doc/refman/5.5...eshooting.html
If not, check for a MySQL log file in your server's directory and post that.
Also, stupid one but try puttin...
202
Something like this?:
https://sampforum.blast.hk/showthread.php?tid=495888
311
Quote:
[15:09:17] Loading plugin: mysql
[15:09:17] Failed.
Refer to that. Your plugin did not load correctly, so check where you have placed that.
202
What command processor do you use? ZCMD? DCMD? SA:MP default? Each one has a different way.
308
You could check if the player loses $100 in a pay n spray, and check if they are in a pay n spray range. If they are, use your server-sided money function.
As for transfender, there's a function calle...
202
Found the issue
Код:
modelid = GetPlayerVehicleID(playerid);
Shouldnt it be GetVehicleModel(GetPlayerVehicleID(playerid));
145
So do this:
pawn Код:
// onplayerrequestclassif(GetPlayerSkin(playerid) == YOURSKINHERE){if(!PlayerInfo[playerid][pVIP]) return 0;}
267
Well, simple one:
pawn Код:
CMD:vipskin(playerid,params[]){if(!PlayerInfo[playerid][pVIP]) return SendClientMessage(playerid,0xFF0000FF,"You are not a VIP."); // Change it to suit your needs, you ...
267
I checked it with a missing bracket finder, this was the result:
And to the person above me...your code returned 313 closing brackets.
255
Yeah you've added an extra one...i can see it clearly in both code snippets...
255
One extra bracket found:
pawn Код:
else if(IsPlayerInVehicle(playerid, gerpro)) { switch(GetPlayerTeam(playerid)) { case TEAM_GE...
255
EDIT: Nevermind, fixed.
295
Show dialog ID 1 and 2's code...
135
Unable to run a test server right now, i can give out the actual IP of the server that the script is running on though if you want that, and the only includes i use are the following:
#include <a_s...
295
Well here it is
OnDialogResponse
pawn Код:
case 2: { if(!response) return Kick(playerid); if(!strlen(inputtext)) return ShowPlayerDialog(playerid,2,DIA...
295