Help with save DATA dini
#10

Quote:
Originally Posted by LarzI
Посмотреть сообщение
Try adding this to "OnGameModeExit()"

pawn Код:
foreach(Player, i) //use a for loop if you don't have foreach
{
    if( IsPlayerConnected( i ))
    {
        //save stats for each player
    }
}
I think foreach already checks if the player is connected so you don't have to put another check
Reply


Messages In This Thread
Help with save DATA dini - by martynas - 27.09.2010, 11:15
Re: Help with save DATA dini - by LarzI - 27.09.2010, 11:47
Re: Help with save DATA dini - by martynas - 29.09.2010, 05:34
Re: Help with save DATA dini - by LarzI - 29.09.2010, 06:22
Re: Help with save DATA dini - by martynas - 30.09.2010, 08:10
Re: Help with save DATA dini - by LarzI - 30.09.2010, 08:31
Re: Help with save DATA dini - by martynas - 30.09.2010, 08:43
Re: Help with save DATA dini - by martynas - 30.09.2010, 08:46
Re: Help with save DATA dini - by LarzI - 30.09.2010, 08:54
Re: Help with save DATA dini - by Retardedwolf - 30.09.2010, 08:55

Forum Jump:


Users browsing this thread: 2 Guest(s)