diff --git a/[core]/es_extended/server/functions.lua b/[core]/es_extended/server/functions.lua index c8020cc4..18171881 100644 --- a/[core]/es_extended/server/functions.lua +++ b/[core]/es_extended/server/functions.lua @@ -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