From 4ad33654707017914a6bf2f90093b91d38c23934 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Tue, 14 Feb 2023 00:29:05 +1100 Subject: [PATCH] Update Hooks.md --- docs/ox_inventory/Functions/Server/Hooks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) ```