rssSet armor, health (hk_command_health-armor)
Category: | script |
---|---|
Author(s): | Dutchman101 |
Downloads: | 1032 |
Rate: | You need to be logged in to vote |
Rating: | 4.8 (4 Votes) |
Description:
Command (/hk) to set full health and armor. It fills the full healthbar regardless of healthstat
It has anti-spam timer (can use command/heal max. once in 10 seconds) to avoid abuse and balance gameplay.
Features (latest version):
- You are able to get Health & Armor once per 10 seconds
- Automatic health & armor when you kill someone
- Automatic "10 sec" timer reset when you kill someone or when you die
- Health is always set based on your max health stat (filled bar)
- Persistent, customizable keybind for players in "Binds" (MTA settings)
- Good sync & performance, due to client/serverside architecture of the script and the code
- Default keybind configured as mouse3 (scroll wheel 'click' button, not scrolling)
- Player can change default keybind in MTA settings > "binds" tab (it will get saved for always) - Chat message has more detail about timer state, useful to stay focussed and calculated in stressful combat situations
* If you want to edit the limit on how often players can heal, change this line in hk_client.lua:
healTimers[localPlayer] = setTimer(timerReset, 10000, 1, localPlayer)
10000 means 10,000 milliseconds, so 10 seconds. For example, if you want 5 seconds, change 10000 to 5000
It has anti-spam timer (can use command/heal max. once in 10 seconds) to avoid abuse and balance gameplay.
Features (latest version):
- You are able to get Health & Armor once per 10 seconds
- Automatic health & armor when you kill someone
- Automatic "10 sec" timer reset when you kill someone or when you die
- Health is always set based on your max health stat (filled bar)
- Persistent, customizable keybind for players in "Binds" (MTA settings)
- Good sync & performance, due to client/serverside architecture of the script and the code
- Default keybind configured as mouse3 (scroll wheel 'click' button, not scrolling)
- Player can change default keybind in MTA settings > "binds" tab (it will get saved for always) - Chat message has more detail about timer state, useful to stay focussed and calculated in stressful combat situations
* If you want to edit the limit on how often players can heal, change this line in hk_client.lua:
healTimers[localPlayer] = setTimer(timerReset, 10000, 1, localPlayer)
10000 means 10,000 milliseconds, so 10 seconds. For example, if you want 5 seconds, change 10000 to 5000
Version history
Version | Publish Date | Changes | |
---|---|---|---|
1.5.0 | 2021-10-29 08:24:33 | Cool improvements like: - Player gets /hk timer reset when they kill someone - Player gets automatically healed when they kill someone - Default keybind configured as mouse3 (scroll wheel 'click' button, not scrolling) - Player can change default keybind in MTA settings > "binds" tab (it will get saved for always) - Chat message has more detail about timer state, useful to stay focussed and calculated in stressful combat situations |
Download |
1.4.0 | 2020-10-19 16:52:10 | various updates, including better sync | Download |
1.3.0 | 2019-02-20 20:56:24 | update | Download |
1.2.0 | 2018-09-27 00:39:54 | various improvements and sync improvement (made it clientside for less delay while healing in critical timing) | Download |
1.1.0 | 2016-04-04 21:50:50 | First public release | Download |