HELP!!!!!!!!!!
#3

Well, OnGameModeExit doesn't have playerid defined. So you cannot use it there.

If you still want to do something, Try this method:

pawn Код:
public OnGameModeExit()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && !IsPlayerNPC(i))
        {
            // Put your hings here and replace "playerid" with "i".
        }
    }
}
But i think, putting SetPlayerTeamFromClass would barely do anything there..
Reply


Messages In This Thread
HELP!!!!!!!!!! - by Loading... - 26.06.2011, 23:15
Re: HELP!!!!!!!!!! - by linuxthefish - 26.06.2011, 23:21
Re: HELP!!!!!!!!!! - by iPLEOMAX - 26.06.2011, 23:23

Forum Jump:


Users browsing this thread: 1 Guest(s)