Update Hooks.md

This commit is contained in:
Linden authored and GitHub committed 2023-02-14 00:29:05 +11:00
1 parent debe130fe1
commit 4ad3365470
1 file changed
+2 -2
+2 -2
View File
@@ -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)
```