26.07.2014, 00:03
I cant figure out why its doing this...
Even though the command works it still says "Unknown Command".
Anyone see the problem?
Even though the command works it still says "Unknown Command".
Anyone see the problem?
Код:
CMD:am(playerid, params[]) { if(pInfo[playerid][pAMMute] == 0) { new text, str[128]; if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_GREY, "USAGE: /am [text]"); format(str, sizeof(str), "%s [ID: %i] : %s", GetName(playerid), playerid, text); SendClientMessageToAdmins(COLOR_ORANGE, str, 1); SendClientMessage(playerid, COLOR_ORANGE, "Admin message sent."); } else return SendClientMessage(playerid, COLOR_ORANGE, "You have been muted from using am."); return 1; }