czouski
Banned User
- Joined
- Nov 2, 2024
- Messages
- 166
- Solutions
- 1
- Reaction score
- 64
czouski submitted a new resource:
[TFS 1.4.2] [Globalevent] Stamina regeneration inside protection zone - stamina
Read more about this resource...
[TFS 1.4.2] [Globalevent] Stamina regeneration inside protection zone - stamina
The script will query players position every second and give stamina to those who are inside protection zone for
180 seconds (for less than 39 hours )
600 seconds ( more than 39 but less than 42 aka premium stamina)
LUA:local globalevent = GlobalEvent("staminaRegeneration") local STORAGE_KEY = 48474645 local REGENERATION_INTERVAL_LOW = 180 -- seconds (3 minutes) for stamina below 39 hours local REGENERATION_INTERVAL_HIGH = 600 -- seconds (10 minutes) for stamina between 39 and 42...
Read more about this resource...