From fa94821d40f9a84da55f3f1ee58f5cfc429f04d7 Mon Sep 17 00:00:00 2001 From: DokaDoka Date: Tue, 8 Nov 2022 19:26:36 +1100 Subject: [PATCH] removeHooks --- docs/ox_inventory/Functions/Server/Hooks.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/ox_inventory/Functions/Server/Hooks.md b/docs/ox_inventory/Functions/Server/Hooks.md index f0618356..4d171c61 100644 --- a/docs/ox_inventory/Functions/Server/Hooks.md +++ b/docs/ox_inventory/Functions/Server/Hooks.md @@ -116,3 +116,14 @@ end, { ``` Sets the label for "water" to "Mineral Water". + +## removeHooks + +```lua +exports.ox_inventory:removeHooks(id) +``` + +- id?: `number` + +Removes a hook created by the invoking resource with the the specified id. +If no id is specified then all hooks are removed.