Raised This Month: $ Target: $400
 0% 

How much Damage is caused?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Merlin_S
New Member
Join Date: Aug 2008
Old 08-13-2008 , 08:46   How much Damage is caused?
Reply With Quote #1

Hello all together,
First of all: Hi to the Forums, what I read by now was really helpful, but now there is a question i couldn't find an answer to (And YES, I used the Search-function, but i didn't know what to search for, and what i searched for wasn't helpful...). I'm relativley good PAWN Scripter, just AMX coding is new to me.

My Question is: Is it possible to detect how much Damage is caused using the Damage-Event? And if it is: How?

Merlin
Merlin_S is offline
Send a message via ICQ to Merlin_S Send a message via MSN to Merlin_S Send a message via Skype™ to Merlin_S
Jon
Veteran Member
Join Date: Dec 2007
Old 08-13-2008 , 08:51   Re: How much Damage is caused?
Reply With Quote #2

Look here: http://wiki.amxmodx.org/Half-Life_1_Game_Events#Damage

or hook Ham_TakeDamage.
Jon is offline
Merlin_S
New Member
Join Date: Aug 2008
Old 08-13-2008 , 08:54   Re: How much Damage is caused?
Reply With Quote #3

Oh, Thank you!
That's my mistake, i didn't read exactly, DamageTake could be what i need
Is DamageSave the amount of health which is left after the attack?

Tank you!
Merlin
Merlin_S is offline
Send a message via ICQ to Merlin_S Send a message via MSN to Merlin_S Send a message via Skype™ to Merlin_S
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 03:13.


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