19.11.2011, 20:23
pawn Код:
dcmd_relatorio(playerid,params[])
{
new Texto[128];
new string[256];
new Texto=strval(params);
if(!strlen(params))return SendClientMessage(playerid, 0xDCDCDCAA, "Use: /relatorio [Texto]");
format(string,256,"[Relatorio] %s: %s",Nome(playerid),Texto);
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i) && Admin[i] >= 1)
SendClientMessage(i,0xDCDCDCAA,string);
}
}
return 1;
}