Motel Script | Owner, Customer, Employee Systems
Original price was: €50.€35Current price is: €35.
This motel script lets players rent rooms as customers, manage a motel as its owner or work there as employees. To offer a room, an employee or owner opens the list of nearby actors and picks the person they want to rent to.
The owner sends the offer in a menu. The prospective guest can take the room or turn it down. If a guest leaves on time but still owes the bill, whoever will rent the motel gets a warning.
During a stay
Guests can check the time left on their room, pay what they owe or leave. They can also send management a request. A guest can ask to move rooms, extend the stay or have authorized personnel call. Requesting a key renewal requires linden_inventory.
Each guest has a separate rental clock. It counts down while that player is in the game. The script uses no cron system. Guests who have paid receive notices as their stays progress. Notices go out when 50%, 60%, 70%, 80% and 90% of their time has passed.
For a guest who still owes rent halfway through a stay, the room goes under suspension for half the rental period. Outstanding rent also carries a financial penalty at each of the following points. You can set each percentage.
- Once 60% of the stay has passed, the default penalty is 10%.
- At the 70% mark, the default penalty is 13%.
- At the 80% mark, the default penalty is 15%.
- At the 90% mark, the default penalty is 20%.
When the rental clock runs out, guests who still owe rent incur the specified floor sanction. By default, that comes to twice their outstanding rent.
Setting the rent
You can specify how long a guest may stay in minutes or hours. The number of hours a guest chooses can determine how much money you withdraw. You can cap that withdrawal. Each motel can have its own lower and upper rent limits, with settings in minutes or hours.
In the example, motel A has a lower limit of 1500 hours and an upper limit of 3500 hours. The example using minutes charges $1500 for 10 to 60 minutes. With hourly pricing, the example allows a payment from 1500 to 3500 for one hour. For two hours, multiply each limit by 2. The guest would pay at least 3000 and at most 7000.
Running the motel
You can enable motel purchases in the config. A player who buys a motel takes over as its manager. Admins and designated motel officials can also add owners.
As owner, you can hire staff, decide what to pay them and change a salary. You can message an employee, give them an award or dismiss them. Authorization can pass either way. You can grant it to an employee or receive it from them.
Motel staff work through the motel’s own infrastructure. A police officer can hold a motel job too. Employees draw pay for the period you set. What they can do in their menu depends on the access their owner grants.
For an occupied room, the owner can extend the rental, move the guest or evict them. Owners can read customer requests and send customers messages. With linden_inventory, an owner can make a new key for a customer. Owners can also suspend or remove rooms. They have access to the safe for both deposits and withdrawals.
Motels, maps and server setup
The 8 motels have 127 rooms between them. Their maps come with them, including more than 5 walk-in motel MLOs. Support covers the motel only. Maps are outside its scope, and map editing is unavailable. To add another motel or delete one, use BuildData.
English and Turkish are supported. All available notifications work with the script, including pNotify, mythic and np. You can use GCPHONE if you want phone messages. Only cases such as motel rentals and messages about time use the phone.
- For a wardrobe, use esx_skin or qb-clothing.
- Inventory options include linden_inventory, qb-inventory and disc-inventoryhud. The optional meta system needs linden_inventory.
- SQL options include oxmysql and ghmattimysql.
- For player identification, the script accepts
identifierorCitizenid.
Motel activity log
The standard log records License, Name, Steam id and In-game id. Room entries cover a new rental, a guest changing rooms or leaving, a renewed rental, a lease expiring and a room being deleted. The log also shows when someone creates a key and whether a request was accepted or rejected.
Financial entries cover invoices being created, bills being paid, rent being paid and money going into or out of the safe. Staff entries cover hiring, dismissal, salary changes, contributions to employees and changes in employee authorization. The log also includes Do not give motel owner [via command.]

Brenda Arreola –
As a server owner, I appreciate how well optimized Motel Script | is. Doesn’t impact performance at all.