mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
add remove method to zones and points
This commit is contained in:
1 parent
c1d420aeaa
commit
1d2faf86d9
2 files changed
+12
No files matched your search
@@ -29,3 +29,8 @@ function point:nearby()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Points can be deleted by using the remove method.
|
||||||
|
```lua
|
||||||
|
point:remove()
|
||||||
|
```
|
||||||
@@ -75,3 +75,10 @@ local box = lib.zones.box({
|
|||||||
onExit = onExit
|
onExit = onExit
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Zones can be deleted by using the remove method.
|
||||||
|
```lua
|
||||||
|
poly:remove()
|
||||||
|
sphere:remove()
|
||||||
|
box:remove()
|
||||||
|
```
|
||||||
Reference in new issue
Block a user