GetAllProperties
luaexports.nolag_properties:GetAllProperties(owner, ownerType, includeRented)
Parameters
- owner:
stringThe identifier of the owner (citizenid or job name) - ownerType:
'user'or'society'The type of the owner - includeRented?:
booleanWhether to include the rented properties too
Return Value
The following table, or an empty table if the owner doesn't have any rented properties or own any properties
- id:
number - label:
string - price:
number - type:
string - doorLocked:
boolean - coords:
vector3orvector4 - hasKey:
boolean