mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
Update Hooks.md
This commit is contained in:
1 parent
debe130fe1
commit
4ad3365470
1 file changed
+2
-2
@@ -1,9 +1,9 @@
|
||||
# Event Hooks
|
||||
|
||||
## registerHook
|
||||
|
||||
Event hooks allow 3rd party resources to define new behaviour without modifying the inventory code directly.
|
||||
|
||||
## registerHook
|
||||
|
||||
```lua
|
||||
exports.ox_inventory:registerHook(eventName, function(payload) end, options)
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user