Skip to content

Commit

Permalink
missing name property on target zones
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Sep 23, 2024
1 parent 6b762a2 commit ca83804
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pages/ox_target/Functions/Client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ exports.ox_target:addSphereZone(parameters)

- parameters: `table`
- coords: `vector`
- name?: `string`
- An optional name to refer to the zone instead of using the `id`.
- radius?: `number`
- debug?: `boolean`
- drawSprite?: `boolean`
Expand All @@ -209,6 +211,8 @@ exports.ox_target:addBoxZone(parameters)

- parameters: `table`
- coords: `vector`
- name?: `string`
- An optional name to refer to the zone instead of using the `id`.
- size?: `vector3`
- rotation?: `number`
- debug?: `boolean`
Expand All @@ -229,6 +233,8 @@ exports.ox_target:addPolyZone(parameters)
- parameters: `table`
- points: `vector3[]`
- All z values must match
- name?: `string`
- An optional name to refer to the zone instead of using the `id`.
- thickness?: `number`
- debug?: `boolean`
- drawSprite?: `boolean`
Expand All @@ -248,4 +254,4 @@ exports.ox_target:removeZone(id)
- id: `number` or `string`
- The `number` id that is returned by [addSphereZone](#addspherezone), [addBoxZone](#addboxzone), or [addPolyZone](#addpolyzone)
**OR**
- The `string` name that can be specified by the user
- The `string` name given to the zone.

0 comments on commit ca83804

Please sign in to comment.