Unknown command
#1

Код:
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?
Reply
#2

are you also using zcmd?
Reply
#3

i removed zcmd and all commands works now! thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)