Search Results
You forgot the space between VALUES and ( Код: INSERT INTO autod (autoid, myygis, omanik, v2rv1, v2rv2, pargitudX, pargitudY, pargitudZ, parkimisangle, model, poesmyygis) VALUES (1, 0, %s, 1, 1, -...
256
You could try a timer that checks what weapons the player has if they are spawned.
190
They can't be in 2 places at once, try pawn Код: if (strcmp(cmd, "/buy", true) == 0){    if(IsPlayerInRangeOfPoint(playerid, 5.0, 1566.8317, -1691.0072, 5.8906) || IsPlayerInRangeOfPoint(playeri...
177
You can't remove players from vehicles under OnPlayerEnterVehicle, you need to use OnPlayerStateChange like this pawn Код: public OnPlayerStateChange(playerid, newstate, oldstate){    if(oldstat...
301
You can use sscanf to check if they entered an id. pawn Код: if(sscanf(params, "u", id)){    //They didn't enter an id, use loop or something to find nearest player}else{    //They entered an ...
165
Remove the last return 1; as it will never be used.
136
You need to port forward so your friends can access it.
449
This should fix it pawn Код: new string[512];for(new model=508;model<471;model++){     format(string, 512, "%s"#orange"%s\n",string,VehicleNames[model-400]);}ShowPlayerDialog(playerid, ..., ...
178
https://sampforum.blast.hk/showthread.php?tid=345747
181
/pagesize [amount up to 20]
179
Make sure there aren't any vehicles already spawning in them positions.
165
It is case-sensitive. This should work pawn Код: public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, "/FBIGATE", true) == 0){    if(IsPlayerInRangeOfPoint(playerid,9,1589.00000000...
197
You need to check that issuerid is a valid playerid. pawn Код: public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid){    if(issuerid != INVALID_PLAYER_ID)    {    if(PlayerT...
147
Should be if(vehworld == 63 || vehworld == 65)
184
You need to check if they are in a car or it tries to get VehicleName[-400]
175
SetPlayerHoldingObject was removed in 0.3c instead use SetPlayerAttachedObject.
129
That is because that function doesn't exist in SA-MP or any plugins on your server. Natives are functions that are defined in the sa-mp server or plugins, and not the script.
150
pawn Код: public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid){    new Float:Damage;    GetPlayerArmour(damagedid, Damage);    if(Damage > 0)    {        if(amoun...
116
Do you mean something like this pawn Код: public GivePlayerValidWeapon(playerid, weaponid, ammo){    if(unlimitedammo == 1)    {        GivePlayerWeapon(playerid, weaponid, 99999);    }Â...
531