Skip to content

Custom Core Integration

In this area, you will see how to make integration for your custom framework.

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.

lua
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.

lua
TriggerEvent('wais:hudv6:client:custom:playerUnloaded')

Client event It should be triggered when the player or character is unloaded.


πŸ”– Show Job - Update Job#

lua
TriggerEvent('wais:hudv6:client:custom:setPlayerJob', job)

Client event Job data must be sent.


πŸ₯·πŸΌ Show Gang - Update Gang#

lua
TriggerEvent('wais:hudv6:client:custom:setPlayerGang', gang)

Client event Gang data must be sent.


πŸ’Έ Show Money - Update Money ( Cash )#

lua
TriggerEvent('wais:hudv6:client:custom:setPlayerMoney', 1000)

Client event money amount must be sent.


🏦 Show Bank - Update Bank#

lua
TriggerEvent('wais:hudv6:client:custom:setPlayerBank', 1000)

Client event bank amount must be sent.


πŸ” Update Status - Drink, Burger And Stress#

lua
TriggerEvent('wais:hudv6:client:custom:setPlayerStatus', status)

Client event status data must be sent.


If you need more, you should create a support request as β€˜I need Custom Framework Support’.