Mysql Saving issue
#4

Код:
	new 
		str[700];

	mysql_format(mysql, str, sizeof(str), "UPDATE `users` SET `Name` = '%s', `IP` = '%s', `Money` = '%d', `Score` = '%d', `Kills` = '%d', `Deaths` = '%d', `Level` = '%d', `Rank` = '%s', \
	`ZonesCaptured` = '%d', `FlagsCaptured` = '%d', `VIP` = '%d', `DonateLevel` = '%d' WHERE `ID` = '%d'", PlayerName(playerid), 
	p_IP[playerid],GetPlayerCash(playerid),GetPlayerScore(playerid),Kills[playerid],Deaths[playerid],
	AdminLevel{playerid},RankNames[Rank[playerid]],ZonesCaptured[playerid],FlagsCaptured[playerid],
	VIP[playerid],DonateLevel[playerid],FieldID[playerid]);

	mysql_query(mysql,str);
Also thread the queries. PLEASE.
Reply


Messages In This Thread
Mysql Saving issue - by DetoNater - 12.05.2015, 06:11
Re: Mysql Saving issue - by Infamous - 12.05.2015, 06:34
Re: Mysql Saving issue - by DetoNater - 13.05.2015, 10:33
Re: Mysql Saving issue - by Evocator - 13.05.2015, 10:40
Re: Mysql Saving issue - by DetoNater - 15.05.2015, 03:34

Forum Jump:


Users browsing this thread: 1 Guest(s)