Esempio n. 1
0
 public void RpchdrDead()
 {
     //play death animation
     if (isLocalPlayer)
     {
         Game.PLAYER_DEAD(m_entity);
         m_entity.health = m_entity.healthMax;
         m_entity.CmdClientSetHealth(m_entity.healthMax);
     }
     else
     {
         //m_entity.health = 0;
     }
 }