Help me to add these lines under ongamemodeinit();
#3

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:
pawn Код:
for(new v; v < MAX_PLAYERS; v++)
{
    if(IsPlayerConnected(v))
    {
              // Put the function here, and change all "playerid" for "v"
    }
}
Also, for be faster, foreach ****** inc would be good
Reply


Messages In This Thread
Help me to add these lines under ongamemodeinit(); - by WardenCS - 23.01.2011, 18:17
Re: Help me to add these lines under ongamemodeinit(); - by Marricio - 23.01.2011, 18:19
Re: Help me to add these lines under ongamemodeinit(); - by blackwave - 23.01.2011, 18:37

Forum Jump:


Users browsing this thread: 2 Guest(s)