13.05.2014, 07:11
Here
OT: This is a scripting help section, not a request section. I think I've said this more than 2 times in the last hour itself.
Request code here - https://sampforum.blast.hk/showthread.php?tid=447813
If you want to do it yourself - when a player registers, set a variable against the player to true, set a timer for 2 hours to turn that variable to false and under OnPlayer(Take/Give)Damage, just set the health back. If you want you can save the remaining time for the timer if the player quits using a saving system. (under OnPlayerDisconnect, subtract gettime())
OT: This is a scripting help section, not a request section. I think I've said this more than 2 times in the last hour itself.
Request code here - https://sampforum.blast.hk/showthread.php?tid=447813
If you want to do it yourself - when a player registers, set a variable against the player to true, set a timer for 2 hours to turn that variable to false and under OnPlayer(Take/Give)Damage, just set the health back. If you want you can save the remaining time for the timer if the player quits using a saving system. (under OnPlayerDisconnect, subtract gettime())