Signup Now
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Free User Diabolic's Avatar
    Join Date
    Dec 2013
    Posts
    205
    Reputation
    20
    Rep Power
    21
    local Items = {'gold coin', 'worm', 285, 284} --id or name
    local x, y, z = 32795, 31251, 7

    for _, item in ipairs(Items) do
    moveitems(item, ground(x, y, z), 'all', '2')
    waitping()
    end

  2. #12
    Wind Powered
    Join Date
    Jan 2014
    Posts
    16
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Diabolic View Post
    local Items = {'gold coin', 'worm', 285, 284} --id or name
    local x, y, z = 32795, 31251, 7

    for _, item in ipairs(Items) do
    moveitems(item, ground(x, y, z), 'all', '2')
    waitping()
    end

    error in Persistent script NewPersistentScript:
    ["if amount and amount < 100 then"]:LucasTerra.lua:4840 attempt to compare string with number
    stack traceback:
    [" moveitems(item, ground(x, y, z), 'all', '2')"]:NewPersistentScript:5 in user script


    =/

  3. #13
    Free User Diabolic's Avatar
    Join Date
    Dec 2013
    Posts
    205
    Reputation
    20
    Rep Power
    21
    "if amount and amount < 100 then"

    What is this ?
    Same variable is boolean and int ? check this man.

    Post your action here.

  4. #14
    Wind Powered
    Join Date
    Jan 2014
    Posts
    16
    Reputation
    10
    Rep Power
    0
    my action:

    PHP Code:
    local Items = {'gold coin''worm'285284} --id or name
    local x
    y32795312517

    for _item in ipairs(Items) do
        
    moveitems(itemground(xyz), 'all''2')
        
    waitping()
    end 

  5. #15
    Free User Diabolic's Avatar
    Join Date
    Dec 2013
    Posts
    205
    Reputation
    20
    Rep Power
    21
    Quote Originally Posted by Nospherattuz View Post
    error in Persistent script NewPersistentScript:
    ["if amount and amount < 100 then"]:LucasTerra.lua:4840 attempt to compare string with number
    stack traceback:
    [" moveitems(item, ground(x, y, z), 'all', '2')"]:NewPersistentScript:5 in user script


    =/
    Look for this: "if amount and amount < 100 then"


    Where do you use this ?

  6. #16
    Wind Powered
    Join Date
    Jan 2014
    Posts
    16
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Diabolic View Post
    Look for this: "if amount and amount < 100 then"


    Where do you use this ?
    on:
    Scripter >>> Persistent

  7. #17
    Free User Diabolic's Avatar
    Join Date
    Dec 2013
    Posts
    205
    Reputation
    20
    Rep Power
    21
    This term: "if amount and amount < 100 then"

    For what you use this ?
    Post all action here.

    If you use on persistent, use auto(100)

    local Items = {'gold coin', 'worm', 285, 284} --id or name 
    local x, y, z = 32795, 31251, 7

    auto(100)
    for _, item in ipairs(Items) do
    moveitems(item, ground(x, y, z), 'all', '2')
    waitping()
    end

  8. #18
    Wind Powered
    Join Date
    Jan 2014
    Posts
    16
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by Diabolic View Post
    This term: "if amount and amount < 100 then"

    For what you use this ?
    Post all action here.

    If you use on persistent, use auto(100)

    local Items = {'gold coin', 'worm', 285, 284} --id or name 
    local x, y, z = 32795, 31251, 7

    auto(100)
    for _, item in ipairs(Items) do
    moveitems(item, ground(x, y, z), 'all', '2')
    waitping()
    end
    100% with this:
    PHP Code:
    auto(100)
    local Items = {'gold coin''worm'285284} --id or name 
    local x
    y3279331252

    for _item in ipairs(Items) do 
        
    moveitems(itemground(xyz), 'Purple Backpack'2)
        
    waitping() 
    end 

  9. #19
    Wind Powered
    Join Date
    Jan 2014
    Posts
    16
    Reputation
    10
    Rep Power
    0
    Veryyyyyyyyy Thanks Bro

  10. #20
    Free User Diabolic's Avatar
    Join Date
    Dec 2013
    Posts
    205
    Reputation
    20
    Rep Power
    21
    Quote Originally Posted by Nospherattuz View Post
    Veryyyyyyyyy Thanks Bro
    hehe good man...

    Np

 

 

Posting Permissions

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