Raised This Month: $51 Target: $400
 12% 

HeadShot Only [Version 1.2a]


Post New Thread Reply   
 
Thread Tools Display Modes
toader_octavian
Member
Join Date: Oct 2006
Location: Romania
Old 01-08-2009 , 02:23   Re: HeadShot Only [Version 1.1]
Reply With Quote #11

Nice plugin! Bun only one scripting help question.
I tried setting the trace handle to direct into shield but the problem is that it doesn't show any spark, just blood ...

PHP Code:
            set_tr2(trTR_iHitgroup8);
            
SetHamParamTraceResult(5,tr);
            return 
HAM_HANDLED
__________________
I will be banned soon.
toader_octavian is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-08-2009 , 08:27   Re: HeadShot Only [Version 1.1]
Reply With Quote #12

Quote:
Originally Posted by toader_octavian View Post
Nice plugin! Bun only one scripting help question.
I tried setting the trace handle to direct into shield but the problem is that it doesn't show any spark, just blood ...

PHP Code:
            set_tr2(trTR_iHitgroup8);
            
SetHamParamTraceResult(5,tr);
            return 
HAM_HANDLED
Thanks.
I don't know how to do what you want. Post a new thread at Scripting Help.

Last edited by Dores; 01-08-2009 at 09:31.
Dores is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-11-2009 , 23:54   Re: HeadShot Only [Version 1.1]
Reply With Quote #13

maybe add in code that would get map info if aim map no headshot but if de_dust head shots...
Doc-Holiday is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-12-2009 , 00:32   Re: HeadShot Only [Version 1.1]
Reply With Quote #14

Quote:
Originally Posted by NcB_Sav View Post
maybe add in code that would get map info if aim map no headshot but if de_dust head shots...
Use per maps plugins.ini files.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 01-12-2009 , 01:07   Re: HeadShot Only [Version 1.1]
Reply With Quote #15

Quote:
Originally Posted by ConnorMcLeod View Post
Use per maps plugins.ini files.

i actully have vote mod wanted to use this for that no way of useing the toggle on that you have to have a 1 = on 0 = off
Doc-Holiday is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-12-2009 , 10:42   Re: HeadShot Only [Version 1.1]
Reply With Quote #16

Quote:
Originally Posted by NcB_Sav View Post
maybe add in code that would get map info if aim map no headshot but if de_dust head shots...
I'll work on it.
Dores is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-12-2009 , 11:50   Re: HeadShot Only [Version 1.1]
Reply With Quote #17

Per-map features are standard with the AMXX package.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-12-2009 , 16:11   Re: HeadShot Only [Version 1.1]
Reply With Quote #18

So should I do it or what?
Dores is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-12-2009 , 16:23   Re: HeadShot Only [Version 1.1]
Reply With Quote #19

I think this global var g_bOn is useless since you disable the forward when g_bOn is 0.
Also, you should use EnableForward when the forward has already been registered.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Dores
Veteran Member
Join Date: Jun 2008
Location: You really don't wanna k
Old 01-13-2009 , 11:26   Re: HeadShot Only [Version 1.2]
Reply With Quote #20

Bump due to update.

Quote:
Originally Posted by ChangeLog
Version 1.2 -

  • Changed toggle command and fixed [En|Dis]abling HamSandwich forwards(thanks Connor!).
  • Added a cvar to set if knife hits should be counted.
  • Added a cvar to set if Ts can only get hit by a headshot.
  • Added a cvar to set if CTs can only get hit by a headshot.
  • Now displays a message to connecting people that announces that the server is running the plugin.
Dores is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode