Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spear to hand
06-07-2014, 07:38 PM,
#1
Thumbs Up  Spear to hand
Hello need a script to push spear from backpack to hand
Reply
07-08-2014, 08:31 AM,
#2
RE: Spear to hand
There you go

Code:
local CLOCK
local gptimer=os.clock()-.40
function spearfiller()
    CLOCK=os.clock()
    if (CLOCK-gptimer<1.2) then return 0; end
    gptimer=CLOCK
    local spear=FindItem(3277)
    if (spear~=nil)then
        ThrowItemCtoI(spear.num, spear.slot, SLOT_HANDLEFT, 3277, spear.quantity)
    end
    return 0;
end
    
    
SetTimerCallback("spearfiller")

Its pushes any spears it find in your character (backpack must be open) in your LEFT HAND (not the character one, the one you see)
Reply
07-09-2014, 08:49 AM,
#3
RE: Spear to hand
Nice job _/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)