![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik main image](https://forum-cfx-re.akamaized.net/original/5X/f/c/3/b/fc3b059cdd0ff1efc87cace01595613bc8f1293c.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 1](https://forum-cfx-re.akamaized.net/original/5X/f/c/3/b/fc3b059cdd0ff1efc87cace01595613bc8f1293c.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 2](https://forum-cfx-re.akamaized.net/optimized/5X/0/e/5/7/0e578b35ff221da712880387a8a233beb78faddf_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 3](https://forum-cfx-re.akamaized.net/optimized/5X/b/e/6/2/be62128a352ed0049d6789a94e4a37fb1e68b3f3_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 4](https://forum-cfx-re.akamaized.net/optimized/5X/7/5/4/6/7546f9c1f34bf5645dfbdf13e334f6c19d2ec604_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 5](https://forum-cfx-re.akamaized.net/optimized/5X/4/8/f/3/48f3bf944678a9342c3890ca358dfa169d3913b1_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 6](https://forum-cfx-re.akamaized.net/optimized/5X/b/b/3/c/bb3c4ea25b9bef0c8e3740107396b0f0248afad9_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 7](https://forum-cfx-re.akamaized.net/optimized/5X/e/8/2/1/e82112b52757120af97a77584d24054313fddd96_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 8](https://forum-cfx-re.akamaized.net/optimized/5X/2/5/9/f/259fcc7be9d32c19f41633a546924149dd5ec57a_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 9](https://forum-cfx-re.akamaized.net/optimized/5X/0/0/7/2/00722df82495b7e051a926e429817ea9fad2647a_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 10](https://forum-cfx-re.akamaized.net/optimized/5X/5/b/e/0/5be0eca952d0ff2e44b241478dd0f53a35c8ba03_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 11](https://forum-cfx-re.akamaized.net/optimized/5X/6/f/c/5/6fc5ec5d1ea4b0fbb5c63cd627f699ff72e78a45_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 12](https://forum-cfx-re.akamaized.net/optimized/5X/a/9/c/2/a9c279607a9978d4b0afa99bcdcf6917c4805fd3_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 13](https://forum-cfx-re.akamaized.net/optimized/5X/5/c/7/3/5c734355246deaf9d975dfb54c12318062848db5_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 14](https://forum-cfx-re.akamaized.net/optimized/5X/9/9/4/5/99459e6c6a5edb31faca72ff5b82ad4a6842aba2_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 15](https://forum-cfx-re.akamaized.net/optimized/5X/9/f/a/a/9faa736c3c343392dd6fb25d89b9ea1e11d1ae33_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 16](https://forum-cfx-re.akamaized.net/optimized/5X/a/b/8/c/ab8c3ac2fe73275650d820b6c18532e4c83133d9_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 17](https://forum-cfx-re.akamaized.net/optimized/5X/9/a/9/1/9a919a07545a305abf0a2b176cb2add874458ce8_2_690x388.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 18](https://forum-cfx-re.akamaized.net/original/4X/6/5/3/653b1c9003bdcea4eb6c28c61d8a772cab558ff5.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 19](https://forum-cfx-re.akamaized.net/original/4X/9/3/d/93d8acce248a25f2c0d3fda86aeeb2f95f4659e7.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 20](https://forum-cfx-re.akamaized.net/original/4X/1/9/d/19d31cc97167d2fed475a14771b43826e8ac73e7.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 21](https://forum-cfx-re.akamaized.net/original/5X/4/2/a/2/42a26db8520523620722764fa535c90f1c375b59.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 22](https://forum-cfx-re.akamaized.net/original/5X/d/7/b/1/d7b1e1bd0ad5897285b04b8efcd1433394cb68a7.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 23](https://forum-cfx-re.akamaized.net/original/5X/e/c/e/7/ece706af5f826930576b0b3dac2c1f73d01ae12d.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 24](https://forum-cfx-re.akamaized.net/original/5X/2/2/0/4/220464289dd473fc2c2fe3555a9984f96f72e84e.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 25](https://forum-cfx-re.akamaized.net/original/4X/7/8/d/78db552cf1d69be4a402a0b0f3167765e14da040.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 26](https://forum-cfx-re.akamaized.net/original/4X/5/3/a/53adfc28d66f4a3e1db28ad2e24a24d07d6596ff.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 27](https://forum-cfx-re.akamaized.net/original/4X/9/7/4/9742f2aad2e2dd0568ed09848dae7834d7478917.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 28](https://forum-cfx-re.akamaized.net/original/4X/b/0/f/b0fc63b9701154b4df19aaaabdb594ae0425b391.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 29](https://forum-cfx-re.akamaized.net/original/4X/b/3/0/b30449f006c0a09c6a4e4a25dece69ca24276e99.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 30](https://forum-cfx-re.akamaized.net/original/4X/8/6/a/86a226f6e216213ec731e88ee0d463544e7b0606.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 31](https://forum-cfx-re.akamaized.net/original/4X/0/d/b/0db18b2d46c45b5057bf4a82d6152d37b6863e09.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 32](https://forum-cfx-re.akamaized.net/original/4X/2/d/d/2ddfa8190aaea590c4e0fba22a72742f96c6dd2e.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 33](https://forum-cfx-re.akamaized.net/original/4X/3/f/c/3fcdfabe319593ac8a5974056384266e99e4a791.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 34](https://forum-cfx-re.akamaized.net/original/4X/6/c/f/6cf2b04a69935cbf723521bd0feda76815bbf307.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 35](https://forum-cfx-re.akamaized.net/original/4X/1/9/d/19d31cc97167d2fed475a14771b43826e8ac73e7.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 36](https://forum-cfx-re.akamaized.net/original/4X/9/3/d/93d8acce248a25f2c0d3fda86aeeb2f95f4659e7.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 37](https://forum-cfx-re.akamaized.net/original/4X/3/d/6/3d62640d71c740b21666d731d10de208798f8149.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 38](https://forum-cfx-re.akamaized.net/original/4X/f/d/5/fd529689e4750ef36350bfe242dfc05410ca1b64.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 39](https://forum-cfx-re.akamaized.net/original/4X/3/2/f/32f1581cf017b31dd8954a36b2381af1dc9ff364.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 40](https://forum-cfx-re.akamaized.net/original/4X/6/5/3/653b1c9003bdcea4eb6c28c61d8a772cab558ff5.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 41](https://forum-cfx-re.akamaized.net/original/4X/7/a/6/7a641684eac486e569424db03a62be5ce3d08021.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 42](https://forum-cfx-re.akamaized.net/original/4X/f/6/b/f6b6627f4ed3fa076fbe5f0d0a363e853c902ac1.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 43](https://forum-cfx-re.akamaized.net/original/4X/8/5/b/85b3efdf2321530fcfaa31b55dce2be6b83d67da.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 44](https://forum-cfx-re.akamaized.net/original/4X/d/5/0/d5068c41579ffbb7f557b48f32b0ec1bdd1dd52a.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 45](https://forum-cfx-re.akamaized.net/original/4X/0/6/1/0619c0579d60e5714b508daf80e98ed44c34e5af.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 46](https://forum-cfx-re.akamaized.net/original/4X/4/e/c/4ec605408f66c8b62d61ab589eef6f519d14f652.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 47](https://forum-cfx-re.akamaized.net/original/4X/6/9/b/69bad650cbe6356db5dd5d66e16cfb566c802c9c.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 48](https://forum-cfx-re.akamaized.net/original/4X/3/7/3/37348f2448d8c547617c1dd7647a322fc364de06.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 49](https://forum-cfx-re.akamaized.net/original/4X/8/4/e/84e89d4ec05bde78b48959c60c0a41a40db7afe4.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 50](https://forum-cfx-re.akamaized.net/original/4X/8/a/4/8a44aa683927f8e98e5f2e227e0d15b99f9992ca.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 51](https://forum-cfx-re.akamaized.net/original/4X/8/1/0/810ed533f2c39f0adf754be032bbe98f0909a044.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 52](https://forum-cfx-re.akamaized.net/original/4X/4/1/0/41088f2fcf4e61fffb84c8fcbceaf3006cb7c085.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 53](https://forum-cfx-re.akamaized.net/original/4X/c/7/b/c7b30f52db0bec6bb9741989070536a7967be9e4.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 54](https://forum-cfx-re.akamaized.net/original/4X/b/f/e/bfe08291bb15ff164cf3ebe7c33cd3fa22f9f5cf.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 55](https://forum-cfx-re.akamaized.net/original/4X/a/9/f/a9f58a4f82b92e5e4067ae52205df80a03ef9cb6.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 56](https://forum-cfx-re.akamaized.net/original/4X/3/5/5/3550133737ac7e15a8791168ff2d3af5e1e00c6d.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 57](https://forum-cfx-re.akamaized.net/original/4X/d/5/3/d53fe4200f0b43e2869f83be59c9a31dcd770f3a.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 58](https://forum-cfx-re.akamaized.net/original/4X/8/a/2/8a261693b93abad39161922ba047febb4115456d.gif)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 59](https://forum-cfx-re.akamaized.net/original/4X/e/0/2/e02c6f910c1687e3cc9a808f40598f9bb8ddc491.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 60](https://forum-cfx-re.akamaized.net/original/4X/6/3/9/639e3e4f7afaac974902080b0a7559695bf6d66a.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 61](https://forum-cfx-re.akamaized.net/original/4X/2/7/d/27d23af4cae8c98c83d5a031846cc564a2cbd4e9.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 62](https://forum-cfx-re.akamaized.net/original/4X/7/4/b/74b9e0cc61006159a0232f452634958b9ec2bd52.png)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 63](https://forum-cfx-re.akamaized.net/original/4X/9/1/0/910217f9219153d871ad5105d54ab25f4d806299.jpeg)
![š [PAID] [Standalone][ESX][QBCore] Apartments system | House system | UI | Burevestnik thumbnail 64](https://forum-cfx-re.akamaized.net/original/4X/9/7/f/97f570af431a07c9b44235405f510f000f10ea85.png)
Price
UnknownA script by Burevestnik
Price
Unknown
BUY IT HERE.
I welcome you CFX community!
Today I present you the apartment system! This system provides accessibility for frameworks: ESX, QBCore, Standalone, as well as custom ones that you can easily connect using our bridge file. The resource provides huge editing capabilities using a configuration file and unique functionality. Iām sure you and your players will love it!
Apartments are purchasable residential spaces in MLO that you can call home. Each apartment is a functional living area that can be used as a place to spend time with friends, as well as to store personal belongings.
You can acquire housing directly near the entrance to the apartments you need. Apartments offer customization options, allowing you to fully personalize them to your taste. Thanks to the development of unique technical solutions, the apartments are completely seamless, and the furniture in each apartment operates using unique algorithms, enabling players to interact with the gaming world smoothly and without errors.
Demonstration of the system:
Example of a configuration file:
--/*
-- āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
-- āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
-- āāāāāāā¦āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
-- āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
-- āāāāāāā¦āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
-- āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā*/
Config = {}
--Debug mode
Config.debug = false
Config.myFramework = 'esx' --Defining the framework like esx/qb/standalone.
Config.useInventory = true --Do you want to use a inventory system?
Config.myInventory = 'ox_inventory' --Inventory definition like ox_inventory/qb-inventory. (Custom ones can be added to the Config.storageSetup and bridge file).
Config.useWardrobe = false --Do you want to use a wardrobe system?
Config.myWardrobe = 'esx_skin' --Wardrobe definition like esx_skin/qb-clothing/fivem-appearance/illenium-appearance. (Custom ones can be added to the Config.wardrobeSetup).
Config.useNotifications = true --Do you want to use a notification system?
Config.myNotifications = 'ox_lib' --Notification definition like ox_lib/custom. (Custom ones can be added to the bridge file).
--Interaction distance
Config.interactionDistance = 2.0
--Delay in loading objects
Config.delayLoadingObjects = 5000 --We recommend leaving 5000 thousand = 5 seconds, if you have problems with loading, then increase the delay.
--Photo Tool (Photo tool is a feature built into the resource that allows you to take screenshots of objects in the game world).
Config.usePhotoTool = true --Do you want to use a photo tool?
Config.usePhotoToolCommandNameOpenMenu = true
Config.photoToolCommandNameOpenMenu = 'bur_apt_pt' --Example: /bur_apt_pt v_med_bin -Where first arg its a model name
Config.photoToolObjectSpawnZone = vector3(-1266.8073, -3013.2310, -48.4902)
Config.photoToolExitButton = 200 -- ESC - You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
Config.photoToolScrollUpButton = 241 -- SCROLL_UP - You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
Config.photoToolScrollDownButton = 242 -- SCROLL_DOWN - You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
Config.photoToolCamOptionsRotationSpeed = 0.15 --Zoom rotation speed
Config.photoToolCamOptionsZoomClampMin = 0.25 --Minimum zoom value
Config.photoToolCamOptionsZoomClampMax = 3.0 --Maximum zoom value
Config.photoToolCamOptionsStartingZoom = 3.0 --The starting value of the zoom
Config.photoToolCamOptionsZoomStep = 0.05 --Zoom step
--Do you want to use animation to open doors?
Config.useAnimDoorControl = true
Config.animDoorControlDict = "missheistfbisetup1" --Anim dictionary
Config.animDoorControlName = "unlock_loop_janitor" --Anim name
Config.animDoorControlTime = 3000 --Anim time in ms
--Do you want to use animation to knock on doors?
Config.useAnimDoorKnock = true
Config.animDoorKnockDict = "timetable@jimmy@doorknock@" --Anim dictionary
Config.animDoorKnockName = "knockdoor_idle" --Anim name
Config.animDoorKnockTime = 2000 --Anim time in ms
--The ability to embed your own exports to hide the hud
Config.useHudOffOnEvents = true
Config.hudOnEvent = function()
DisplayRadar(true)
-- exports.Burevestnik_hud:Burevestnik_hud_on() -- Uncomment if you use Burevestnik_HUD system (https://burevestnik.tebex.io/package/5371893)
end
Config.hudOffEvent = function()
DisplayRadar(false)
--exports.Burevestnik_hud:Burevestnik_hud_off() -- Uncomment if you use Burevestnik_HUD system (https://burevestnik.tebex.io/package/5371893)
end
--Do you want to use a minigame to break into apartments?
Config.useLockpickMiniGame = false
Config.lockpickMiniGame = function()
--you can trigger your mini game by simply returning its client export
-- return exports.Burevestnik_lockpick_minigame:Burevestnik_lockpick_minigame_start() --Uncomment if you use Burevestnik_lockpick (https://forum.cfx.re/t/paid-standalone-esx-qbcore-uncharted-lockpick-minigame-ui-burevestnik/4831660)
--return exports.Burevestnik_lockpick_minigame:Burevestnik_lockpick_minigame_start() --Uncomment if you use Burevestnik_lockpick_minigame (https://forum.cfx.re/t/free-standalone-lockpick-minigame-ui-burevestnik/5206065)
return true
end
--Setting up the storage. If you are not using ox_inventory or qb-inventory, insert your events here
Config.storageSetup = function(id)
if Config.myInventory == 'ox_inventory' then
if exports.ox_inventory:openInventory('stash', id) == false then
TriggerServerEvent('ox:loadStashes', id)
exports.ox_inventory:openInventory('stash', id)
end
end
if Config.myInventory == 'qb-inventory' then
TriggerServerEvent('inventory:server:OpenInventory', {
stash = 'stash',
name = Config.Apartments[id].Name,
maxweight = 100000,
slots = 50
})
TriggerEvent('inventory:client:SetCurrentStash', Config.Apartments[id].Name)
end
end
--Setting up the wardrobe. If you are not using esx_skin or qb-clothing or fivem-appearance or illenium-appearance, insert your events here
Config.wardrobeSetup = function()
if Config.myWardrobe == "esx_skin" then
TriggerEvent("esx_skin:openSaveableMenu")
end
if Config.myWardrobe == "qb-clothing" then
TriggerEvent("qb-clothing:client:openOutfitMenu")
end
if Config.myWardrobe == "fivem-appearance" then
exports["fivem-appearance"]:startPlayerCustomization()
end
if Config.myWardrobe == "illenium-appearance" then
TriggerEvent("illenium-appearance:client:openOutfitMenu")
end
end
--Categories of furniture selection
Config.categories = {"Sofas","Chairs","Beds","General","Details","Storage","Electronics","Lighting","Tables","Plants","Kitchen","Bathroom","Medical","Wall decoration"}
--the percentage of apartment sales from the original price
Config.sellPercentage = 10
--the percentage of furniture sales from the original price
Config.sellFurniturePercentage = 10
--If true, allow access to the inventory to everyone if the door is open. If false, only the owner has access to the inventory
Config.apartmentsInventoryAccess = false
--Notify the police when an apartment is broken into? (You need to set your own police system event)
Config.policeAlarm = false
Config.policeAlarmEvent = function(apartmentsData)
if Config.policeAlarm then
local apartmentsCoordinates = Config.Apartments[apartmentsData].Coordinates
local apartmentsName = Config.Apartments[apartmentsData].Name
print(apartmentsCoordinates .. " | " .. apartmentsName) -- insert your police call server event here
end
end
--Do you want to use the job for break apartments
Config.UseJobsForBreak = true
Config.usePoliceJobs = true
Config.useGangsJobs = true
--Job for a break
Config.policeJobs = {"police", "unemployed"}
Config.gangsJobs = {"gang1", "unemployed"}
Config.UseItemForBreak = true
--A necessary item to break into an apartment
Config.itemForBreak = 'lockpick'
--Reserved buttons by the system for furniture control
Config.furnitureKey = {
44, -- Q
38, -- E
201, -- ENTER
73 -- X
}
--It is better not to change these parameters
Config.UseFocus = true --Use focus.
Config.MenuOpenCommandFocus = "furniture_menu_f" --The command for focus.
Config.UseKeybindFocus = true --Do you want to use the focus with the key ?
Config.KeybindFocus = {"X", 88} --The focus opening key. It will work if Config.UseKeybindFocus = true (X)
Config.ApartmentsBlips = {
{
useBlip = true, --The ability to use blip on the map for this ped.
blipID = 476, --Blip ID.
blipScale = 0.7, --Blip scale.
blipColor = 3, --Blip color.
blipText = "Hawick Apartments", --Blip text.
blipCoords = vector3(391.4375, -68.5687, 68.2221),
},
{
useBlip = true, --The ability to use blip on the map for this ped.
blipID = 476, --Blip ID.
blipScale = 0.7, --Blip scale.
blipColor = 3, --Blip color.
blipText = "Vespucci Apartments", --Blip text.
blipCoords = vector3(370.1238, -1025.5337, 29.3345),
},
{
useBlip = true, --The ability to use blip on the map for this ped.
blipID = 476, --Blip ID.
blipScale = 0.7, --Blip scale.
blipColor = 3, --Blip color.
blipText = "La Puerta Apartments", --Blip text.
blipCoords = vector3(-228.9851, -846.0348, 30.6828),
}
}
Config.Apartments = {
...
}
Config.Translation = {
['menu1'] = 'Door control',
['menu2'] = 'Open apartment menu',
['menu3'] = 'Break into the apartment',
['menu4'] = 'Knock on the door',
['menu5'] = 'Manage apartments',
['menu6'] = 'Sell furniture',
['menu7'] = 'Open the storage',
['menu8'] = 'Open the wardrobe',
['menuIcon1'] = 'fa-solid fa-key',
['menuIcon2'] = 'fa-solid fa-house',
['menuIcon3'] = 'fa-solid fa-screwdriver',
['menuIcon4'] = 'fa-solid fa-hand-back-fist',
['menuIcon5'] = 'fa-solid fa-people-roof',
['menuIcon6'] = 'fa-solid fa-dollar-sign',
['menuIcon7'] = 'fa-solid fa-suitcase-rolling',
['menuIcon8'] = 'fa-solid fa-shirt',
['positionSettingsControl1'] = 172, -- You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
['positionSettingsControl2'] = 173, -- You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
['positionSettingsControl3'] = 205, -- You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
['positionSettingsControl4'] = 206, -- You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
['positionSettingsControl5'] = 252, -- You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
['positionSettingsControl6'] = 176, -- You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
['positionSettingsControl7'] = 329, -- You can find more keys here: https://docs.fivem.net/docs/game-references/controls/
['translationText1'] = 'Apartment: ',
['translationText2'] = 'Owner:',
['translationText3'] = 'Rooms:',
['translationText4'] = 'Price:',
['translationText5'] = '$',
['translationText6'] = 'Buy',
['translationText7'] = 'Sell apartments',
['translationText8'] = 'Sale price:',
['translationText9'] = 'Buy furniture',
['translationText10'] = 'Up',
['translationText11'] = 'Down',
['translationText12'] = 'Rotate left',
['translationText13'] = 'Rotate right ',
['translationText14'] = 'Exit/Focus',
['translationText15'] = 'Place',
['translationText16'] = 'Move',
['translationText17'] = 'Apartments',
['translationText18'] = 'Furniture has been sold',
['translationText19'] = 'You are not in the accommodation area',
['translationText20'] = 'You dont have enough funds',
['translationText21'] = 'You have successfully purchased an apartment',
['translationText22'] = 'You have successfully sold the apartment',
['translationText23'] = 'You have gone outside the apartment',
['translationText24'] = 'Furniture',
['translationText25'] = 'You are not in the furniture placement area',
['translationText26'] = 'You do not have permission to remove furniture',
['translationText27'] = 'You dont have enough money to buy furniture',
['translationText28'] = 'You have successfully bought furniture',
['translationText29'] = 'Sell furniture',
['translationText30'] = 'You are not in the furniture sales area',
['translationText31'] = 'Storage',
['translationText32'] = 'Goverment',
['translationText33'] = 'Alarm system: ',
}
Optimization (The script consumes):
0.00 ms in a quiet state.
0.02 ms in an active state.
What does this system include:
TOP SALES
You may also be interested in my other resources:
Code accessible | Escrow: No - Available only: config, ui, bridge, furnitureList |
Subscription based | No |
Lines (approximately) | 10000+ |
Requirements | ox_target, ox_lib, oxmysql |
Support | Yes |
No approved reviews found for this script yet.