19.11.2011, 12:46
pawn Код:
public Relatorio(COLOR,const string[],level)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new aname[MAX_PLAYER_NAME];
GetPlayerName(i, aname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
if(pAdmin[i] > 0 || vip[i] == 1)
{
SendClientMessage(i, COLOR, string);
GameTextForPlayer(i, "~r~Novo Report!" , 3000, 4);
PlayerPlaySound(i, 1057, 0, 0, 0);
}
}
}
return 1;
}