SA-MP Forums Archive
im doing the CMD using Zcmd , and everything is good and right, when i do compile this error appear invalid function.... - 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: im doing the CMD using Zcmd , and everything is good and right, when i do compile this error appear invalid function.... (/showthread.php?tid=587679)



im doing the CMD using Zcmd , and everything is good and right, when i do compile this error appear invalid function.... - astanalol - 01.09.2015

the error is

invalid function or declaration

my CMD

CMD:armour(playerid, params[]);
(
SetPlayerArmour(playerid,100);
SendClientMessage(playerid, COLOR_YELLOW2, "You have been armoured!");
return 1;
)

SO WHAT IS THE PROBLEM ??
need serious help im new


Re: im doing the CMD using Zcmd , and everything is good and right, when i do compile this error appear invalid function - MarvinPWN - 01.09.2015

PHP код:
CMD:armour(playeridparams[]); 
to
PHP код:
CMD:armour(playeridparams[]) 



Re: im doing the CMD using Zcmd , and everything is good and right, when i do compile this error appear invalid function - astanalol - 01.09.2015

much thanks bro . it worked