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.