renzu_motels
Fivem - Motel/Hotel Management. Hourly Rental System. Supports MLO and Shells. ESX/QBCORE
motel #hotel #motelroom #motelsystem #hotelroom #motelscript #motelshell #motelmlo
What is this?
A Simple Motel / Hotel System for players with Player Owned Business Motel / Hotel Management.
Player can buy the Motel using money with a configured business price from config and start Managing Rooms, Employees Etc, Send Invoice , Kick Occupants, Change Hour Rates, etc…
Player can rent a Room with a minimum of 1 hour.
Player can request a Keys for sharing purpose and player can access stash, wardrobes and more.
Download
Features
Player Motel/Hotel Business Management 🖱️
- Manage Occupants
- Kick Occupants
- Add Room to Players
- Change Hourly Rates
- Send Invoice to Player
- Withdraw Motel Revenue
- Add / Kick Employee
- Sell Motel
Player Options 🖱️
- Extend Room Duration
- Generate Keys
- End Rent
Hourly Rental System 🖱️
- Minimum 1 hour rental
Configurable Maximum Occupants per room 🖱️
- Player can share rooms if its configured from config.lua
Configurable Sharable Room Stash (stealable) or Unique per Players 🖱️
- Player can share Safes / Stashs if its allowed in config. or else its unique.
- Player can force share the Stash if Motel keys is shared to other player.
Police can Break in using Gunshot in doors. 🖱️
- Police Officer can destroy the door using a Gun shot to the Door
Lockpickable Doors 🖱️
- Thiefs can lockpick the Doors if they have it on the Inventory.
Supports MLO / Shells 🖱️
- Developers can Choose a MLO type or Shell type per Motel.
- ex. pinkcage is MLO and other is Shell type.
Supports Multiple Skin resource for Wardrobes. 🖱️
- Supports Fivem-Appearance
- Supports Illenium-appearance
- Supports renzu_clothes
- Supports qb-clothing
- you can add more easily in config.
Support Targets or Zone Markers 🖱️
- Supports ox_target
- Supports qb-target
- utilise ox_lib points / boxzones if Zones type.
- this can be configured in config.
Support Metadata item Keys Sharing 🖱️
- Tested in qb-inventory and ox_inventory
- Player can share the Keys of motel to other players for Door Access and Stash Access.
Dependency
- ox_lib
- ESX / QBCORE (qbox recommended since they utilise OX)
- ox_inventory / qb-inventory
- ox_target / qb-target (optional)
Item name
keys
Advanced
Developers can add other Target/Zones Points for each door.
Ex. Bed System, Shower System.
Example Config
doors = { -- doors and other function of each rooms
[1] = {
door = vec3(-936.25,-1311.38,6.20),
stash = vec3(-944.08,-1317.83,6.19),
wardrobe = vec3(-941.21,-1324.9,6.19),
fridge = vec3(305.26,-206.43,54.22),
bed = vec3(305.26,-206.43,54.22),
luckyme = vec3(0.0,0.0,0.0)
},
},
config.extrafunction = {
['bed'] = function(data,identifier)
TriggerEvent('luckyme')
end,
['shower'] = function(data,identifier)
TriggerEvent('shower_event')
end,
['fridge'] = function(data,identifier)
TriggerEvent('ox_inventory:openInventory', 'stash', {id = 'fridge_'..data.motel..'_'..identifier..'_'..data.index, name = 'Fridge', slots = 30, weight = 20000, coords = GetEntityCoords(cache.ped)})
end,
['exit'] = function(data)
local coord = LocalPlayer.state.lastloc or vec3(data.coord.x,data.coord.y,data.coord.z)
DoScreenFadeOut(500)
while not IsScreenFadedOut() do
Wait(10)
end
SendNUIMessage({
type = 'door'
})
return Teleport(coord.x,coord.y,coord.z,0.0,true)
end,
}
-- SHELL config
config.shells = {
['standard'] = {
shell = `standardmotel_shell`, -- kambi shell
offsets = {
exit = vec3(-0.43,-2.51,1.16),
stash = vec3(1.368164, -3.134506, 1.16),
wardrobe = vec3(1.643646, 2.551102, 1.16),
}
},
['modern'] = {
shell = `modernhotel_shell`, -- kambi shell
offsets = {
exit = vec3(5.410095, 4.299301, 0.9),
stash = vec3(-4.068207, 4.046188, 0.9),
wardrobe = vec3(2.811829, -3.619385, 0.9),
}
},
}
Item Blacklisting
Black list config
– this is only for ox_inventory
config.stashblacklist = {
['stash'] = { -- type of inventory
blacklist = { -- list of blacklists items
water = true,
},
},
['fridge'] = { -- type of inventory
blacklist = { -- list of blacklists items
WEAPON_PISTOL = true,
},
},
}
Todo
some features im looking to add in future like Job Owneds
Support
if you need more features or having trouble installing/using. Here
Shells
- 2 Default Shells included in this resource came from qb-interior which is probably owned by Kambi.