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

[CSGO] Armor and movement SDKHook_OnTakeDamage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
pride95
Senior Member
Join Date: Aug 2015
Old 05-03-2018 , 09:07   [CSGO] Armor and movement SDKHook_OnTakeDamage
Reply With Quote #1

PHP Code:

public Action Hook_OnTakeDamage(int victimint &attackerint &inflictorfloat &damageint &damagetypeint &weaponfloat damageForce[3], float damagePosition[3])
{
    if(
something)
    {
        return 
Plugin_Stop;
    }
    
    return 
Plugin_Continue;

if someone has armor and is protected from losing damage he is losing his armor when taking damage. also, he is losing his speed and blood.

how can i prevent that without m_takedamage 0 offset.

Last edited by pride95; 05-03-2018 at 09:07. Reason: Forgot about game
pride95 is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 05-03-2018 , 17:18   Re: [CSGO] Armor and movement SDKHook_OnTakeDamage
Reply With Quote #2

Try sdkhook trace attack
Indarello 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 19:25.


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