Video Demo https://youtu.be/9zb6EJ8KSi8
- ESX
- https://github.com/overextended/ox_lib
- https://github.com/brentN5/bt-polyzone
- https://github.com/HalCroves/mythic_progbar
- For Apartment Stashes: https://github.com/overextended/ox_inventory
- For Apartment Wardrobe: https://github.com/ZiggyJoJo/brp-fivem-appearance
Adds apartments that can be rented by players the cost and rent length can be changed by apartment in the SQL along with a starter apartment on Alta Street includes an option to view an apartment before purchasing the ability to give keys to other players along with a stash using OX_Inventory and a wardrobe using BRP Fivem Appearance. I plan to add offices and a shared garage system for those that have keys to the same apartment along with any other suggestions I might receive.
- Ensure any dependencies before the script
- Run the SQL file
- Add TriggerServerEvent('just_apartments:getLastApartment') after your player spawns in if you use a spawn selector add it for last location option and TriggerServerEvent('just_apartments:updateLastApartment', nil) for any other option to prevent instancing outside of apartments