SetHudCartMode - Game

Member of: Game Script

Sets or clears "cart mode" for the HUD.

SyntaxEdit

Function SetHudCartMode(bool abSetCartMode = true) native global

ParametersEdit

  • abSetCartMode: Specifies whether to set or clear cart mode.
    • Default: True

Return ValueEdit

None

ExamplesEdit

; Put the HUD into cart mode
Game.SetHudCartMode()


; Go back to "normal" HUD mode
Game.SetHudCartMode(false)

NotesEdit

If you disable movement (via DisablePlayerControls()) while the hud is in "cart mode" then the "cart mode" will be lost until you re-enable movement again.

See AlsoEdit