Mysql error variables
#1

Hi, I'm using "Mysql (R7)" for my server

When a player disconnects, saved your data (position, weapons, ammunition, life, life etc ...)

But when I restart the server using "rcon gmx" variables are set to "0"
(only happens with players online)

Then when enter the server, die and lose everything in the hospital appears as dead as normal


The only variables that are not put in "0" are name, id, password and money

But, position, life vest, weapons and others are set to 0


I tried with this

pawn Код:
public OnGameModeExit()
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            SaveAccount(i);
        }
    }
    return 1;
}
but just keeps happening

If I use the command "rcon exit" all data is stored
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)