Payday check
#8

Quote:

4. check if the difference (in ms) is more or equal to 25 minutes (assuming u want the payday to hapen every 25 minutes)

Not every 25 minutes, every hour like so but to be eligible to get paid, he needs at least 25 minutes played during that entire hour.

That's why I need to increment PlayerInfo[playerid][pConnectedTime] every minutes then every hour server time if he played 25 minutes, it gets reset
Reply


Messages In This Thread
Payday check - by vernz - 06.01.2017, 00:05
Re: Payday check - by BiosMarcel - 06.01.2017, 00:10
Re: Payday check - by vernz - 06.01.2017, 00:11
Re: Payday check - by BiosMarcel - 06.01.2017, 00:15
Re: Payday check - by vernz - 06.01.2017, 00:17
Re: Payday check - by ISmokezU - 06.01.2017, 00:23
Re: Payday check - by BiosMarcel - 06.01.2017, 00:24
Re: Payday check - by vernz - 06.01.2017, 00:30
Re: Payday check - by BiosMarcel - 06.01.2017, 00:37
Re: Payday check - by vernz - 06.01.2017, 00:53

Forum Jump:


Users browsing this thread: 5 Guest(s)