Skip to content

Commit

Permalink
Update commands.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
TonybynMp4 committed May 8, 2023
1 parent e7f205c commit b939158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function QBCore.Commands.Add(name, help, arguments, argsrequired, callback, perm
end
lib.addCommand(name, properties, function(source, args, raw)
local _args = {}
for i,v in pairs(args) do
for _,v in pairs(args) do
_args[#_args+1] = v
end
callback(source, _args, raw)
Expand Down

0 comments on commit b939158

Please sign in to comment.