Jump to content
TheSamurai

Droping item when player is killed

Recommended Posts

Hi @TheSamurai;

RemoveChaItem(A,B,C,D,E,F,G)
A = Role Handle
B = Item ID
C = Amount
D = Bag Type (0:Equipment, 1:Equipment, 2:Bag)
E = Bag Slot (Eq:0-9, Bag:0-47, -1:Unknown)
F = Operation (0:Drops on floor, 1:Move to Backpack if full then nothing is done, 2 or other number: Deletes the item)
G = Ignored(not use by Game)

 

Ex for you request :

RemoveChaItem( defer , itemid , amount , 2 , -1, 0 , 1  ) --if is 0 drop an item from killed bag if is other number item ill removed

Edited by Ximboliex
  • Like 1

xbx3.png

Share this post


Link to post
Share on other sites
4 hours ago, DangThao said:

Check OOP server file. It got a script for player to drop items of his equipment(i think or was it inventory items?)

"OOP = X?"

Share this post


Link to post
Share on other sites
В 10.02.2017 в 12:53, Vasil сказал:

"OOP = X?"

Скрытый текст

Object-oriented programming :D

 

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...