From c13d39ca051e4dfd0392c0c399344c09745020c1 Mon Sep 17 00:00:00 2001 From: oosayeroo <98313914+oosayeroo@users.noreply.github.com> Date: Thu, 14 Aug 2025 16:33:02 +0100 Subject: [PATCH] Commit[wrapperfunctions.lua]: Fix oxlib command argument line 27 - changd the function option in oxlib from options[4] to options[3] --- shared/wrapperfunctions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/wrapperfunctions.lua b/shared/wrapperfunctions.lua index 314be1f..4dabb56 100644 --- a/shared/wrapperfunctions.lua +++ b/shared/wrapperfunctions.lua @@ -24,7 +24,7 @@ function registerCommand(command, options) local commandResource = "" if isStarted(OXLibExport) then commandResource = OXLibExport - lib.addCommand(command, { help = options[1], restricted = options[5] and "group."..options[5] or nil }, options[4]) + lib.addCommand(command, { help = options[1], restricted = options[5] and "group."..options[5] or nil }, options[3]) elseif isStarted(QBExport) and not isStarted(QBXExport) then commandResource = QBExport