enteike Posted July 11, 2014 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 9 Reputation: 0 Joined: 06/15/12 Last Seen: July 23, 2014 Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.