GetAllProperties

Returns all the properties that are owned by the player.

exports.nolag_properties:GetAllProperties(ownerType)

Parameters

  • ownerType: 'user' or 'society' or both The type of the owner

Return Value

The following table, or an empty table if the owner doesn't own any properties

  • id: number

  • label: string

  • price: number

  • type: string

  • doorLocked: boolean

  • hasKey: function

  • isOwner: function

Last updated