Hello,
i am currently working on a small mission with a persistent map. The players and vehicles are saved into a mysql database. Everytime i saving a player, there is a short moment of stuttering of the game (around 0,5sec). It is very annoying if i save each player every 5 seconds.
Now i asking myself if there are events that i can register my save function to. I've tried the OnPlayerDisconnect and HandleDisconnect events -> None of them works.
My save function needs the player object as a parameter.
Is there someone who can give me an advice?
Thanks.