Results 1 to 4 of 4

Thread: Mache 2 acttion

  1. #1
    iBot User sto1p's Avatar
    Join Date
    Feb 2012
    Posts
    483
    Mentioned
    32 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    120 Post(s)
    Reputation
    31
    Rep Power
    5

    Mache 2 acttion

    Code:
    local DPX = 32979 -- Coordenada x do depot
    local DPY = 32092 -- Coordenada y do depot
    local DPZ = 7 -- Coordenada z do depot
    local MainBp = 'demon backpack' -- Nome da backpack principal
    
    if toptileitem(DPX,DPY,DPZ) ~= 3696 then
      while toptileitem(DPX,DPY,DPZ) ~= 3696 do
        moveitems(toptileitem(DPX,DPY,DPZ),ground(DPX,DPY,DPZ),MainBp,100)
     " if while toptileitem(DPX,DPY,DPZ) == 3696" - change this no take trash
    end
    end

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Idk if this is what you want but this wont pick up the trash, it will toss it under you.
    PHP Code:
    local DPXDPYDPZ 3297932092-- dp cord

    if toptileitem(DPX,DPY,DPZ) ~= 3696 then
        
    while toptileitem(DPX,DPY,DPZ) ~= 3696 do
            
    moveitems(toptileitem(DPX,DPY,DPZ),ground(DPX,DPY,DPZ),ground(posx,posy,posz),100)
        
    end
    end 

  3. #3
    iBot User sto1p's Avatar
    Join Date
    Feb 2012
    Posts
    483
    Mentioned
    32 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    120 Post(s)
    Reputation
    31
    Rep Power
    5
    need
    Code:
    local DPX, DPY, DPZ = 32979, 32092, 7 -- dp cord
    
    if toptileitem(DPX,DPY,DPZ) ~= 3696 then
        while toptileitem(DPX,DPY,DPZ) ~= 3696 do
            moveitems(toptileitem(DPX,DPY,DPZ),ground(DPX,DPY,DPZ),ground(posx,posy,posz),100)
        end
    end
    +
    Code:
    if while toptileitem(DPX,DPY,DPZ) == 3696

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    What do you mean?

Posting Permissions

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