20.11.2011, 00:29
pawn Код:
dcmd_relatorio(playerid,params[])
{
new Texto[128];
new string[256];
if(sscanf(params, "s[128]", Texto))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) return 1;
SendClientMessage(i,0xDCDCDCAA,string);
}
}
return 1;
}