13.07.2012, 12:46
Use SendClientMessageToAll and put the ";" missing at the end of the function
pawn Код:
dcmd_announce(playerid,params[])
{
new text[128],string[128];
if(PInfo[playerid][Level] < 3) return SendClientMessage(playerid,red,error);
if(sscanf(params,"s[128]",text)) return SendClientMessage(playerid,green2,"USAGE: "lyellow2"/announce <message>");
format(string,sizeof(string),"%s announced: %s",text);
SendClientMessageToAll(-1, string);
GameTextForAll(string,4000,3);
return 1;
}