Sloppy Designs
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • Tebex
    (opens in a new tab)
  • About

  • Bridge
    • Installation
    • Core
      • Insert
      • Prepare
      • Query
      • Scalar
      • Single
      • Transaction
      • Update
      • Player
      • Client
      • Server
      • Locale
      • Client
      • Server
      • Item
    • Target
      • Options
      • BoxZone
      • PolyZone
      • SphereZone
      • CZone
      • PolyZone
      • BoxZone
      • SphereZone
      • Client
      • Server
      • Shared
  • Unit
  • SD-Notify
    • Types
    • Positions
    • Config
    • Framework
  • SD-Merchants
      • Paths
      • Merchants
      • Config
      • Shop
      • Blips
      • Currency
      • Items
    • SD-Paycheck
      • Index
    • SD-Menu
      • Config
      • Menu
      • Input
    • SD-KeyPad
  • Tebex
    (opens in a new tab)
  • About

  • Bridge
    • Installation
    • Core
      • Insert
      • Prepare
      • Query
      • Scalar
      • Single
      • Transaction
      • Update
      • Player
      • Client
      • Server
      • Locale
      • Client
      • Server
      • Item
    • Target
      • Options
      • BoxZone
      • PolyZone
      • SphereZone
      • CZone
      • PolyZone
      • BoxZone
      • SphereZone
      • Client
      • Server
      • Shared
  • Unit
  • SD-Notify
    • Types
    • Positions
    • Config
    • Framework
  • SD-Merchants
      • Paths
      • Merchants
      • Config
      • Shop
      • Blips
      • Currency
      • Items
    • SD-Paycheck
      • Index
    • SD-Menu
      • Config
      • Menu
      • Input
    • SD-KeyPad
Question? Give us feedback → (opens in a new tab)Edit this page
Bridge
Target
PolyZone

Target PolyZone

Creates Targetable PolyZone.

Target.AddPolyZone(data)
  • data: table
    • debug?: boolean
    • name: string
    • height?: number
    • points: vector3[]
    • options: Options[]

returns: number | string

Target.AddPolyZone({
    name = 'MyPolyZone',
    points = {
        vector3(0, 0, 0),
        vector3(0, 0, 0),
        vector3(0, 0, 0),
        vector3(0, 0, 0)
    },
    height = 1,
    debug = true,
    options = {}
})

2024 © Sloppy Designs