public ReportBroadCast(color,const string[],level)
{
for(new i = 0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pAdmin] >= level)
{
if(!gReports[i])
{
SendClientMessage(i, color, string);
printf("%s", string);
}
}
}
}
return 1;
}
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;
}
: error 029: invalid expression, assumed zero
: warning 215: expression has no effect
: error 001: expected token: ";", but found ")"
: error 029: invalid expression, assumed zero
: fatal error 107: too many error messages on one line
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;
}
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;
}
|
pawn Код:
[pAdmin] >= level) || PlayerInfo[i] Hopefully that should work ![]() |
!