SetHudCartMode - Game

Revision as of 11:09, 8 June 2011 by imported>Jlundin
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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