🕵️♂️Usage
Player Connecting
Placeholder values shown on FIRST JOIN only.
// Placeholder values shown on FIRST JOIN only. // These values are DISPLAY-ONLY – players do NOT receive this money or job in-game. firstJoin: { money: 12500, // Money to display job: "Unemployed" // Job placeholder } };NUI receives this via
def.handover().
Loading Screen
html/index.htmlreadsconfig.jsto:Show background (video or image).
Spin through
songswith cover art.Render social buttons.
Display stats: Name, $bank, Job.
Client Events
Listens for ESX/QBCore events (
playerLoaded,setAccountMoney,setJob) to push updated stats viaSendNUIMessage.
Server Events
On
playerDropped/OnPlayerUnload, stores the last char’s name, money, and job back into yourrisk_lastchartable.
Last updated