Played Time won`t save.
#10

I dont use Timer anymore.
pawn Код:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
    INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Score",PlayerInfo[playerid][pScore]);
    INI_Int("Cash",PlayerInfo[playerid][pCash]);
    INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    INI_Int("Kills",PlayerInfo[playerid][pKills]);
    INI_Int("Deaths",PlayerInfo[playerid][pDeaths]);
    INI_Int("Banned",PlayerInfo[playerid][pBanned]);
    INI_Int("Cookies",PlayerInfo[playerid][pCookies]);
    INI_Int("Vip",PlayerInfo[playerid][pVip]);
    INI_Int("Seconds",PlayerInfo[playerid][pSeconds]);
    INI_Int("Minutes",PlayerInfo[playerid][pMinutes]);
    INI_Int("Hours",PlayerInfo[playerid][pHours]);
    return 1;
}
pawn Код:
if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COL_WHITE"Login",""COL_WHITE"Type your password below to login.","Login","Quit");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT,""COL_WHITE"Registering...",""COL_WHITE"Type your password below to register a new account.","Register","Quit");
    }
Reply


Messages In This Thread
Played Time won`t save. - by Audi_Quattrix - 26.01.2014, 14:25
Re: Played Time won`t save. - by Audi_Quattrix - 26.01.2014, 15:10
Re: Played Time won`t save. - by Audi_Quattrix - 26.01.2014, 17:03
Re: Played Time won`t save. - by Tamer - 26.01.2014, 17:08
Re: Played Time won`t save. - by Audi_Quattrix - 26.01.2014, 17:37
Re: Played Time won`t save. - by Tamer - 26.01.2014, 17:45
Re: Played Time won`t save. - by Audi_Quattrix - 26.01.2014, 20:35
Re: Played Time won`t save. - by Audi_Quattrix - 27.01.2014, 18:40
Re: Played Time won`t save. - by Shetch - 27.01.2014, 18:49
Re: Played Time won`t save. - by Audi_Quattrix - 27.01.2014, 19:28
Re: Played Time won`t save. - by Audi_Quattrix - 31.01.2014, 17:53

Forum Jump:


Users browsing this thread: 2 Guest(s)