Is There a way so i can execute my db save ongamemodeexit
#1

as title says i want to execute the DB save function ongamemodeexit so if the server is closed no player data loses

i tried this but it does not work

pawn Код:
public OnGameModeExit()
{
    foreach (new i : Player)
    {  
        if(pInfo[i][prSTEP] > 0)
        {
            getPlayerStats(i);
            save_cDATA(i);
        }
    }
    UnINIT_DB();   
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)