01.12.2012, 23:20
I want to know how you save a timer for a Payday system?
Thanks.
For example: Every hour you recieve a certain amount cash.
Thanks.
For example: Every hour you recieve a certain amount cash.
new currentTickcount = tickcount();
if(currentTickcount - LastPayday[playerid] >= 3600000)
{
Payday();
LastPayday[playerid] = currentTickcount;
}