Hi all,
I hope some guy can help me a SQL query to detect character is wearing job (trader, thief) ?
Thanks !
I hope some guy can help me a SQL query to detect character is wearing job (trader, thief) ?
Thanks !
declare @charname varchar (60)
set @charname='charnamehere'
select CodeName128 from _RefObjCommon
where ID=(select RefItemID from _Items
where ID64=(select ItemID from _Inventory
where Slot='itemslothere' and CharID=(select charid from _char where
CharName16=@charname)))