SA-MP Forums Archive
error 029: invalid expression, assumed zero - 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: error 029: invalid expression, assumed zero (/showthread.php?tid=610618)



error 029: invalid expression, assumed zero - YoussefHammad - 26.06.2016

Код:
if(pInfo[playerid][Admin]<3)) SendClientMessage(playerid, RED, "<!>You're not authorized to use this command!");
how to solve this ? Thanks


Re: error 029: invalid expression, assumed zero - Konstantinos - 26.06.2016

Код:
if(pInfo[playerid][Admin]<3))
Remove the red parentheses.


Re: error 029: invalid expression, assumed zero - YoussefHammad - 26.06.2016

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Код:
if(pInfo[playerid][Admin]<3))
Remove the red parentheses.
wow i didnt notice that, i feel stupid now xD , thanks

EDIT: Repped