Returns all the properties that are owned by the specified owner.
exports.nolag_properties:GetAllProperties(owner, ownerType, includeRented)
owner: string The identifier of the owner (citizenid or job name)
string
ownerType: 'user' or 'society' The type of the owner
'user'
'society'
includeRented?: boolean Whether to include the rented properties too
boolean
The following table, or an empty table if the owner doesn't have any rented properties or own any properties
id: number
number
label: string
price: number
type: string
doorLocked: boolean
coords: vector3 or vector4
vector3
vector4
hasKey: boolean
Last updated 6 months ago