mysql problem save hp
#1

Hello guys i trying save health in mysql but i have problem if i try this i failed i trying saving with classic update.


Код:
new Float:hp;
GetPlayerHealth(playerid, hp);

format(query,sizeof(query),"UPDATE `data` SET `Health` = '%d' WHERE  `name` =  '%s';",hp,name(playerid));
mysql_query(handle,query);
Reply


Messages In This Thread
mysql problem save hp - by Kubad - 09.11.2017, 10:15
Re: mysql problem save hp - by Erioni - 09.11.2017, 10:17
Re: mysql problem save hp - by Kubad - 09.11.2017, 10:24
Re: mysql problem save hp - by Erioni - 09.11.2017, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)