Raised This Month: $ Target: $400
 0% 

How to create fake damage with attacker in HAM_TAKEDAMAGE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Max!
Member
Join Date: Jun 2009
Old 12-05-2010 , 06:00   How to create fake damage with attacker in HAM_TAKEDAMAGE
Reply With Quote #1

I need to find a way to inflict damage upon someone while saving the person attacking him. When i use fm_fakedamage, it saves the attacker as the world, instead of the client attacking him, so I need to find a method to create damage whose attacker I can detect with Ham_TakeDamage. Thanks in advance ;)
Max! is offline
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 12-05-2010 , 06:24   Re: How to create fake damage with attacker in HAM_TAKEDAMAGE
Reply With Quote #2

Code:
ExecuteHamB(victim, inflictor, attacker, Float:damage, damagebits);
__________________
hleV is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 12-05-2010 , 10:57   Re: How to create fake damage with attacker in HAM_TAKEDAMAGE
Reply With Quote #3

Quote:
Originally Posted by hleV View Post
Code:
ExecuteHamB(Ham_TakeDamage, victim, inflictor, attacker, Float:damage, damagebits);
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
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 11:24.


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