Documentation
  • 📄TeamsGG Documentation
    • Common Errors
  • Paid Scripts
    • 📱Phone
      • 🧠Installation
      • 🦄Unique phones
      • 💿Configure
      • ⏭️Exports
        • Client side
        • Server side
      • 🪛Commands
      • 🍎Custom apps
    • ☎️Boomer Phone
      • 🧠Installation
      • 🦄Unique phones
      • ⏯️Exports
        • Client side
    • 🏠Properties
      • 🧠Installation
      • 💿Configure
      • 🐚Add More Shells
      • ⏭️Exports
        • Client side
          • GetCurrentPropertyId
          • GetCurrentProperty
          • IsPointInsideProperty
          • OpenPropertyMenu
          • AddKey
          • RemoveKey
          • SetWaypointToProperty
          • GetAllProperties
          • GetKeyHolders
          • PoliceRaidDoor
        • Server side
          • GetAllProperties
          • AddKey
          • RemoveKey
          • ToggleDoorlock
          • GetPlayersInProperty
          • GetKeyHolders
          • DeleteProperty
          • AddStarterApartment
      • 👜State bags
    • 🏦Banking
      • 🧠Installation
      • ⏯️Exports
        • Client side
        • Server side
    • 💸Billing
      • 🧠Installation
      • ⏭️Exports
        • Client side
        • Server side
    • 📊Hud
      • 🧠Installation
      • ⏭️Exports
        • Client side
    • 📦Storage Units
      • 🧠Installation
Powered by GitBook
On this page
  1. Paid Scripts
  2. Properties
  3. Exports
  4. Server side

GetAllProperties

Returns all the properties that are owned by the specified owner.

exports.nolag_properties:GetAllProperties(owner, ownerType, includeRented)

Parameters

  • owner: string The identifier of the owner (citizenid or job name)

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

  • includeRented?: boolean Whether 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: vector3 or vector4

  • hasKey: boolean

PreviousServer sideNextAddKey

Last updated 1 month ago

🏠
⏭️