Signup Now
Results 1 to 5 of 5

Thread: Vials Drop

  1. #1
    Free User goD's Avatar
    Join Date
    Dec 2013
    Posts
    75
    Reputation
    7
    Rep Power
    0

    Vials Drop

    --local FLASKS = {283,284,285}
    --
    --for i = 1, #FLASKS do
    -- if (itemcount(FLASKS[i]) >= 10) and (maround(4,false) == 0) then
    -- moveitems(FLASKS[i],"all",ground(posx,posy,posz),100)
    -- end
    --end
    --

    Doesnt work, why?

  2. #2
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    Because it's commented. Remove the -- and replace the moveitems() line with just moveitems(FLASKS[i], 'ground') and it will work normally



    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  3. #3
    Free User goD's Avatar
    Join Date
    Dec 2013
    Posts
    75
    Reputation
    7
    Rep Power
    0
    can u fix that and give me correctly script? cuz Im too newbie

  4. #4
    Moderator RoxZin xD's Avatar
    Join Date
    Dec 2013
    Location
    Rio de Janeiro
    Posts
    4,914
    Reputation
    109
    Rep Power
    31
    auto(200)

    local FLASKS = {283,284,285}

    for i = 1, #FLASKS do
    if (itemcount(FLASKS[i]) >= 10) and (maround(4,false) == 0) then
    moveitems(FLASKS[i], 'ground')
    end
    end



    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  5. #5
    Free User goD's Avatar
    Join Date
    Dec 2013
    Posts
    75
    Reputation
    7
    Rep Power
    0
    danke, rep+

 

 

Posting Permissions

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