How do I prevent this?
Screenshot
Rust Don't die cold
Discussion in 'Plugin Requests' started by Kurbandark67, Jan 10, 2018.
-
As an admin or for all players?
-
all players
-
The easiest way:
Code:object OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info) { if (entity is BasePlayer && info.damageTypes.GetMajorityDamageType() == DamageType.Cold ) return false; return null; }
-
-