Exports

Hide Hud

It.... hides the hud...

exports.sn_lib:hideHud()

Show Hud

It.... shows the hud...

exports.sn_lib:showHud()

Toggle Hud

It.... toggles the hud...

exports.sn_lib:toggleHud(bool)
  • bool?: boolean (optional)

Update Hud Values

Updates the hud stats like hunger and stuff yk

exports.sn_lib:updateHudStats(data)
  • data: table

    • hunger?: number

    • thirst?: number

    • stress?: number

    • isDead?: boolean

Update Seat Belt

Sets the current seatbelt value

  • value?: boolean (optional)

    • If nill it will just toggle the current value

  • notify?: boolean

    • show notification?

Last updated