Posts: 94
Threads: 14
Joined: Jun 2009
Reputation:
0
I've been working on a roleplay script lately, I'm just curious as to how I could use gettime(&hour=0, &minute=0, &second) to initiate a paycheck every time it hits an hour.
Any links etc, would be greatly appreciated.
Posts: 172
Threads: 47
Joined: Dec 2011
Reputation:
0
Well ongamemodeinit set a timer for everysecond, and make a new saved player variable called seconds connected.
Once the saved variables, secondsconnected reaches 3600(Thats one hour in seconds), it gives a paycheck
Posts: 172
Threads: 47
Joined: Dec 2011
Reputation:
0
So for every hour that goes by irl, it gives them a paycheck?