16.04.2014, 19:10
It's possible it sometimes cannot open a file and sometimes it can.
I'd recommend you not to use SaveZones function everytime a zone is taken because it might be called many times (with more players online). I'd recommend you to save them only in OnGameModeExit or OnFilterScriptExit if it's a filterscript. But in case you want to save them in case a crash occurs, a timer every hour or so would be just fine.
I'd recommend you not to use SaveZones function everytime a zone is taken because it might be called many times (with more players online). I'd recommend you to save them only in OnGameModeExit or OnFilterScriptExit if it's a filterscript. But in case you want to save them in case a crash occurs, a timer every hour or so would be just fine.