Just Apartments

A script by ZiggyJoJo

No reviews yet.
Just Apartments main image

Full Description

Just Apartments

Video Demo https://youtu.be/9zb6EJ8KSi8

Download

Tebex
Github

Optional Dependencies

Description

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.

Setup

  1. Ensure any dependencies before the script
  2. Run the SQL file
  3. 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
Code is accessible Yes
Subscription-based No
Lines (approximately) 1,300
Requirements
ESX
GitHub - overextended/ox_lib: A FiveM resource and script library for Lua and JS.
GitHub - brentN5/bt-polyzone
Support Yes