Client guide

Framework events

Player Loaded


This is a framework event triggered when the player is fully loaded into the server. In the script, it is used to automatically apply the performance boost as soon as the player is ready to play.

-- This is an example from the brnx-fiveboost qb.lua file

AddEventHandler('QBCore:Client:OnPlayerLoaded', function()
    local mySettings = Lib.Callback.TriggerSync('brnx-fiveboost:main:getSettings')
    applyBoost( mySettings )
end)

Last updated