AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How much Damage is caused? (https://forums.alliedmods.net/showthread.php?t=75840)

Merlin_S 08-13-2008 08:46

How much Damage is caused?
 
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

Jon 08-13-2008 08:51

Re: How much Damage is caused?
 
Look here: http://wiki.amxmodx.org/Half-Life_1_Game_Events#Damage

or hook Ham_TakeDamage.

Merlin_S 08-13-2008 08:54

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

Tank you!
Merlin


All times are GMT -4. The time now is 03:13.

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