Hello all!
How do I get my UI is not shown on screen of death?
Solved Setting CUI to not overlap death screen?
Discussion in 'Rust Development' started by DEUSNEXUS, Jan 25, 2017.
-
Attached Files:
-
-
-
Wulf Community Admin
-
But it does not work -
Wulf Community Admin
-
-
Code:void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info) { if (entity == null || !(entity is BasePlayer)) return; NextTick(()=>{ if (entity != null && entity.health <= 0f) { ...Your Destroy UI Code } }); }
-
It was decided, thanks all