23.01.2011, 18:37
Unless you're reloading the server, this functions would have sense to be used there. As marricio said, can't be used on OnGameModeInit. But you could check the players which have these conditions, and process the information. Like:
Also, for be faster, foreach ****** inc would be good
pawn Код:
for(new v; v < MAX_PLAYERS; v++)
{
if(IsPlayerConnected(v))
{
// Put the function here, and change all "playerid" for "v"
}
}