Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
move/drop only one item
#1
Hi peoples!

i need a action for drop only one item of backpack.

i use this

dropitems('backpack')

but, i have a backpack with other 20 backpack's inside, and this action drop all 20 backpacks on ground. i need drop only one.


Thanks @Arkilys
Reply

#2
Hello.

You should use moveitems() to do that.
|Only Registered members can see download links. | Click here to buy subscription or here to register.

moveitems(string item, string to, string from, optional in count) [void]
Notice it will try move a single stack of that item. So if you setup count = 100, but there's two stacks: 1st with 10 and 2nd with 90 then it will move only one stack.
moveitems('backpack', ground(posx(), posy(), posz()), '', 1)
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016