14.01.2012, 13:42
Код:
COMMAND:o(playerid, params[]) { new text[258]; if(!sscanf(params, "s", text)) { new name[MAX_PLAYER_NAME], string[350]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(text), "%s: [[%s]] ", name, text); SendClientMessageToAll(COLOR_WHITE, string); return 1; } else return SendClientMessage(playerid, COLOR_RED, "USAGE: /o [Text]"); }
Any idea?