mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +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
|
||||
```
|
||||
|
||||
Points can be deleted by using the remove method.
|
||||
```lua
|
||||
point:remove()
|
||||
```
|
||||
@@ -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()
|
||||
```
|
||||
Reference in new issue
Block a user