enteike Posted July 11, 2014 Posted July 11, 2014 Hello im trying to add a delay to an item when i logout. i found this on eathena: function script knife_cooldown { if ( getarg(0) == 0 && @cooldown > gettimetick(2) ) { dispbottom @cooldown - gettimetick(2); unequip EQI_HAND_R; } else if ( getarg(0) == 1 && @cooldown <= gettimetick(2) ) { set @cooldown, gettimetick(2) +5; dispbottom "set"; } return; } im activating something when i equip because i cant make active it by chance so i need to add a delay, because when i relog i can put the item again. Thanks Quote
Question
enteike
Hello im trying to add a delay to an item when i logout.
i found this on eathena:
im activating something when i equip because i cant make active it by chance so i need to add a delay, because when i relog i can put the item again.
Thanks
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.