🎉 Driving School is released. Read more →
Paid Scripts
Housing
Home Object V3
Server

Home Object (Server Side)

This is for developer use if you want to tinker with the Housing or integrate it with something.

---@class Configurations
---@field garage boolean
---@field rename boolean
---@field cctv boolean
---@field storage number
---@field keys number
---@field wardrobes number
 
---@class InteriorData
---@field name string model name
---@field label string
---@field entry vector3
---@field heading number
 
---@class HouseData
---@field flat table
---@field interior InteriorData | string
---@field placement table
---@field downpayment number
---@field garage vector4
---@field managehouse vector4
 
---@class Storage
---@field id number
---@field coords? vector4
---@field weight? number
---@field slots? number
---@field type 'zone' | 'furniture'
 
---@class HomeObject
---@field identifier string
---@field name string
---@field price number
---@field type 'mlo' | 'shell' | 'ipl'
---@field complex 'Individual' | 'Apartment' | 'Flat'
---@field apartments? table
---@field entry vector4
---@field payment 'Sale' | 'Rent'
---@field locked boolean
---@field realestate string
---@field configuration Configurations
---@field data HouseData
---@field lastPayment number
---@field lastLogin number
---@field owner string
---@field area table
---@field keys table
---@field players table<number>
---@field furniture table
---@field mortgages table
---@field cctv table
---@field doors table
---@field wardrobes table<number, vector4>
---@field storages table<number, Storage>