Im need help,
how i can make my scrpit...
exp: i need scrpit of arm and desarm my wepon but need fast( sword and shield to bow and bow to sword and shield)
somebody can help me??
I am inexperienced in the Yoko Injection
THX FOR HELP ME!!!
IM need help...
Moderators: Murderator+, Murderator
Code: Select all
sub switch()
var shield='0x0000' #type of shield
var sword='0x0000' #type of sword
var bow='0x0000' #type of bow
if uo.objatlayer('Lhand')==uo.getserial(shield) then
uo.usetype(bow)
else
uo.usetype(sword)
wait(100)
uo.usetype(shield)
end if
end sub
P.S. Sorry for my english.
-
Destruction
- Junior Expert
- Posts: 3221
- Joined: 2004-06-24 22:08:56
It's incorrect.var shield='0x0000' #type of shield
uo.objatlayer('Lhand')==uo.getserial(shield)
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Telegram: @tatikom
i dont know where are errors was in those script, but new script is working
Code: Select all
sub switch()
var shield='0x1BC4' #type of shield
var sword='0x3FF8' #type of sword
var bow='0x13B1' #type of bow
if uo.getgraphic(uo.objatlayer('Lhand'))==shield then
uo.usetype(bow)
else
uo.usetype(sword)
wait(100)
uo.usetype(shield)
end if
end sub