24.10.2015, 05:10
Код:
stock SendClientMessageEx(playerid, color, string[]) { if(InsideMainMenu{playerid} == 1 || InsideTut{playerid} == 1 || ActiveChatbox[playerid] == 0) return 0; else SendClientMessage(playerid, color, string); return 1; } stock SendClientMessageToAllEx(color, string[]) { foreach(new i: Player) { if(InsideMainMenu{i} == 1 || InsideTut{i} == 1 || ActiveChatbox[i] == 0) {} else SendClientMessage(i, color, string); } return 1; }