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

[CS:GO] Damage & Slow


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kientructayho
New Member
Join Date: May 2019
Location: Ha Noi, Viet Nam
Old 05-14-2019 , 00:10   [CS:GO] Damage & Slow
Reply With Quote #1

Hello,

I was wondering if it is possible to disable the slowdown when player gets damaged?
I tried to hook OnTakeDamage and set m_flStamina or m_flBaseVelocity but it ain't working..

Any ideas?
kientructayho is offline
SHUFEN.jp
Senior Member
Join Date: Jun 2014
Location: Japan, Tokyo
Old 05-14-2019 , 00:31   Re: [CS:GO] Damage & Slow
Reply With Quote #2

Use post hook "SDKHook_OnTakeDamagePost"
And set m_flStamina to 0
__________________
SHUFEN.jp is offline
Send a message via Skype™ to SHUFEN.jp
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 05-14-2019 , 03:12   Re: [CS:GO] Damage & Slow
Reply With Quote #3

Quote:
Originally Posted by Franc1sco View Post
sm_cvar mp_tagging_scale "20"

Info here: https://forums.alliedmods.net/showthread.php?t=261392
__________________
Veteran SourceMod Coder
Taking paid requests -> Add me in TELEGRAM or STEAM
or Discord Franc1sco#7876
| You like my work? donate me

Franc1sco is offline
Send a message via MSN to Franc1sco Send a message via Skype™ to Franc1sco
Reply


Thread Tools
Display Modes

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 13:27.


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