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: Invalid Expression assumed Zero (
/showthread.php?tid=416987)
Invalid Expression assumed Zero -
Blackazur - 19.02.2013
~Buhai fixed~
Re: Invalid Expression assumed Zero -
Jstylezzz - 19.02.2013
I also had this when I placed a CMD: at the bottom of my script (or something), try to cut/paste your code in the middle of the script.
If the problem persists, try commenting the OnPlayerCommandText callback, since you have to use either the standard command processor, or (in your case) zcmd.. Maybe they conflict with eachother..
If you already have some working zcmd commands, try placing this CMD above or below it.
Also, make sure the include is up to date (I know, this is very rare for zcmd, but you might want to check it anyways).
AW: Invalid Expression assumed Zero -
Blackazur - 19.02.2013
The problem is when i delete this cmd the problem come on the other cmds. it is since i had bracket errors, and i have fixing this errors, and now this error come.
Re: Invalid Expression assumed Zero -
Jstylezzz - 19.02.2013
Do you still have the OnPlayerCommandText callback in your script?
AW: Invalid Expression assumed Zero -
Blackazur - 19.02.2013
No i dont have. i have added it it still work not.
Re: Invalid Expression assumed Zero -
Jstylezzz - 19.02.2013
If you checked everything I wrote in my fist post, I think the bracket problem is still there..
AW: Invalid Expression assumed Zero -
Blackazur - 19.02.2013
But what should i do?
Re: Invalid Expression assumed Zero -
Jstylezzz - 19.02.2013
If I'm not mistaking, there is a tool that checks the missing brackets..
Not sure if you tried it already, so take a look if you haven't already:
Missing bracket finder 2 - by Kush