24.01.2014, 22:35
Hi
My question is in the title
I did this:
But it always save life/armor to 0.
My question is in the title
I did this:
Код:
public OnPlayerDisconnect(playerid, reason) { new query[512]; new Float:vie[1], Float:armure[1]; GetPlayerHealth(playerid, vie[0]); GetPlayerArmour(playerid, armure[0]); mysql_format(mysql, query, sizeof(query), "UPDATE `joueurs` SET `Vie`=%f, `Armure`=%f WHERE `ID`=%d", vie[0], armure[0], pInfo[playerid][ID]); mysql_tquery(mysql, query, "", ""); return 1; }