Installation
Download
Before starting, you must log in to the CFX portal to download the asset. You will be able to download it as many times as you want on the official CFX page. Just as you download it the first time, you will also download it multiple times in the future to get updates.
Loggin in to the CFX Portal
First, log in to the official CFX portal by clicking here.

Dependencies
(Optional) In the following link you can download the mlo that we recommend to use for the interior of the rooms:
https://forum.cfx.re/t/mlo-free-op-motel-room/3867007
Add Resources
Once you have downloaded the script and dependencies (if necessary), you must add them to your server's server.cfg file. This resource must always be started below your framework and inventory. Otherwise, functionality issues or critical errors may occur.
# Default & Standalone Resources
# ------------------------------
ensure spawnmanager
ensure oxmysql
ensure bob74_ipl
# ESX Legacy Core
# ---------------
ensure [core]
ensure [inventory]
ensure op_motel_01
ensure bit-motels
SQL Query
Use the following sql query in your database:
CREATE TABLE IF NOT EXISTS `bit_motels` (
`room` int(10) DEFAULT NULL,
`motel` varchar(50) DEFAULT NULL,
`renter` varchar(50) DEFAULT NULL,
`rentername` varchar(200) DEFAULT NULL,
`amount` int(20) DEFAULT NULL
);
CREATE TABLE IF NOT EXISTS `bit_motels_owners` (
`motel` varchar(50) DEFAULT NULL,
`owner` varchar(50) DEFAULT NULL,
`balance` int(200) DEFAULT NULL
);
Restart
Once you have completed these steps, restart your server and the installation will be complete.
IMPORTANT · The name of the script folder must not be changed, otherwise the resource will not work correctly. · Do not edit the encrypted files in any way.
Last updated