07.06.2013, 23:36
pawn Код:
public ReportBroadCast(color,const string[],level)
{
for(new i = 0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pAdmin] >= level || PlayerInfo[i][pHelper] >= level)
{
if(!gReports[i])
{
SendClientMessage(i, color, string);
printf("%s", string);
}
}
}
}
return 1;
}
[pAdmin] >= level) || PlayerInfo[i]
Hopefully that should work