🎮Client Event Reference
Learn about and how to use common core client events!
QBCore:Client:OnPlayerLoaded
RegisterNetEvent('QBCore:Client:OnPlayerLoaded', function()
print('Im a client and i just loaded into your server!')
end)QBCore:Client:OnPlayerUnload
RegisterNetEvent('QBCore:Client:OnPlayerUnload', function()
print('Im a client and i just logged out of your server!')
end)QBCore:Client:PvpHasToggled
RegisterNetEvent('QBCore:Client:PvpHasToggled', function(pvp_state)
print('PVP mode has been set to '..pvp_state..'!')
end)QBCore:Command:SpawnVehicle
Arguments
Type
Required
Default
QBCore:Command:DeleteVehicle
Arguments
Type
Required
Default
QBCore:Player:SetPlayerData
QBCore:Client:VehicleInfo
Field
Type
Description
QBCore:Notify
Arguments
Type
Required
Default
QBCore:Client:UseItem
Arguments
Type
Required
Default
QBCore:Command:ShowMe3D
Arguments
Type
Required
Default
QBCore:Client:OnSharedUpdate
QBCore:Client:OnSharedUpdateMultiple
QBCore:Client:SharedUpdate
QBCore:Client:UpdateObject
Last updated
Was this helpful?
