20.05.2015, 06:29
Personally, i update every single query ad every update trough a function i did:
SavePlayerDataInt(playerid, field[], value);
Suggest you not saving users with a giant query, it's really heavy when you've got a roleplay gamemode with tons of fields.
Anyway, to update all the data you have to call it one by one in this way:
SavePlayerDataInt(playerid, field[], value);
Suggest you not saving users with a giant query, it's really heavy when you've got a roleplay gamemode with tons of fields.
Anyway, to update all the data you have to call it one by one in this way:
Код:
UPDATE `users` SET moneys = %i, level = %i, admin = %i WHERE `id` = %i