Merge pull request #1820 from seltonmt012/fix/command-merge-argument

fix(es_extended/server/functions): drop leading space from merge command arguments
This commit is contained in:
_Not_
2026-08-14 20:20:10 -05:00
committed by GitHub
+1 -1
View File
@@ -136,7 +136,7 @@ function ESX.RegisterCommand(name, group, cb, allowConsole, suggestion)
end
local merge = table.concat(args, " ")
newArgs[v.name] = string.sub(merge, length)
newArgs[v.name] = string.sub(merge, length + 1)
elseif v.type == "coordinate" then
local coord = tonumber(args[k]:match("(-?%d+%.?%d*)"))
if not coord then