09.03.2018, 14:04
Try that :
Код:
function SalvareRealizari(playerid) { new string[256], query[256]; format(string, sizeof(string), "%d|%d|%d", PlayerInfo[playerid][pAchievement][0], PlayerInfo[playerid][pAchievement][1], PlayerInfo[playerid][pAchievement][2]); format(query, sizeof(query), "UPDATE `users` SET `Realizari`='%s' WHERE `ID`='%d'", string, PlayerInfo[playerid][pSQLID]); mysql_tquery(SQL, query, "",""); return 1; }