How can I make this loop just once?
#4

Quote:
Originally Posted by Dokins
Посмотреть сообщение
It's a function and I call it at GMX (Restart) and OnPlayerDisconnect!

I agree with what you've said, thank you very much.
Yes, I suggest that you save only the player that disconnects on his or her disconnect from the server. Also, make a timer that would repeat every 5-10 minutes to save everyone's stats. You don't need to save anything on the OnGameModeExit callback because I think that players disconnect before the game mode is exited.
Reply


Messages In This Thread
How can I make this loop just once? - by Dokins - 12.08.2013, 00:53
Re: How can I make this loop just once? - by Dr.Einstein - 12.08.2013, 01:16
Re: How can I make this loop just once? - by Dokins - 12.08.2013, 01:21
Re: How can I make this loop just once? - by Dr.Einstein - 12.08.2013, 01:27
Re: How can I make this loop just once? - by Dokins - 12.08.2013, 15:19
Re: How can I make this loop just once? - by Scenario - 12.08.2013, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)