Skip to Content

Client events

Events the HUD listens to

Send from the server with TriggerClientEvent, or from the client with TriggerEvent (without source).

gui_hud:mostrar

Show or hide the HUD. Also accepts hudActived.

TriggerClientEvent("gui_hud:mostrar", source, false)

gui_hud:progresso

Progress bar. Also accepts Progress.

TriggerClientEvent("gui_hud:progresso", source, 5000)

gui_hud:status

TriggerClientEvent("gui_hud:status", source, "fome", 80)

gui_hud:nitro:encher

Fills the nitro of the vehicle the player is in.

TriggerClientEvent("gui_hud:nitro:encher", source)

Events the HUD fires

gui_hud:cinto

Local event, fired when the seatbelt changes.

AddEventHandler("gui_hud:cinto", function(buckled) print("seatbelt:", buckled) end)