getting error when i create command... - 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: getting error when i create command... (
/showthread.php?tid=617652)
getting error when i create command... -
XHunterZ - 24.09.2016
When i create a simple command like heal, it says undefined symbol cmd_heal..
Re: getting error when i create command... -
xPhantom - 24.09.2016
Does that occur when you compile your script?
Re: getting error when i create command... -
XHunterZ - 24.09.2016
yep..
Re: getting error when i create command... - Quinncell - 24.09.2016
Show us the code..do you even have the zcmd plugin included correctly?
Re: getting error when i create command... -
XHunterZ - 25.09.2016
Yes, of course i do have, btw under which callback am i supposed to make the command?
Re: getting error when i create command... -
GoldenLion - 25.09.2016
You don't create commands with ZCMD under any callbacks...
Re: getting error when i create command... -
Gotham - 25.09.2016
Quote:
Originally Posted by GoldenLion
You don't create commands with ZCMD under any callbacks...
|
Yes, you can't put it any callback.Either put if after one or at the bottom of your script
Re: getting error when i create command... - Quinncell - 25.09.2016
Like others said above, you can put the commands anywhere you want.Might showing us the command?
Re: getting error when i create command... -
XHunterZ - 26.09.2016
worked.