Raised This Month: $ Target: $400
 0% 

[HL] Giving Damage To Entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 02-08-2010 , 16:23   Re: [HL] Giving Damage To Entity
Reply With Quote #4

Quote:
Originally Posted by Flipper_SPb View Post
If player has armor (Half-Life), it is not correct. Damage will affect on health and armor during the game. Example:
player has 100 HP/100 AP. After taking 50.0 damage he will be 90 HP/ 80 AP

I can calculate the loss of armor & health separately and use set_pev(player, pev_armorvalue, AP) and set_pev(player, pev_health, HP) to set it. But may be it's not best way.
My bad, didn't see the [HL] in the title.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
 



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 07:23.


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