13.07.2012, 12:49
try this . .
pawn Код:
dcmd_announce(playerid,params[])
{
new string[128];
if(PInfo[playerid][Level] < 3) return SendClientMessage(playerid,red,"ERROR!");
if(sscanf(params, "s", string)) return SendClientMessage(playerid, COLOR_WHITE, "[USAGE]:/announce [text]");
format(string, sizeof(string), "~w~%s", string);
GameTextForAll(string, 4000, 3);
return 1;
}