Help me fix injured system
#6

If you don't need to use teams elsewhere, you can have everyone on the same team always. This prevents most player-to-player damage and iirc OnPlayerTakeDamage is still called. You'd have to set health/armor on your own though using (SetPlayerHealth/Armour) when taking damage.

FLOAT_INFINITY also could work as mentioned, is essentially unlimited health, although this means you can't use GetPlayerHealth on wounded players.
Reply


Messages In This Thread
Help me fix injured system - by Dirda - 03.02.2018, 08:29
Re: Help me fix injured system - by Mugala - 03.02.2018, 09:07
Re: Help me fix injured system - by Dirda - 03.02.2018, 09:43
Re: Help me fix injured system - by Dirda - 03.02.2018, 12:36
Re: Help me fix injured system - by Mugala - 03.02.2018, 16:27
Re: Help me fix injured system - by Abagail - 03.02.2018, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)