mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +00:00
formatting and typos
This commit is contained in:
1 parent
75698216e0
commit
724c7e356d
99 files changed
+515
-305
No files matched your search
@@ -4,27 +4,27 @@ When calling exports to add options, the input is an array of tables with the fo
|
||||
|
||||
```lua
|
||||
{
|
||||
-- an identifier used when removing options
|
||||
name? = string,
|
||||
-- an icon from font-awesome
|
||||
icon? = string,
|
||||
-- display text
|
||||
label = string,
|
||||
-- range to display (default: 2, max: 7)
|
||||
distance? = number,
|
||||
-- a group, array of groups, or groups and grades needed to display
|
||||
groups? = string | string[] | { [string]: number }
|
||||
-- an item, array of items, or items and counts needed to display
|
||||
items? = string | string[] | { [string]: number }
|
||||
-- a bone, bones table to select specific parts
|
||||
bones? = string | string[] -> example : 'bonnet' || { 'bonnet', 'boot' }
|
||||
-- custom check to hide or display the option
|
||||
canInteract? = function(entity, distance, coords, name, bone),
|
||||
-- triggered on option selection (one only)
|
||||
onSelect? = function(data),
|
||||
export? = string,
|
||||
event? = string,
|
||||
serverEvent? = string,
|
||||
command? = string
|
||||
-- an identifier used when removing options
|
||||
name? = string,
|
||||
-- an icon from font-awesome
|
||||
icon? = string,
|
||||
-- display text
|
||||
label = string,
|
||||
-- range to display (default: 2, max: 7)
|
||||
distance? = number,
|
||||
-- a group, array of groups, or groups and grades needed to display
|
||||
groups? = string | string[] | { [string]: number }
|
||||
-- an item, array of items, or items and counts needed to display
|
||||
items? = string | string[] | { [string]: number }
|
||||
-- a bone, bones table to select specific parts
|
||||
bones? = string | string[] -> example : 'bonnet' || { 'bonnet', 'boot' }
|
||||
-- custom check to hide or display the option
|
||||
canInteract? = function(entity, distance, coords, name, bone),
|
||||
-- triggered on option selection (one only)
|
||||
onSelect? = function(data),
|
||||
export? = string,
|
||||
event? = string,
|
||||
serverEvent? = string,
|
||||
command? = string
|
||||
}
|
||||
```
|
||||
Reference in new issue
Block a user