• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua sql querry

natanal99

New Member
Joined
May 31, 2011
Messages
67
Reaction score
3
I want all player from account id x to gain storage id y value 1
can anyone help me?

something like:
db.executeQuery ("UPDATE `player_storage` SET `33002` = '1' WHERE `account_id` = '1' ;")

but "account_id" isn't a "player_storage" field and i don't know how to do it so '----------'
 
Code:
UPDATE `player_storage` LEFT JOIN `players` ON `player_id` = `id` SET `value` = 1 WHERE `key` = 33002 AND `account_id` = 1;
 
Back
Top