01.03.2014, 04:48
How do I get 1 hour to put on / stats
SetTimerEx("payday", 3600000, true, "i", playerid); //This would create a repeating timer for the playerid.
forward payday(playerid);
public payday(playerid)
{
SendClientMessage(playerid, color, "Congratulations. You have earned 1+ score for playing one hour."); //sends them a message, making them aware of the payday.
PlayerInfo[playerid][pHours]++; //adds 1 hour to their user data.
return 1;
}