Raised This Month: $ Target: $400
 0% 

'controlling' damage taken


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
commonbullet
Veteran Member
Join Date: Oct 2005
Old 10-06-2006 , 14:35   'controlling' damage taken
Reply With Quote #1

I’m trying control damage taken by a player depending on his health; is there a way to reduce or block damages to a player? I tried to hook “Damage” messages and recover the damage taken, it would work unless the player gets a damage that sets his health to less than 1 – then nothing prevents him to die.

Also I tried to check in prethink forward if user's health is <= 0 so it could be recovered, it didn't work though (player would die anyway).

EDIT: I don't mean to make a 'god mode', just want to prevent players to die in some situations.

Last edited by commonbullet; 10-06-2006 at 14:49.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
 



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 04:50.


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