Why this -identifer- it's rezerved ? - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Why this -identifer- it's rezerved ? (
/showthread.php?tid=70553)
Why this -identifer- it's rezerved ? -
Danut - 25.03.2009
Hello guys. I've found a "bug" .. ( I don't know if it is a bug , but needs attention ) . If you try to define a variable , with the name state , you'll get errors. Why ?
Example :
pawn Код:
//top of script
new state;
Error
D:\MoroJr\MoroJr S\gamemodes\morojr.pwn(89) : error 020: invalid symbol name ""
D:\MoroJr\MoroJr S\gamemodes\morojr.pwn(55782) : warning 203: symbol is never used: ""
Re: Why this -identifer- it's rezerved ? -
Dujma - 25.03.2009
Quote:
Originally Posted by MoroJr™
Hello guys. I've found a "bug" .. ( I don't know if it is a bug , but needs attention ) . If you try to define a variable , with the name state , you'll get errors. Why ?
Example :
pawn Код:
//top of script new state;
Error
D:\MoroJr\MoroJr S\gamemodes\morojr.pwn(89) : error 020: invalid symbol name ""
D:\MoroJr\MoroJr S\gamemodes\morojr.pwn(55782) : warning 203: symbol is never used: ""
|
Probably because that is reserved word in pawno
Like you cant put this
EDIT: I did not see the subject of topic. You are asking why is this reserverd. I have no idea
Re: Why this -identifer- it's rezerved ? -
Danut - 25.03.2009
I saw it's rezerved , but i don't know why ...
GetPlayerState