Scripts/resources/[qb]/qb-core/client/main.lua

15 lines
382 B
Lua
Raw Normal View History

2024-12-29 20:06:22 +00:00
QBCore = {}
QBCore.PlayerData = {}
QBCore.Config = QBConfig
QBCore.Shared = QBShared
QBCore.ClientCallbacks = {}
QBCore.ServerCallbacks = {}
exports('GetCoreObject', function()
return QBCore
end)
-- To use this export in a script instead of manifest method
-- Just put this line of code below at the very top of the script
-- local QBCore = exports['qb-core']:GetCoreObject()