• 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!

NPC take item from body

scorpionfight

New Member
Joined
Sep 21, 2008
Messages
111
Reaction score
1
Location
Brazil
Hello,

I use the svn 0.4 distro and my NPCs are picking up the item from the body(equipped items) of the players when the item is sold, I would get to just pick up the containers of items such as backpacks. I tested two systems of NPC and the same thing happens, one uses this function "doPlayerSellItem (cid, itemid, count, cost)" and the other uses this function "ShopModule: addSellableItem (names, itemid, cost, realname)".
When looking at the code of the functions mentioned above, I noticed that prevents them infirm to remove the item I'm using.


Thanks!!!
 
Last edited:
Back
Top