π»FW: QBCore
Tutorial: Implementing FryDev Spawn with qb-core / qb-multicharacter
Step 1: Check Basic Setup
Make sure you've completed our Basic Setup. You can find the details here!
Step 2: Verify Resources
Make sure your fry_spawn config file is correctly configured in your resource dependencies and its within the [qb] or [whatevercore] folder .
Update it as follows in qb-multicharacter -> fxmanifest.lua:
dependencies {
'qb-core',
}Step 3: Modify qb-multicharacter
Now, let's make some changes in qb-multicharacter to ensure compatibility with FRYDEV Spawn.
In the qb-multicharacter -> server -> main.lua file, find line 88, which looks like this:
RegisterNetEvent('qb-multicharacter:server:loadUserData', function(cData)
-- Existing code
end)Replace the existing code block with the following:
Additionally, find the qb-multicharacter -> server -> main.lua file and locate the following code block:
Replace the existing code block with the following:
Step 4: You're Ready!
After completing these steps, you're all set to use FRYDEV Spawn with qb-core / qb-multicharacter. Please ensure that you check our "Setup Apartments" GitBook for additional information on how to set up apartments if needed.
π¬Setup ApartmentsLast updated
Was this helpful?