25.01.2014, 10:49
Код:
public OnPlayerDisconnect(playerid, reason) { new query[512]; new Float:vie, Float:armure; GetPlayerHealth(playerid, vie); GetPlayerArmour(playerid, armure); mysql_format(mysql, query, sizeof(query), "UPDATE `joueurs` SET `Vie` = '%f', `Armure` = '%f' WHERE `ID` = '%d'", vie, armure, pInfo[playerid][ID]); mysql_query(mysql, query); return 1; }