AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Damage Done? (https://forums.alliedmods.net/showthread.php?t=40746)

tsilenzio 07-02-2006 22:33

Damage Done?
 
I was wondering how you could figure out what damage is done to someone? Like for what i had in mind would be to let someone shoot another. Figure out how much hp they had before they were shot, add that hp back quickly (so quickly they dont notice, and if their health is less then 1 then they still live. Is this a good way of doing it? If not please explain another way? Also explain how what ever way works? Like using commands? Thank you so much in advance!

- tsilenzio

Xanimos 07-02-2006 22:34

Re: Damage Done?
 
If you are trying to stop people from shooting people use set_user_hitzones()

tsilenzio 07-02-2006 23:04

Re: Damage Done?
 
It is like that, however I would like to be able to figure out how much damage is done to one person, and then multiply it by a percent 5% 50% 250%, so on and then deal that amount of damage. and if its 0% then still hit the person just deal no damage?

Xanimos 07-03-2006 01:27

Re: Damage Done?
 
BlueRaja made a damage multiplier plugin. So get that.

http://forums.alliedmods.net/showthread.php?t=8437


All times are GMT -4. The time now is 08:05.

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