Headshot Modes

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Headshot Modes

Post by greenie »

Cvars:
hs_mode <1>
0 Disables the mod
1 Blocks bots from giving headshots ( Can be set to hit chest via the second cvar)
2 Blocks all headshots (good for beginier servers... Can be set to hit chest via the second cvar)
3 Blocks all hitzones except headshots
4 Changes all hitzones to headshots

hs_chest <0>
0 Blocks headshots entirely
1 Redirects the headshot to the chest

hs_knife <0>
0 Blocks knife headshots
1 Allows knife headshots

Change log:


1.0
Initial Release
1.1
Checks for valid attacker.
Ignores Knife kills.
Added a cvar to block head shot or redirect to chest
1.2
Checks for valid Attacker and Victim
Fixed my returns yet again thanks connor
1.3
Fixed some bugs. (would block all hitgroups not just head)
Removed the "n" on my cvars now match title of plugin.
1.4
Using Connors Method for registering bots with HAM
Added a Native to change the hs mode and hit chest mode.
1.5
Registers the bots using rage.
Fixed a typo in the code (cz bots were never hooked)

plugin
source
Post Reply

Return to “Gameplay”