diff --git a/docs/ox_inventory/Functions/Server/Hooks.md b/docs/ox_inventory/Functions/Server/Hooks.md index 3d6a4867..f9229dca 100644 --- a/docs/ox_inventory/Functions/Server/Hooks.md +++ b/docs/ox_inventory/Functions/Server/Hooks.md @@ -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) ```