AshuraX Posted August 23, 2016 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 27 Reputation: 0 Joined: 06/10/13 Last Seen: December 28, 2022 Share Posted August 23, 2016 please help me. i want the hourly point to have limit. Ex. after the player reached 5hours it will reset to 0 after when the server ticks to the next day thanks! hourlypoints.txt Quote Link to comment Share on other sites More sharing options...
0 cjvirus09 Posted August 23, 2016 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 07/27/15 Last Seen: May 20, 2021 Share Posted August 23, 2016 //Check for 5 hours consecutive if(@consecutive_hour == 5) { set @consecutive_hour,0; getitem 31025,2; dispbottom "You receive "+.cpoint_amt+" Blue Potions in playing for 3 consecutive hours"; } else addtimer .timer,"hourlypoints::OnPointGet"; end; OnClock0000: // Exactly 12:00 Midnight @consecutive_hour=0; end; Quote Link to comment Share on other sites More sharing options...
0 AshuraX Posted August 26, 2016 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 27 Reputation: 0 Joined: 06/10/13 Last Seen: December 28, 2022 Author Share Posted August 26, 2016 //Check for 5 hours consecutive if(@consecutive_hour == 5) { set @consecutive_hour,0; getitem 31025,2; dispbottom "You receive "+.cpoint_amt+" Blue Potions in playing for 3 consecutive hours"; } else addtimer .timer,"hourlypoints::OnPointGet"; end; OnClock0000: // Exactly 12:00 Midnight @consecutive_hour=0; end; I get script_rid2sd: fatal error ! player not attached! help pls Quote Link to comment Share on other sites More sharing options...
0 Hijirikawa Posted August 27, 2016 Group: Members Topic Count: 19 Topics Per Day: 0.01 Content Count: 193 Reputation: 42 Joined: 07/21/16 Last Seen: August 7, 2019 Share Posted August 27, 2016 Post the entire script? Quote Link to comment Share on other sites More sharing options...
Question
AshuraX
please help me. i want the hourly point to have limit.
Ex.
after the player reached 5hours it will reset to 0 after when the server ticks to the next day
thanks!
hourlypoints.txt
Link to comment
Share on other sites
3 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.