Question about OnGameModeExit
#1

Hello guys,
I have one question.I have houses/biz and another things in my server and I maked this things in OnGameModeExit to be saved.But when I turn my server off it write that requires little time to save all things in OnGameModeExit.My question is how to make the server how to do to be saved instantly without delaying surgery?

Thanks in advanced and sorry for my bad english
Reply
#2

You may create a function to save everything before you finally shut the server down. However, it must be a lot of stuff to save that it takes 'some' time. Are you sure that you aren't able to improve your script?
Reply
#3

This is what I have in OnGameModeExit
Can you explain me how to make to be fast restart not slow?

pawn Код:
public OnGameModeExit()
{
    SaveAccounts();
    SaveHouses();
    SaveBizzes();
    SaveMissions();
    SaveFuels();
 return 1;
}
Reply
#4

You can't change the GMX delay.
Reply
#5

But in Raven's Roleplay is same work.It's have more things to saving and when you off your server the mod immediately stops.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)