SERVER: Unknown 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: SERVER: Unknown Command (
/showthread.php?tid=360668)
SERVER: Unknown Command -
Spooted - 18.07.2012
I started using ZCMD today, but when I type in a command (any command) it gives me: 'SERVER: Unknown Command'.
A command for example:
Код:
CMD:HealMe(playerid, params[])
{
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
return 1;
}
Re: SERVER: Unknown Command -
tyler12 - 18.07.2012
Put it outside of everything. U dont need onplayercommandtext
Re: SERVER: Unknown Command -
Spooted - 18.07.2012
I don't use OnPlayerCommandText.
Re: SERVER: Unknown Command -
Spooted - 18.07.2012
Anyone?
Re: SERVER: Unknown Command -
Spooted - 18.07.2012
Please, I need this urgently.
Re: SERVER: Unknown Command -
ZBits - 18.07.2012
show us your script
Re: SERVER: Unknown Command -
IstuntmanI - 18.07.2012
You have to use only lower case letters,
Код:
CMD:healme( playerid, params[ ] )
not
Код:
CMD:HealMe( playerid, params[ ] )
Also don't 2x + post.
Re: SERVER: Unknown Command -
Spooted - 18.07.2012
Quote:
Originally Posted by costel_nistor96
You have to use only lower case letters,
Код:
CMD:healme( playerid, params[ ] )
not
Код:
CMD:HealMe( playerid, params[ ] )
Also don't 2x + post.
|
Wow, you're a life saver.
Thank you very much!