Rank help
#2

Код:
mysql_format(g_SQL, query, sizeof query, "UPDATE `players` SET `Kills` = %d,`Deaths` = %d,`Score` = %i,`Money` = %i, `Level` = %d,`Cookies` = %d, `Warns` = %d, `Vip` = %d, `Banned` = %d, `Rank` = '%s' WHERE `id` = %d LIMIT 1",
	Player[playerid][Kills],
	Player[playerid][Deaths],
	GetPlayerScore(playerid),
	GetPlayerMoney(playerid),
	Player[playerid][Level],
	Player[playerid][Cookies],
	Player[playerid][Warns],
	Player[playerid][Vip],
	Player[playerid][Banned],
	gRank[rankName],
	Player[playerid][ID]);
There's a mistake and you have to enclose string in your query.
Reply


Messages In This Thread
Rank help - by Face9000 - 22.03.2017, 00:58
Re: Rank help - by X337 - 22.03.2017, 01:14
Re: Rank help - by Face9000 - 22.03.2017, 01:24
Re: Rank help - by X337 - 22.03.2017, 01:31
Re: Rank help - by Face9000 - 22.03.2017, 01:42
Re: Rank help - by X337 - 22.03.2017, 01:52
Re: Rank help - by Face9000 - 22.03.2017, 21:00
Re: Rank help - by Flamehaze7 - 23.03.2017, 01:47
Re: Rank help - by X337 - 23.03.2017, 03:07
Re: Rank help - by Face9000 - 23.03.2017, 10:12

Forum Jump:


Users browsing this thread: 1 Guest(s)