11.02.2011, 21:05
pawn Код:
dcmd_ann(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOUR_ADMIN, "Authority Level Required");
if(!strlen(params)) return SendClientMessage(playerid, COLOUR_ADMIN, "Usage: /ann [message]");
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GameTextForPlayer(i, params, 10000, 5);
}
}
return 1;
}