SA-MP Forums Archive
Pawn Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Pawn Error (/showthread.php?tid=597440)



Pawn Error - parlak58 - 31.12.2015

Код:
(13875) : error 029: invalid expression, assumed zero
(13875) : warning 215: expression has no effect
(13875) : error 001: expected token: ";", but found ")"
(13875) : error 029: invalid expression, assumed zero
(13875) : fatal error 107: too many error messages on one line
13875.

Код:
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER) return SendClientMessage(playerid, RED, "Animasyonu Aracdayken yapamazsiniz.");
Please Help


Re: Pawn Error - yvoms - 31.12.2015

Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER) return SendClientMessage(playerid, RED, "Animasyonu Aracdayken yapamazsiniz.");
No space between if(Get.... etc)


Re: Pawn Error - finelaq - 31.12.2015

The code you gave is working perfect.