Search Results
pawn Code: for(new i=0; i<MAX_VEHICLES; i++) {         if(IsPlayerNearVehicle(playerid, i, 2) && IsLSFMDVehicle(i))         {                 ambulance++;            ...
241
SetPlayerHealth(playerid, - 10); It's because you're setting playerid's HP to -10, not subtracting 10. The guy above me gave you the correct code.
77
Create an include file and put this in it. AnimationPreload.inc or something http://pastebin.com/CwiF9J0E At the top of your gamemode, include it. #include <AnimationPreload.inc> #include "An...
1,061
Are you sure that the animation library is preloaded for the players? I could show you how to do that once I'm home.
1,061
Post your version of this code. Post your OnPlayerConnect and other functions.
139
Ok, that I understand. But I need you to tell me what happens. Does the player who wrote the command see it? Does only one admin see it? Does nobody see it? Etc. What happens when you do [t/a Hello!...
180
Please elaborate? If I did [/a Hello!], what would happen?
180
^ ^ He's right. In other words pawn Код: mybriefcase = CreatePickup(1210, 1, 223.9407, 1860.5116, 13.1470, 0);mybriefcase = CreatePickup(1210, 1, -233.7510, 2654.8472, 62.6379, 0);mybriefcase = C...
71
Put it under OnPlayerStateChange and then under the newstate=driver That way, the text draws will only show once he is the driver. If you do it under OnPlayerEnterVehicle, they will show once your ch...
124
pawn Код: new code[200];format(code, sizeof(code), "%s[%i] = CreateObject(%i, %f, %f, %f, %f, %f, %f);\r\n",inputtext, counter, oInfo[playerid][i][modelID], oInfo[playerid][i][XLoc], oInfo[playeri...
104