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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Unknown command (
/showthread.php?tid=251442)
Unknown command -
Hawkz_Ryder - 27.04.2011
Код:
if(strcmp(cmdtext, "/cj", true) == 0)
{
if(GetPVarInt(playerid, "Admin") == 1)
{
SendClientMessage(playerid, 0xFF0000AA, " *** SERVER: You changed your skin to cj!");
SetPlayerSkin(playerid, 0);
}
else
{
SendClientMessage(playerid, 0xFF0000AA, " *** ERROR: You are not 1 level admin!");
}
return 1;
}
when i write /cj it shows me ''unknown command''. where the problem?
EDIT: server shows unknown command on all commands. what can be the problem?
Re: Unknown command -
TheYoungCapone - 27.04.2011
are you also using zcmd?
Re: Unknown command -
Hawkz_Ryder - 27.04.2011
i removed zcmd and all commands works now! thanks!