circleTarget

Description

Creates a circular interaction zone at a given location.

Parameters

  • name (string): Unique identifier for the zone.

  • location (vector3): Center coordinates of the circle.

  • size (number): Radius of the circle.

  • options (table): Same as in ps.boxTarget.

Return Value

  • None

Example Use Case

ps.circleTarget("bank_entrance", vector3(-123.45, 678.90, 30.6), 1.5, {
    {
        label = "Enter Bank",
        icon = "fa-solid fa-building",
        action = function()
            TriggerEvent("bank:client:enter")
        end
    }
})

Last updated