Signup Now
Results 1 to 4 of 4
  1. #1
    Free User
    Join Date
    Mar 2015
    Posts
    6
    Reputation
    10
    Rep Power
    0

    [Help]Drop Equiped Backpack

    Hello
    i need script to make this
    when my character die, he lost backpack and use a bag, my script relog and buy 2 backpacks and rope in npc, i need now script make this

    (1) Open Depot and depot chest
    (2) move back (bag) to depot chest
    (3) move a new main backpack to back slot
    (4) drop empty bag from depot to ground

  2. #2
    Free User Eldar's Avatar
    Join Date
    Dec 2013
    Posts
    2,385
    Reputation
    63
    Rep Power
    26
    -- 1. Open Depot and depot chest
    opendepot()
    wait(700,900)

    -- 2. move back (bag) to depot chest
    moveitems(2853, "Depot Chest", "back", 1)
    wait(700,900)

    -- 3. move a new main backpack to back slot
    moveitems("backpack name", "back", "Depot Chest", 1) -- where is bp? this will move it from depot
    wait(700,900)

    -- 4. drop empty bag from depot to ground
    moveitems(2853, ground($posx, $posy, $posz), "Depot Chest", 1)
    wait(700,900)

  3. #3
    Free User
    Join Date
    Mar 2015
    Posts
    6
    Reputation
    10
    Rep Power
    0
    thank you Eldaar, excuse the delay was without internet, i will test tomorrow

  4. #4
    Free User
    Join Date
    Mar 2015
    Posts
    6
    Reputation
    10
    Rep Power
    0
    @Eldar @Raphael may you can help me?
    i have bouth 2 grey backpacks, and i need to stack backpacks, but its dont work ;x
    opendepot()
    wait(700,900)
    moveitems(2870, "depot chest", 2853, 1)
    openitem(2870, 2853)
    wait(2000)
    moveitems(2870, 2870, "depot chest", 1)
    Last edited by WillzWayn; 06-03-2015 at 04:13 AM.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •