Housing script made for ESX & QBCcore.
Supports shell, ipl & mlo interiors. You can furnish your house and give your friend a key to share!
Buy here: Tebex (€34.99 before tax)
Features:
- Rentable houses / apartments
- Apartments - multiple people can purchase a room at the same apartment complex
- Multiple different interior types: Shells, IPL & MLO
- Support for both ESX & QBCore
- Lockpicking
- Furnish your house / apartment
- Share your keys with your friends
- Wardrobe & storage
- Support for qb-clothing, default ESX outfits & fivem-appearance
- Support for qb-weathersync, cd_easytime & my version of vSync
- Extremely configurable
- Good performance
Supported garage scripts:
Supported inventories:
- Default ESX (menu)
- ox_inventory
- chezza inventory
- qb-inventory
Code accessible | 1 out of 34 files is encrypted (158 lines) |
Subscription based | No |
Lines (approximately) | 4 696 (11 325 including config files) |
Requirements | ESX / QBCore | loaf_lib | loaf_keysystem | mysql-async or oxmysql | Starter Housing |
Support | Yes |
Check out my other releases!
- [RELEASE] [PAID] [ESX & QB] Loaf - Vanilla unicorn job
- [RELEASE] [PAID] [STANDALONE] Loaf - Operational TV's
- [PAID] Loaf - Bank robbery V2
- [RELEASE] [PAID] [ESX] Loaf - Motels
- [RELEASE] [PAID] [STANDALONE & ESX] Loaf - Hospital bed
- [RELEASE] [PAID] [STANDALONE] Loaf - Basketball
- [PAID] [QB & ESX] Loaf - Jewelry Heist
- [PAID] [QB & ESX] Loaf - Realtor job
- [RELEASE] [PAID] Loaf - Store robberies
- [FREE] [STANDALONE, ESX & QB] Loaf - Spike Strips V2
Old post
Housing script for ESX that uses shells (basically houses you can spawn on the map as an object). You can furnish your house, copy keys, lockpick doors and more!
The script was made for ESX v1 final, but it should work on older versions too, if you follow the guide included in the download.
Features
• Furnish your house. Go to IKEA to buy furniture
• Add how much furniture you want in the config.
• Sell houses, configure how many % you should get back.
• Fully functional for OneSync.
• Fully synchronised between players.
• Multiple different house types.
• 300+ buyable houses all around the map!
• Language is fully done via the config, meaning you can easily translate it!
• Enable / disable 3D text
• Enable / disable garage (requires my garage)
• Enable / disable lockpicking
• Configure max amount of properties one player can own
• Key system, give keys to friends so they can unlock your home when you are not online
• Automatically sell houses from inactive users
• Police can raid houses
• Store items & weapons in furniture (only some furniture can store items & weapons).
• Weapon components are saved
• Own multiple houses
• And a lot more.
Updates
Update 2021-02-08
Added:
- You can change the default alignment for all menus
- You can change the control for main action (E)
- You can change the control for secondary action (G)
Bugfix:
- Fixed a bug where it would unlock the door if you were police and tried to press G (manage house), and police raiding were enabled.
Update 2021-02-11
Added:
- You can now transfer your property to nearby people
- You can now change clothes
- Stripper pole & lap dance chair added to IKEA
- You can pole dance, lap dance & sit
Preview: YouTube
Update 2021-02-13
Bugfixes:
- Fixed bugs when leaving the server when inside a house
- Fixed bugs when transferring a house (says someone is in the house when it’s empty)
- Fixed a bug where you spawn in the air after leaving the server while inside a house
Update 2021-05-01
- Bugfix when leaving a house
- Notifications when locking a door
- You can now choose what interior to get when purchasing (can be disabled in the config)
- You can now configure it to require a key to manage furniture
- People with a key can now use the garage (can be turned off in config)
- Added discord logs for storage, entering a house & locking a house
- Added support for my realtor job
Update 2021-06-05
Added:
Config.Blips.Scale
- the default scale of housing blips (line 86 in config)Config.Blips.IKEAScale
- the scale of the IKEA blip (line 87 in config)Config.Blips.Categorize
- if housing blips should be in the “Property” category (line 88 in config)
Bugfixes:
- Potentially fixed a bug where furniture would not load. (I can’t reproduce this error on my end - not 100% sure if it has been fixed, lmk if it still isn’t working)
Update 2021-06-23
Added:
- export
InHouse
, returns true if you are in a house. false/nil otherwise. You can check if inside a specific house by parsing the house id. - export
CurrentHouse
, returns the current house id. - event
loaf_housing:entered_house
which gets triggered when the user enters a house, parsing the house id. - You can now remove outfits
Bugfixes:
- Fixed an issue where you could preview a house even though previewing was disabled in the config
Update 2021-07-01
Added:
- Support for ModFreakz inventory
- Support for @Linden’s inventory
- Ability to change inventory in the config
Inventory = "default", -- what inventory you use, valid options:
--[[
default (menu based)
modfreakz
linden (linden_inventory: https://github.com/thelindat/linden_inventory) FREE, I RECOMMEND THIS
--]]
Update v1.1.2
- Fixed a bug where players could sell the same house multiple times by disconnecting their ethernet cable (if you are still able to sell multiple times, please dm me!)
- Added notification when you are using an old version of the resource
- Added support for ox_inventory (BETA)
- Added /furnish command
- Added the ability to create furniture consisting of multiple objects
- Added support for K4MB1’s new Mansion shells: https://k4mb1.tebex.io/package/4783251.
to use them, uncomment line 168-176 in the config.lua - Multiple K4MB1 shells are now included with the script for free (Including the furniture store interior)!
Video: youtube
Requires: my keysystem
Showcase: Loaf x K4MB1 - Housing rewrite - YouTube
Buy here: Tebex (€29.99 before tax)