🕹️Exports
👁 Hide Hud
You can use the following event or export to hide or show Hud.
-- Show hud
exports["wais-hudv6"]:showHud(false)
-- Hide hud
exports["wais-hudv6"]:showHud(true)-- Show Hud
TriggerEvent('wais:hudv6:client:hideHud', false)
-- Hide hud
TriggerEvent('wais:hudv6:client:hideHud', true)🌎 Hide Radar ( Minimap )
-- Show radar ( minimap )
exports["wais-hudv6"]:showRadar(false)
-- Hide radar ( minimap )
exports["wais-hudv6"]:showRadar(true)-- Show radar ( minimap )
TriggerEvent('wais:hudv6:client:hideRadar', false)
-- Hide radar ( minimap )
TriggerEvent('wais:hudv6:client:hideRadar', true)📸 Cinematic Mode
-- Open Cinematic Mode
exports["wais-hudv6"]:cinematic(true)
-- Close Cinematic Mode
exports["wais-hudv6"]:cinematic(false)-- Open Cinematic Mode
TriggerEvent('wais:hudv6:client:cinematic', true)
-- Close Cinematic Mode
TriggerEvent('wais:hudv6:client:cinematic', false)⛓️💥 Get Belt State
-- return @boolean
exports["wais-hudv6"]:seatbelt()print(LocalPlayer.state.belt)🎛 Get Player Customizations
You can access many personalisations of the user such as status, carhud, rightcorner, fuel type etc. with this export.
exports["wais-hudv6"]:customizations(type)-- Available types and returnable datas.
local carhud = {
style = "modern", ---@string
speed = "kmh", ---@string
behaviors = {} ---@table
}
local status = {
style = "circle", ---@string
behaviors = {} ---@table
}
local rightCorner = {
style = "modern", ---@string
behaviors = {} ---@table
}
local map = {
type = "square", ---@string
radius = false, ---@boolean
position = {x = 0, y = 0} ---@table
}
local song = {
url = "https://www.youtube.com/watch?v=SONG_ID", ---@string
id = "SONG_ID", ---@string
title = "Song Title", ---@string
publisher = "Channel Name", ---@string
cover = "cover_url", ---@string
duration = 0, ---@number ( Current Duration )
maxDuration = "PT0M" ---@string
} ---@table📟 Open Car Control
-- return @boolean
exports["wais-hudv6"]:openCarcontrol()-- Client event & Default event name
TriggerEvent('wais:hudv6:client:openCarControl')Last updated