26.07.2016, 18:45
Quote:
If you're not storing it in permanent storage (i.e. files or database) then of course you're going to lose that data.
|
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);
Код:
int_dest[15] = cache_get_field_content_int(0, "expirarVIP"); expirarVIP[playerid] = int_dest[15];
Код:
21 expirarVIP int(10)