Weekly Reward

JoyRo

New member
Messages
120
Points
0
Location
Netherlands
Emulator
Hello,

i wanna set a weekly reward npc atm i have a daily reward.
The code it uses for daily is.

   
Code:
.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
 
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)

 
Last edited by a moderator:
Back
Top