SA-MP Forums Archive
Help, FRIGGIN ZCMD ! - 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: Help, FRIGGIN ZCMD ! (/showthread.php?tid=346911)



Help, FRIGGIN ZCMD ! - DeadDon - 30.05.2012

Hi guys,
I really need help! This is my first time I am doing zcmd commands, and now when I went step by step at the tutorial and started tu put a command like this:
Код:
CMD:createhouse(playerid,params[])
I get ERRORS like this:
Код:
error 029: invalid expression, assumed zero
error 017: undefined symbol "cmd_createhouse"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Please help, because I have started to go crazy.


EDIT: I have all the needed includes in my script and in the include folder.


Re: Help, FRIGGIN ZCMD ! - ViniBorn - 30.05.2012

Remove the command from OnPlayerCommandText


Re: Help, FRIGGIN ZCMD ! - DeadDon - 30.05.2012

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Remove the command from OnPlayerCommandText
What command?
This is my only command.


Re: Help, FRIGGIN ZCMD ! - newbienoob - 30.05.2012

Put
pawn Код:
CMD:createhouse(playerid,params[])
anywhere. Outside of any callbacks.


Re: Help, FRIGGIN ZCMD ! - DeadDon - 30.05.2012

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
Put
pawn Код:
CMD:createhouse(playerid,params[])
anywhere. Outside of any callbacks.
THANK YOU SO F* MUCH! I LOVE YOU MAN!