13.03.2015, 15:55
Hello I have this /ooc command but I dont know how to make a /disableooc if anyone would be kind enough to help me out thanks in advance.
+rep to whoever fulfills my request.
Код:
CMD:ooc(playerid, params[]) { new sendername[MAX_PLAYER_NAME], string[56]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(isnull(params)) return SendClientMessage(playerid,-1, "*"COL_WHITE" /ooc [text] or /o [text]"); format(string, sizeof(string), "[GLOBAL CHAT]%s: %s", sendername, params); SendClientMessageToAll(-1, string); return 1; }