No Headshot
How do I make this menu function make you immune to headshots.
PHP Code:
http://forums.alliedmods.net/showthread.php?p=489668 But I don't want to use VESTHELM. After activating the menu function others couldn't do headshots on you. |
Re: No Headshot
Something like :
Code:
|
Re: No Headshot
doesn't work
|
Re: No Headshot
heh i once did something similar only for a hero.
i did this PHP Code:
those are syntaxes, and not my code :) (just to make clear) |
Re: No Headshot
Quote:
PHP Code:
|
Re: No Headshot
My code works perfectly. I tested before posting. It doesn't compile because I've added headshot_active[ Victim ] to show you the way, that's all.
|
Re: No Headshot
PHP Code:
|
Re: No Headshot
arkshine had it formatted correctly.
Are you setting the headshot_active array element to 1\true for the player that you want to be immune to headshots? Edit: Fixed typo in return line return headshot_active[ Victim ] && get_pdata_int( Victim, m_LastHitGroup ) == HIT_HEAD ? [->] : [<-] HAM_SUPERCEDE : HAM_IGNORED; PHP Code:
|
Re: No Headshot
PHP Code:
|
Re: No Headshot
Quote:
I have an admin menu. I want players who activate the headshot immunity function to be immune to headshots. |
| All times are GMT -4. The time now is 13:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.