Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
pluginpermanentcrosshair.c
Go to the documentation of this file.
1 class PluginPermanentCrossHair extends PluginBase
2 {
3  private Hud m_Hud;
4 
5  void SwitchPermanentCrossHair(bool state)
6  {
7  if (!m_Hud)
8  m_Hud = GetGame().GetMission().GetHud();
9  m_Hud.SetPermanentCrossHair(state);
10  }
11 }
GetGame
proto native CGame GetGame()
m_Hud
Hud m_Hud
Definition: displaystatus.c:29
PluginBase
Definition: pluginadminlog.c:1
Hud
Definition: gameplay.c:623