Data Saving problem
#6

Not a big deal, pal.

Code:
ResetPlayer(playerid)
{
    PlayerInfo[playerid][pCash] = 0;
    PlayerInfo[playerid][pAdmin] = 0;
    PlayerInfo[playerid][pKills] = 0;
    PlayerInfo[playerid][pDeaths] = 0;
    PlayerInfo[playerid][pWantedLevel] = 0;
    PlayerInfo[playerid][pVip] = 0;
    PlayerInfo[playerid][pScore] = 0;
    PlayerInfo[playerid][pCondoms] = 0;

    //... add more here and ALWAYS use this AFTER SavePlayer(playerid);
    return 1;
}
Still, it doesn't do any harm, don't take it too serious just because someone created a topic about it, stay cool.
Reply


Messages In This Thread
Data Saving problem - by CarRamper - 15.06.2016, 08:55
Re: Data Saving problem - by 1nspire - 15.06.2016, 09:24
Re: Data Saving problem - by CarRamper - 15.06.2016, 09:36
Re: Data Saving problem - by 1nspire - 15.06.2016, 10:14
Re: Data Saving problem - by Dayrion - 15.06.2016, 10:44
Re: Data Saving problem - by 1nspire - 15.06.2016, 12:23
Re: Data Saving problem - by CarRamper - 15.06.2016, 12:44
Re: Data Saving problem - by CarRamper - 15.06.2016, 12:46

Forum Jump:


Users browsing this thread: 2 Guest(s)