Raised This Month: $ Target: $400
 0% 

[ANY] Prevent the player from gaining velocity when hit by props


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 05-03-2024 , 16:05   [ANY] Prevent the player from gaining velocity when hit by props
Reply With Quote #1

Hello,

I need some help with prop_physics_multiplayer entities.
If the entities have high velocity and I block takedamage by using SDKHook_OnTakeDamage and returning Plugin_Handled, the damage is indeed blocked. However, the velocity is not, and the player seems to gain a bit of upper velocity, as if it was jumping.
Does someone know how to fix it?

Cheers,
DarthMan
DarthMan 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 12:38.


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