15.04.2013, 12:37
Hey I'm working on Calgon base mysql script and I'm trying to make autosave in OnGameModeExit
like when the server crashes or shutdown by closing the CMD window or by using /rcon gmx
its will automatic save the player data.
I tried to do this:
and when I'm login its spawn me at the air above the farm at blueberry.
anyone can help me please?
Thanks FuznesS.
like when the server crashes or shutdown by closing the CMD window or by using /rcon gmx
its will automatic save the player data.
I tried to do this:
PHP код:
OnGameModeExit() {
for (new i = 0; i != MAX_PLAYERS; ++i)
{
savePlayer(i);
}
mysql_close(iConnectionHandle);
return 1;
}
anyone can help me please?
Thanks FuznesS.