09.11.2017, 10:15
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);