From 1d2faf86d92afb4e9186ef15f27d0d096cb48a37 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Sun, 15 May 2022 22:30:33 +1000 Subject: [PATCH] add remove method to zones and points --- docs/ox_lib/Points/Client.md | 5 +++++ docs/ox_lib/Zones/Client.md | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/docs/ox_lib/Points/Client.md b/docs/ox_lib/Points/Client.md index 9604c20d..ae3070f9 100644 --- a/docs/ox_lib/Points/Client.md +++ b/docs/ox_lib/Points/Client.md @@ -29,3 +29,8 @@ function point:nearby() end end ``` + +Points can be deleted by using the remove method. +```lua +point:remove() +``` diff --git a/docs/ox_lib/Zones/Client.md b/docs/ox_lib/Zones/Client.md index c20879f1..057764cc 100644 --- a/docs/ox_lib/Zones/Client.md +++ b/docs/ox_lib/Zones/Client.md @@ -75,3 +75,10 @@ local box = lib.zones.box({ onExit = onExit }) ``` + +Zones can be deleted by using the remove method. +```lua +poly:remove() +sphere:remove() +box:remove() +```