Raised This Month: $ Target: $400
 0% 

hook jump on a player's head


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 03-04-2013 , 06:14   Re: hook jump on a player's head
Reply With Quote #14

Connor's code is only executed if the player that's on top of the other player received any fall damage while landing on him. If so, the player who's down receives 0.5 times the damage the falling player did.

If you want to kill the player on the bottom no matter what, simply hook Ham_Touch and check if either of the touched entities is the ground entity (pev_groundentity) of the other one. If so, kill the player.

Last edited by Backstabnoob; 03-04-2013 at 06:16.
Backstabnoob is offline
 



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 17:23.


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