MYSQL not saving data
#2

Код:
new DB_Query[550];
mysql_format(Database, DB_Query, sizeof(DB_Query), "UPDATE `accounts` SET `Level` = '%d', `VIP` = '%d', `KILLS` = '%d', `DEATHS` = '%d', `BANNED` = '%d' WHERE `ID` = %d LIMIT 1",
PlayerInfo[playerid][Level], PlayerInfo[playerid][VIP], PlayerInfo[playerid][Kills], PlayerInfo[playerid][Deaths], PlayerInfo[playerid][Banned], PlayerInfo[playerid][ID]);

mysql_tquery(Database, DB_Query);

if(cache_is_valid(PlayerInfo[playerid][Player_Cache]))
{
	cache_delete(PlayerInfo[playerid][Player_Cache]);
	PlayerInfo[playerid][Player_Cache] = MYSQL_INVALID_CACHE;
}
Reply


Messages In This Thread
MYSQL not saving data - by RowdyrideR - 07.01.2018, 23:22
Re: MYSQL not saving data - by Bolex_ - 08.01.2018, 11:06
Re: MYSQL not saving data - by RowdyrideR - 08.01.2018, 16:20
Re: MYSQL not saving data - by alanhutch - 08.01.2018, 19:04
Re: MYSQL not saving data - by DaniceMcHarley - 08.01.2018, 19:24
Re: MYSQL not saving data - by RowdyrideR - 09.01.2018, 22:11
Re: MYSQL not saving data - by jollyjoe321 - 09.01.2018, 22:14
Re: MYSQL not saving data - by RowdyrideR - 09.01.2018, 22:27
Re: MYSQL not saving data - by jollyjoe321 - 09.01.2018, 23:15
Re: MYSQL not saving data - by RowdyrideR - 10.01.2018, 00:59

Forum Jump:


Users browsing this thread: 1 Guest(s)