namerpus18 Posted March 24, 2024 Posted March 24, 2024 1@jtb,285,29,4 script #itemcheck1 -1,30,30, { end; OnTouch_: OnInit_: { if(rentalcountitem(7514)==0) warp "SavePoint",0,0; end; } } Good day everyone, Can i ask for help to add a timer that do this rentalcountitem every 5 seconds? Thank you so much as always, Quote
0 Rynbef Posted March 28, 2024 Posted March 28, 2024 (edited) Just Init an NPC Timer that trigger a label. https://github.com/rathena/rathena/blob/26335994588c4b45846c05d0e53780ead78e475c/doc/script_commands.txt#L7169 Rynbef~ Edited March 28, 2024 by Rynbef 1 Quote
Question
namerpus18
1@jtb,285,29,4 script #itemcheck1 -1,30,30, { end; OnTouch_: OnInit_: { if(rentalcountitem(7514)==0) warp "SavePoint",0,0; end; } }
Good day everyone,
Can i ask for help to add a timer that do this rentalcountitem every 5 seconds?
Thank you so much as always,
1 answer 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.