26.03.2012, 18:30
i change to this
but still have same eror : error 017: undefined symbol "PlayerInfo"
Код:
forward MessageToAdmins(color,const string[]);
public MessageToAdmins(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if (PlayerInfo[playerid][pAdmin] >= 1 || IsPlayerConnected(i))// replace the variable and the value by your variable by default
{
SendClientMessage(i, color, string);
}
}
return 1;
}

