mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +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
@@ -3,6 +3,7 @@ Sets a metadata property to display in the tooltip.
|
||||
```lua
|
||||
exports.ox_inventory:displayMetadata(metadata, value)
|
||||
```
|
||||
|
||||
* metadata: `table` or `string`
|
||||
* If metadata is a string then it's the metadata property you want to display, value is **not** optional then.
|
||||
* Can be a table of key-value pairs, key being the metadata property and value being the label for that property.
|
||||
@@ -10,6 +11,7 @@ exports.ox_inventory:displayMetadata(metadata, value)
|
||||
* Label for the string metadata property to be displayed.
|
||||
|
||||
**Example:**
|
||||
|
||||
```lua
|
||||
exports.ox_inventory:displayMetadata('mustard', 'Mustard')
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user