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 ...
40
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.
70
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 ...
204
This might be helpful to you: https://sampforum.blast.hk/showthread.php?tid=209234
56
It says it in the errors. You didn't define "HouseLabel". It might look something like: pawn Код: new HouseLabel[MAX_HOUSES];
126
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...
106
Something like this?: https://sampforum.blast.hk/showthread.php?tid=495888
187
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.
106
What command processor do you use? ZCMD? DCMD? SA:MP default? Each one has a different way.
189
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...
119
Found the issue Код: modelid = GetPlayerVehicleID(playerid); Shouldnt it be GetVehicleModel(GetPlayerVehicleID(playerid));
81
So do this: pawn Код: // onplayerrequestclassif(GetPlayerSkin(playerid) == YOURSKINHERE){if(!PlayerInfo[playerid][pVIP]) return 0;}
161
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 ...
161
I checked it with a missing bracket finder, this was the result: And to the person above me...your code returned 313 closing brackets.
144
Yeah you've added an extra one...i can see it clearly in both code snippets...
144
One extra bracket found: pawn Код: else if(IsPlayerInVehicle(playerid, gerpro))        {            switch(GetPlayerTeam(playerid))            {                case TEAM_GE...
144
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...
168
Well here it is OnDialogResponse pawn Код: case 2:        {            if(!response) return Kick(playerid);            if(!strlen(inputtext)) return ShowPlayerDialog(playerid,2,DIA...
168