From fca9421e97a7db3ee106cfbff134e9cdc71a6a93 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 4 Apr 2022 00:33:32 +0200 Subject: [PATCH] Add allowArmed to item --- docs/ox_inventory/Guides/creatingItems.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/ox_inventory/Guides/creatingItems.md b/docs/ox_inventory/Guides/creatingItems.md index 18df3459..b6d054f8 100644 --- a/docs/ox_inventory/Guides/creatingItems.md +++ b/docs/ox_inventory/Guides/creatingItems.md @@ -25,6 +25,7 @@ options for the item. -- close: boolean (optional) -- If set to false will not close the inventory on item use -- description: string (optional) -- consume: number (optional) -- Number of an item needed to use it, and removed after use (Default: 1) +-- allowArmed: boolean (optional) -- If set to true will allow use of item while armed with a weapon -- client: table (optional) -- buttons: table (optional) -- Allows you to define custom context menu functions for the item ```