07.10.2013, 12:35
pawn Code:
dcmd_ann(playerid,params[])
{
#pragma unused params
new string[128], message[128];
if(PlayerInfo[playerid][Level] < 3) return SendClientMessage(playerid,COLOR_WHITE,"{FF0000}[ERROR] {FFFFFF}You don't have an appropriate administration level to use this command.");
if(sscanf(params, "u", message)) return SendClientMessage(playerid,COLOR_WHITE,""COL_ORANGE"[USAGE] {FFFFFF}/ann(ounce) [MESSAGE]");
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
format(string,sizeof(string),"%s",message);
GameTextForPlayer(playerid,params,4000,5);
}
}
return 1;
}