GetPropertyData
exports.nolag_properties:GetPropertyData(propertyId)
Parameters
propertyId:
number
The property id
Return Value
The following table, or nil
if the property doesn't exist:
id:
number
The property IDlabel:
string
The property label/nameaddress:
string
The property addressprice:
number
The property purchase pricerentPrice:
number
The property rent pricetype:
string
The property type (shell, ipl, mlo)buildingId:
number
The building ID if the property is inside a buildingforSale:
boolean
Whether the property is for saleforRent:
boolean
Whether the property is for rentdoorLocked:
boolean
Whether the property door is lockedmetadata:
table
Additional property metadata including enterData, exitCoords, yardZone, points, and inventoryDatafurniture:
table
Furniture data with inside and outside arraysadditionalLocks:
table
Array of additional locks with id and labelinventories:
table
Array of inventory data with id, label, coords, slots, and weightrentData:
table
Rental information including identifier, type, dates, and priceowner:
string
The property owner identifierownerType:
string
The type of owner (user or society)keyHolders:
table
Array of key holder identifierspurchaseDate:
string
The date the property was purchasedpurchasePrice:
number
The price the property was purchased forrenter:
string
The current renter identifier (if rented)renterType:
string
The type of renter (user or society)