Renzu_motels - Motel / Hotel Management - Hourly Rental System | MLO / Shells

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

:fire: 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

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.
37 Likes

@Renzuzu you don’t stop my Friend…GREAT as ALWAYS

4 Likes

Thank you :heart_eyes:.

2 Likes

nice share!!

2 Likes

Amazing :fire:

Pure gas :fuelpump:

2 Likes

is there any way to remove player managment?

2 Likes

Can this script be also converted to Chezza inventory for exemple?

1 Like

Renzu, do you have any discord by chance? Your scripts are insane <3

1 Like

It’s open source… you can convert whatever?

1 Like

i dont know if chezza have metadata support.

and inventory usage is only for the keys

for remove item and add item function you can go to bridge/framework

@Bialutki04

for what purpose? what player management? room management or the player options?

I just don’t want to use the business option for players

I have the mlo but the doors do not close is there an option

need add Chezza’s Inventory v3.6 or v4

Absolute Unit as always, releasing amazing free scripts

2 Likes

Hi, how to get into My Room Menu? Like where can i open it?

i just added an option to turn off the Buy Motel option for players.

@gamersmissions you need to add correct Door Hash in Motel config.

@aRczi123
Default is target, you can turn off target if you cant see it and it will show a marker and context menu when you press [E]

@TheWitcherRp sadly i dont have chezza inv so i cant add, you can pull request.

1 Like

But it should be inside MLO on specific coords or do i nned to set it by myself?

yes, outside of MLO (doors)
this resource use DoorSystemSetDoorState
and to add Door to System
its requires Model hash of door and coordinates using AddDoorToSystem
coordinates does not need to be exact location of door, nearby by 2.0 distance is fine.

That’s right, I set the door correctly, I can open it, close it, use lockpick, but I still don’t see any other options from menu like pay rent od create key.

Good job as always!