error 001: expected token: "-string end-", but found "-identifier-" - 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 001: expected token: "-string end-", but found "-identifier-" (
/showthread.php?tid=522913)
error 001: expected token: "-string end-", but found "-identifier-" -
Riwerry - 29.06.2014
pawn Код:
return CallLocalFunction(prikaz, "is", playerid, !cmdtext[pozicia + 1] ? "\1" : cmdtext[pozicia + 1]);
I've tried this
pawn Код:
return CallLocalFunction(prikaz, "is", playerid, !cmdtext[pozicia + 1] ? '\1' : cmdtext[pozicia + 1]);
But it only sends first char
And when player types:
/command *SPACE*abc string won't be null