31.03.2015, 08:19
as you forgot a comma near "`Thirsty`=%i \"
try this and also post mysql logs
try this and also post mysql logs
PHP код:
format(query, sizeof(query), "UPDATE `user_accounts` SET `Hungry`=%i,\
`Thirsty`=%i, \
`Energy`=%i WHERE `UserID` = %i",
i[pHungry], i[pThirsty], i[pEnergy],
i[pUserID]);
mysql_function_query(gSQLHandle, query, false, "SaveUserAccount", "ii", playerid, 3);

