namerpus18 Posted March 24, 2024 Group: Members Topic Count: 42 Topics Per Day: 0.05 Content Count: 118 Reputation: 11 Joined: 11/15/22 Last Seen: 10 hours ago Share 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 Link to comment Share on other sites More sharing options...
0 Rynbef Posted March 28, 2024 Group: Forum Moderator Topic Count: 48 Topics Per Day: 0.01 Content Count: 944 Reputation: 125 Joined: 05/23/12 Last Seen: 10 hours ago Share 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 Link to comment Share on other sites More sharing options...
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,
Link to comment
Share on other sites
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.