Solved Player had took down heli

Discussion in 'Rust Development' started by yozza, Aug 15, 2018.

  1. i am woundering if there is a plugin which announces in chat the player what took down the heli or had the last shot on the heli?
     
  2. uMod - GUI Announcements
    =========================
    Also
    Code:
    private void OnEntityDeath(BaseCombatEntity entity, HitInfo info)
    {
        var player = info.InitiatorPlayer;
        if(player == null) return;
       
        if (entity is BaseHelicopter)
        {
            // Code here
        }
    }
     
    Last edited by a moderator: Aug 15, 2018
  3. ty appreciate this
     
  4. @Wulf i think it's solved. How to close the topic? Shall I call you? Or just don't do anything?

    P.s. - Sorry for alert