Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. local function hideCycle( ModelRef )
  2. HudRef:updateElementState(Titre, {name = "model_validation",
  3. menu = HudRef, modelValue = Engine.GetModelValue(ModelRef),
  4. modelName = "UIVisibilityBit." .. Enum.UIVisibilityBit.BIT_SCOREBOARD_OPEN})
  5. end
  6.  
  7. local function hideCyclee( ModelRef )
  8. HudRef:updateElementState(Titre, {name = "model_validation",
  9. menu = HudRef, modelValue = Engine.GetModelValue(ModelRef),
  10. modelName = "UIVisibilityBit." .. Enum.UIVisibilityBit.BIT_UI_ACTIVE})
  11. end
  12.  
  13. --HudRef:subscribeToModel(Engine.GetModel(Engine.GetModelForController(InstanceRef), "emox_gun_counter"), UpdateState)
  14. HudRef:subscribeToModel(Engine.GetModel(Engine.GetModelForController(InstanceRef), "UIVisibilityBit.".. Enum.UIVisibilityBit.BIT_SCOREBOARD_OPEN), hideCycle)
  15. HudRef:subscribeToModel(Engine.GetModel(Engine.Get
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement