JoyRo 5 Posted January 17, 2016 Hello, i wanna set a weekly reward npc atm i have a daily reward.The code it uses for daily is. .next_take = 24*60*60; could i make that code .next_take = 168*60*60; Should it be 1 week than? Or do i need to use a difrent code. Kind Regards Henry Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted January 17, 2016 (edited) Hello, i wanna set a weekly reward npc atm i have a daily reward. The code it uses for daily is. .next_take = 24*60*60; could i make that code .next_take = 168*60*60; Should it be 1 week than? Or do i need to use a difrent code. Kind Regards Henry 24 hours * 60 minutes * 60 seconds. so for you, it will be 7*24*60*60 (7 days x 24 hours x 60 minutes x 60 seconds) Edited January 17, 2016 by Oxxy Quote Share this post Link to post Share on other sites
0 JoyRo 5 Posted January 17, 2016 Thanx for your reply!Wil try it. Quote Share this post Link to post Share on other sites
0 JoyRo 5 Posted February 8, 2016 Oxxy, You know how i can make this script Based on IP also. So daily reward with IP check. Quote Share this post Link to post Share on other sites
Hello,
i wanna set a weekly reward npc atm i have a daily reward.
The code it uses for daily is.
Should it be 1 week than?
Share this post
Link to post
Share on other sites