• 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] Item from database

gabrielbsales

New Member
Joined
Dec 13, 2010
Messages
35
Reaction score
0
Hello, i'm making a script to get player depot items from database, but i don't know how to get his attributes, i'm trying it:
Code:
db.getResult("SELECT `itemtype`, `count`, `attributes` FROM `player_depotitems` WHERE `player_id` = " .. player_id..";")

But attributes is a binary value, correct?
How to convert to text?
Thanks
 
Back
Top Bottom