Client-Side

Client Exports

Below are all the useful exports that you can use in other resources, be sure to read their descriptions.


Display

Manage the hud display

-- boolean: true to show / false to hide
exports['vms_hud']:Display(boolean)

hasSeatbelt

This function will return information about whether the player has a seatbelt on or unbuckled.

exports['vms_hud']:hasSeatbelt()

Events

Below are all the useful events that you can use in other resources, be sure to read their descriptions.


Add Stress

With this event you can add some stress to the player.

-- value: number for example 8.0
TriggerServerEvent('vms_hud:addStress', value)

Remove Stress

With this event you can remoove some stress to the player.

-- value: number for example 8.0
TriggerServerEvent('vms_hud:removeStress', value)

Last updated