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

Solved [CS:GO] damage to client


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 09-27-2016 , 12:37   [CS:GO] damage to client
Reply With Quote #1

If i want to make damage from attacker to victim, i should use this function:
SDKHooks_TakeDamage(victim, attacker, attacker, float(damage), dmg_type);
Or there is another, better way to make it

Last edited by Indarello; 09-28-2016 at 03:52.
Indarello is offline
BraveFox
AlliedModders Donor
Join Date: May 2015
Location: Israel
Old 09-27-2016 , 12:46   Re: [CS:GO] damage to client
Reply With Quote #2

you want to make damage from attacker to victim? I don't get you, I think you mean to edit the damage from the attacker to victim no?
__________________
Contact Me:
Steam: NoyB
Discord: Noy#9999
Taking Private Requests
BraveFox is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 09-27-2016 , 13:07   Re: [CS:GO] damage to client
Reply With Quote #3

"want to make damage from attacker to victim" YES
"edit the damage from the attacker to victim" NO
for edit i use "HookEvent("player_hurt", EventPlayerHurt, EventHookMode_Pre);"
I need function for make damage
Indarello is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-27-2016 , 15:00   Re: [CS:GO] damage to client
Reply With Quote #4

SDKHooks_TakeDamage is fine
__________________
Do not Private Message @me
Bacardi is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 09-27-2016 , 16:03   Re: [CS:GO] damage to client
Reply With Quote #5

Quote:
Originally Posted by Bacardi View Post
SDKHooks_TakeDamage is fine
Except it ignores damage filters.
Mitchell is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 09-28-2016 , 03:52   Re: [CS:GO] damage to client
Reply With Quote #6

thanks
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 23:26.


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