Installation
0Resmon Apartment Installation Document and Basic Concepts
This installation guide covers both ESX and QBCore frameworks.
What is required for installation
0r_lib (You can find it on your Keymaster.)
Map Files (You can find it script files)
Supported Inventories
qb-inventory
ox_inventory
ESX
QBCore
QBCore QB-Apartment ?
Q: I want new players to choose an apartment and have a random room, what should I do?
A: First of all, you should be using qb-spawn and qb-multicharacter and qb-apartments for this. After this you won't need qb-apartments. However, it is your responsibility to make sure that other scripts that use it don't malfunction. The functions have been edited to replace qb-apartments. So if you use other scripts, you should fix them according to your settings. Here is what you need to do in order:
1- In qb-multicharacter: server/main.lua replace this code block:
2- In qb-spawn/fxmanifest: replace shared_scripts
with the following.
3- qb-spawn/client.lua
You must change all Apartments.Locations
definitions in the file to Apartments
.
For example: client line 136.
4- qb-spawn/client.lua line 135 / function RegisterNUICallback('chooseAppa', function(data, cb)
Then restart your server. Everything should work properly. Please don't create a support ticket until you are sure everything is working properly.
What You Need to Know
Q: Where is the sql file ?
A: database.sql
Q: How to add a motel ?
A: You can take an example from Config.Apartments in the Config file.
Last updated