Problem with dialog box in dmv system
#4

you right, i now see

Код:
#define DIALOG_REGISTER 1
#define DIALOG_LOGIN 2
#define DIALOG_SUCCESS_1 3
#define DIALOG_SUCCESS_2 4
And other ask, why when i'm exit my money was reset?

Код:
public OnPlayerDisconnect(playerid, reason)
{
    new INI:File = INI_Open(UserPath(playerid));
    INI_SetTag(File,"data");
    INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
    INI_WriteInt(File,"Admin",PlayerInfo[playerid][pAdmin]);
    INI_WriteInt(File,"Kills",PlayerInfo[playerid][pKills]);
    INI_WriteInt(File,"Deaths",PlayerInfo[playerid][pDeaths]);
    INI_WriteInt(File,"pCarLic",PlayerInfo[playerid][pCarLic]);
    INI_Close(File);
    return 1;
}
Reply


Messages In This Thread
Problem with dialog box in dmv system - by moof2010 - 08.11.2013, 19:24
Re: Problem with dialog box in dmv system - by KevinPRINCE - 08.11.2013, 19:30
Re: Problem with dialog box in dmv system - by MyLife - 08.11.2013, 19:52
Re: Problem with dialog box in dmv system - by moof2010 - 08.11.2013, 20:00

Forum Jump:


Users browsing this thread: 2 Guest(s)