Scores Not saving
#3

Quote:
Originally Posted by malackovgfx
Посмотреть сообщение
Can you show us your OnPlayerDisconnect ?
PHP код:
ppublic OnPlayerDisconnect(playeridreason)
{
    new 
INI:File INI_Open(UserPath(playerid));
    
INI_SetTag(File,"data");
    
INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
    
INI_WriteInt(File,"Scores",PlayerInfo[playerid][pScores]);
    
INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
    
INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
    
INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
    
INI_WriteInt(File,"VIP",PlayerInfo[playerid][pVIP]);
    
INI_Close(File);
    return 
1;

Reply


Messages In This Thread
Scores Not saving - by Rissam - 08.02.2015, 10:36
Re: Scores Not saving - by malackovgfx - 08.02.2015, 10:44
Re: Scores Not saving - by Rissam - 08.02.2015, 10:47
Re: Scores Not saving - by CalvinC - 08.02.2015, 10:48
Re: Scores Not saving - by malackovgfx - 08.02.2015, 10:50
Re: Scores Not saving - by Rissam - 08.02.2015, 10:51
Re: Scores Not saving - by Rissam - 08.02.2015, 10:55
Re: Scores Not saving - by Rissam - 09.02.2015, 11:22
Re: Scores Not saving - by De4dpOol - 09.02.2015, 11:42
Re: Scores Not saving - by Rissam - 10.02.2015, 05:56

Forum Jump:


Users browsing this thread: 4 Guest(s)