Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function hideCycle( ModelRef )
- HudRef:updateElementState(Titre, {name = "model_validation",
- menu = HudRef, modelValue = Engine.GetModelValue(ModelRef),
- modelName = "UIVisibilityBit." .. Enum.UIVisibilityBit.BIT_SCOREBOARD_OPEN})
- end
- local function hideCyclee( ModelRef )
- HudRef:updateElementState(Titre, {name = "model_validation",
- menu = HudRef, modelValue = Engine.GetModelValue(ModelRef),
- modelName = "UIVisibilityBit." .. Enum.UIVisibilityBit.BIT_UI_ACTIVE})
- end
- --HudRef:subscribeToModel(Engine.GetModel(Engine.GetModelForController(InstanceRef), "emox_gun_counter"), UpdateState)
- HudRef:subscribeToModel(Engine.GetModel(Engine.GetModelForController(InstanceRef), "UIVisibilityBit.".. Enum.UIVisibilityBit.BIT_SCOREBOARD_OPEN), hideCycle)
- HudRef:subscribeToModel(Engine.GetModel(Engine.Get
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement