Raised This Month: $ Target: $400
 0% 

client_damage help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lunarwolfx
Member
Join Date: Feb 2005
Old 01-30-2007 , 23:56   Re: client_damage help
Reply With Quote #2

The last time I checked, you can't actually block damage, but I think one of avalanches plugins diverts an attack, thus damage isn't done to a certain player.

You can also set the players hp to something really high like 355, and add health back when damage occurs like you said earlier, and then after all calculations are done, and the hp is less than 255, you can kill the player.

If you're going to go with the health method though, I would choose a higher number for hp because it's possible that you can fall off something really high and it would do more than 355 damage. Thus, the fall would kill you, and then after calculation is done, you get killed again while you're dead, which would cause two death messages.
lunarwolfx 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 00:36.


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