How to do this?
#3

Set a timer, with ticking internal of 1 hour, and in the function (which gets called once the timer ticks) make a for loop, (i use foreach though), and give them directly the paycheck or check if their connected time was enough to give them paycheck.

(https://sampwiki.blast.hk/wiki/NetStats_GetConnectedTime)
(https://sampwiki.blast.hk/wiki/SetTimer)
Reply


Messages In This Thread
How to do this? - by Celmir - 08.03.2017, 05:04
Re: How to do this? - by Toroi - 08.03.2017, 05:38
Re: How to do this? - by iLearner - 08.03.2017, 05:38
Re: How to do this? - by JessThompson - 08.03.2017, 05:43
Re: How to do this? - by Celmir - 08.03.2017, 06:27

Forum Jump:


Users browsing this thread: 1 Guest(s)