23.09.2017, 11:19
Код:
COMMAND:asay(playerid, params[]) { if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "You're not allowed to use this command"); new input[100], message[250]; if(sscanf(params, "s[100]", input)) return SendClientMessage(playerid, COLOR_WHITE, "{FF6600}Usage: {FFFFFF}/asay [message]"); format(message, sizeof(message), "{3604FF}[ADMIN] {FFFFFF}%s", input); SendClientMessageToAll(COLOR_WHITE, message); return 1; }