Main/resources/[inventory]/qs-inventory/client/custom/misc/GiveStarterItems.lua

11 lines
433 B
Lua
Raw Normal View History

2025-06-07 08:51:21 +02:00
--[[
We recommend not modifying anything on this side, the Starter Items
are all in your server/custom/framework/esx.lua, it won't work in
qb-core since that framework has its native ones that do it automatically.
]]
AddEventHandler(Config.InventoryPrefix .. ':client:GiveStarterItems', function()
local id = PlayerId()
TriggerServerEvent(Config.InventoryPrefix .. ':server:GiveStarterItems', id)
end)