All codes in this document are in************ wais-hudv6/bridge/editable/client.lua ************file.
π― Showing Hud - Player Loaded#
You must trigger this event for hud to appear when your character is loaded or selected in your framework.
TriggerEvent('wais:hudv6:client:custom:playerLoaded')
Client event It should be triggered when the player or character is loaded.
πͺ Hide hud - Player Unload#
Run this event if the player abandons their character or wants to choose a new character.
TriggerEvent('wais:hudv6:client:custom:playerUnloaded')
Client event It should be triggered when the player or character is unloaded.
π Show Job - Update Job#
TriggerEvent('wais:hudv6:client:custom:setPlayerJob', job)
local job = {
label = "Job Label",
grade = {
name = "Grade Label"
},
onDuty = false
}
Client event Job data must be sent.
π₯·πΌ Show Gang - Update Gang#
TriggerEvent('wais:hudv6:client:custom:setPlayerGang', gang)
local gang = {
label = "Gang Label",
grade = {
name = "Grade Name"
}
}
Client event Gang data must be sent.
πΈ Show Money - Update Money ( Cash )#
TriggerEvent('wais:hudv6:client:custom:setPlayerMoney', 1000)
Client event money amount must be sent.
π¦ Show Bank - Update Bank#
TriggerEvent('wais:hudv6:client:custom:setPlayerBank', 1000)
Client event bank amount must be sent.
π Update Status - Drink, Burger And Stress#
TriggerEvent('wais:hudv6:client:custom:setPlayerStatus', status)
local status = {
["hunger"] = 100,
["thirst"] = 100,
["stress"] = 0,
}
Client event status data must be sent.
If you need more, you should create a support request as βI need Custom Framework Supportβ.