little help please.. - 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: little help please.. (
/showthread.php?tid=641987)
little help please.. -
Puff - 23.09.2017
PHP код:
if(GetPVarInt(playerid, "ConnectTime" < 25) || money > 1000) { //changes has been made here
SendClientMessage(playerid, X11_TOMATO_2, "You must be over 25 connect time to do this!");
return 1;
}
Im getting following error while compiling on that line^
PHP код:
error 001: expected token: "-string end-", but found "-identifier-"
Re: little help please.. -
oMa37 - 23.09.2017
PHP код:
GetPVarInt(playerid, "ConnectTime" < 25)
to
PHP код:
GetPVarInt(playerid, "ConnectTime") < 25