14.10.2013, 21:47
pawn Код:
dcmd_announce(playerid,params[])
{
if(PlayerInfo[playerid][Level] >= 1 || IsPlayerAdmin(playerid))
{
if(!strlen(params)) return SendClientMessage(playerid,red,"USAGE: /announce <text>");
CMDMessageToAdmins(playerid,"ANNOUNCE");
return GameTextForAll(params, 9000, 0);
} else return SendClientMessage(playerid,red,"Unknown command. Type /cmds to see a list of available commands.");
}