SA-MP Forums Archive
expected token: "-identifier-", but found "-integer value-" - 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: expected token: "-identifier-", but found "-integer value-" (/showthread.php?tid=487409)



expected token: "-identifier-", but found "-integer value-" - Player23 - 13.01.2014

Its Coming On 12029 here is the line
PHP код:
    new cash =  GetPlayerMoney(playerid); 
And It Shows Error when Compiling

PHP код:
(12029) : error 001expected token"-identifier-"but found "-integer value-" 
if you help me i will rep+


Re: expected token: "-identifier-", but found "-integer value-" - UnknownOwner - 13.01.2014

Show some lines around it.


Re: expected token: "-identifier-", but found "-integer value-" - amirab - 13.01.2014

you can define it like it at the top use it everywhere you want
PHP код:
#define Cash  GetPlayerMoney(playerid) 



Re: expected token: "-identifier-", but found "-integer value-" - Player23 - 13.01.2014

Done Thanks To amirab +rep