Why every time I relog my VIP is removed?
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
If you're not storing it in permanent storage (i.e. files or database) then of course you're going to lose that data.
Of-course I'm...

I'm save
Код:
    mysql_format(ConnectMYSQL, query, sizeof(query), "UPDATE `accounts` SET `DP` = '%d', `VIP` = '%d', `fmembro` = '%d', `preso` = '%d', `presotime` = '%d', `expirarVIP` = '%d', `carid` = '%d', `playerlskin` = '%d', `job` = '%d', `org` = '%d', `carpos0` = '%f', `carpos1` = '%f', `carpos2` = '%f', `carpos3` = '%f', `playerlpos0` = '%f', `playerlpos1` = '%f', `playerlpos2` = '%f', `playerlpos3` = '%f' WHERE Username = '%s'",
    DP[playerid],
    VIP[playerid],
    fmembro[playerid],
    preso[playerid],
    presotime[playerid],
    expirarVIP[playerid],
    carid[playerid],
	playerlskin[playerid],
	job[playerid],
	org[playerid],
    carpos[playerid][0],
    carpos[playerid][1],
    carpos[playerid][2],
    carpos[playerid][3],
    playerlpos[playerid][0],
    playerlpos[playerid][1],
    playerlpos[playerid][2],
    playerlpos[playerid][3],
    GetName(playerid));
    mysql_pquery(ConnectMYSQL, query);
I'm load
Код:
int_dest[15] = cache_get_field_content_int(0, "expirarVIP");     		expirarVIP[playerid] = int_dest[15];
And in mysql is a INT(10)
Код:
21	expirarVIP	int(10)
Reply


Messages In This Thread
Why every time I relog my VIP is removed? - by maikons - 24.07.2016, 19:00
Re: Why every time I relog my VIP is removed? - by Freaksken - 24.07.2016, 20:48
Re: Why every time I relog my VIP is removed? - by maikons - 25.07.2016, 17:28
Re: Why every time I relog my VIP is removed? - by Vince - 25.07.2016, 19:31
Re: Why every time I relog my VIP is removed? - by maikons - 26.07.2016, 18:45
Re: Why every time I relog my VIP is removed? - by Dutheil - 26.07.2016, 18:54
Re: Why every time I relog my VIP is removed? - by maikons - 27.07.2016, 05:34
Re: Why every time I relog my VIP is removed? - by maikons - 28.07.2016, 16:23
Re: Why every time I relog my VIP is removed? - by maikons - 29.07.2016, 15:17
Re: Why every time I relog my VIP is removed? - by Logic_ - 29.07.2016, 16:35

Forum Jump:


Users browsing this thread: 2 Guest(s)