08.02.2018, 23:38
PHP код:
for(new i = 0; i < MAX_PLAYERS; i++)
Also going to give you a quick suggestion, there's a better way on sending a message to administrators.
You can just create a stock and then use it everytime you want to send a message to online admins.
Example:
PHP код:
stock SendAdminMessage(color, string[])
{
foreach(Player, i)
{
if(PlayerInfo[i][pAdmin] >= 1)
{
SendClientMessage(i, color, string);
}
}
}