Signup Now
Results 1 to 5 of 5
  1. #1
    Free User
    Join Date
    Sep 2015
    Posts
    7
    Reputation
    10
    Rep Power
    0

    Persistent to change weapon

    What am I doing wrong?

    {
    "type":"lineedit",
    "name":"melee",
    "description":"Id of the weapon without imbuement.",
    "text":"Name of the weapon without imbuement:",
    "value":"Crude Umbral Hammer"
    },
    {
    "type":"lineedit",
    "name":"imbued",
    "description":"Id of the weapon with imbuement.",
    "text":"Name of the weapon with imbuement:",
    "value":"Umbral Master Hammer"
    },

    __________________________________________________ ____

    --Equip Weapon
    auto(1000)
    local weapon = string.lower(getuseroption('melee'))
    local weaponimbued = string.lower(getuseroption('imbued'))

    if $rhand == weapon then
    equipitem(weaponimbued,'rhand')
    waitping(2,3)
    end
    Last edited by thiteex; 04-24-2018 at 06:30 AM.

  2. #2
    Free User
    Join Date
    Sep 2014
    Posts
    43
    Reputation
    19
    Rep Power
    0
    PHP Code:
    --Inuidisse
    if $rhand ~= itemid(getuseroption('imbued')) then
        equipitem
    (itemid(getuseroption('imbued')),'rhand')
        
    waitping(2,3)
    end 

  3. #3
    Free User
    Join Date
    Sep 2015
    Posts
    7
    Reputation
    10
    Rep Power
    0
    Thank you so much! It worked fine

  4. #4
    Free User
    Join Date
    Sep 2014
    Posts
    43
    Reputation
    19
    Rep Power
    0
    If You would need help once more, You can conntact me directly via [email protected] or discord Inuidisse#4684 <-- Fastest way ;p

  5. #5
    Free User
    Join Date
    Sep 2015
    Posts
    7
    Reputation
    10
    Rep Power
    0
    I've sent you an invite on discord, thank you sooooo much bro!

 

 

Posting Permissions

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