fakedamage
i want to set damage, dealt to the enemy, if hit into the head or in other body part. if it would be shot into the head, it would deduct 150 from victim's health and then set the damage that attacker did to victim to 150. same if other part of body than head would be hit, only the number is different. code:
Code:
what is wrong? thanks :P |
Try this
if you want to use the function below put this in the public you want it to be used Code:
Put this in your plugin Code:
+Karma should be nice if it works |
Code:
Code:
|
I think this would work. Not too sure though.
Code:
If I'm right (I don't really know) +karma? :D |
i'm not sure you understood me, so i will explain it once more:
zombies have 450 HP. if i shoot them three times into the head, they should die. if i shoot them in other body parts, it would only take 10 HP from them. but this occures: [img]http://img389.**************/img389/4738/dedust3dj.jpg[/img] so, Ron shouldn't be even dead. i want to sum up the 150 damages and 10 damages so it would show like 5 hits and 470 dmg, because is shot that zombie three times in the head... can it be solved? |
| All times are GMT -4. The time now is 16:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.