uniqers-spawn

How to install and all exports infos.

How To install

FOR QBCORE/QBUS/CUSTOMQBCORES FRAMEWORK

First stop or delete qb-spawn script or what you use spawn script. after

open qb-apartments/client/main.lua To integrate both the first spawn and normal spawn functionality for QBCore, ensuring compatibility with all spawn-related features such as jobs, gangs, houses, and apartments, locate and modify the relevant sections of the code to support unified functionality.

and save after open resources[qb]\qb-core\shared gang and job .lua for gang

like this,

and for job

and open qb-apartments/config.lua

change this

and done if u want you can use your custom apartment use FirstLoadAP() and if u want use custom create character codes use FirstLoad() at config.

FOR ESX/OLDESX/CUSTOMESX FRAMEWORK

First stop or delete your spawn script. after ESX basically has no apartment scripts, gang scripts, or house scripts, so you can't use spawns in those features. If you have these scripts, you can use them. If you are using one of these 3 scripts, contact us so we can make it compatible with the spawn script so you can use these features. If you are using multichar on your server, replace the spawn function codes with these codes. If there is no multichar, replace the codes how your character spawns and the code you use to spawn with these 2 codes below.

for client TriggerEvent for server part TriggerClientEvent

Your character will now be able to use the spawn system.

Since it does not use the esx apartment system to create a new character, the character is born in a designated place and created there. Therefore, you can continue to use the character script you are using or the character creation system in any script, or you can use the codes of that system in the config.

function FirstLoad() -- for esx first create screen if u have apertment system for esx you can use this or contact us. -- add your codes here. end

You can add it to this function. In this way, character creation codes also work in spawn. If you are using a special apartment system, contact us and we will add that system to the spawn script.

FOR QBX FRAMEWORK

First stop or delete qbx_spawn script or what you use spawn script. after QBX basically has no house scripts, so you can't use spawns in those features. If you have these scripts, you can use them. If you are using one of these scripts, contact us so we can make it compatible with the spawn script so you can use these features. If you are using multichar on your server, replace the spawn function codes with these codes. If there is no multichar, replace the codes how your character spawns and the code you use to spawn with these 2 codes below.

for client TriggerEvent for server part TriggerClientEvent

after open resources[qbx]\qbx_core\shared gang and job .lua

add this code your gang and jobs table.

like this, for gang

like this, for job

after open qbx_properties/server/property.lua and paste this code

and done

if u want you can use your custom apartment use FirstLoadAP() and if u want use custom create character codes use FirstLoad() at config.

also if u use 0r-apartment

open your 0r-apartment config file

and add your apartments this values

for example

Support & Updates & Questions

https://discord.gg/MyrGhbf9tM

https://discord.gg/MyrGhbf9tM

Last updated