Some Questions [SQLite]
#2

I think(not sure) that,

pawn Код:
public OnFilterScriptExit()
{
    for(new i; i != MAX_PLAYERS; i++) OnPlayerDisconnect(i, 1);
    db_close(Database);
    return 1;
}
will save the stats in the "Database" for all the players when they leave. the ( i ) is representing the whole players in the server.
Reply


Messages In This Thread
Some Questions [SQLite] - by Glint - 12.09.2012, 06:53
Re: Some Questions [SQLite] - by Guitar - 12.09.2012, 06:54
Re: Some Questions [SQLite] - by [HiC]TheKiller - 12.09.2012, 07:01
Re: Some Questions [SQLite] - by Lorenc_ - 12.09.2012, 07:01
Re: Some Questions [SQLite] - by Glint - 12.09.2012, 07:07

Forum Jump:


Users browsing this thread: 1 Guest(s)