27.10.2013, 09:49
Try this
Код:
CMD:shout(playerid, params[]) { new string[128],shout[100]; if(sscanf(params, "s[100]", shout)) { SendClientMessage(playerid, -1, ""chat" /(s)hout [message]"); return 1; } else { format(string, sizeof(string), "%s shouts: %s!",PlayerName(playerid),shout); ProxDetector(80.0, playerid, string, COLOR_GREY); } return 1; }