diff --git a/server/commands.lua b/server/commands.lua index a0fac8c..74fd200 100644 --- a/server/commands.lua +++ b/server/commands.lua @@ -384,12 +384,11 @@ lib.addCommand('911p', { help = locale('commands.police_report'), params = {{ name = 'message', - type = 'string', + type = 'longString', help = locale('commands.message_sent') }}, }, function(source, args) - local message - if args.message then message = table.concat(args, ' ') else message = locale('commands.civilian_call') end + local message = args.message or locale('commands.civilian_call') local ped = GetPlayerPed(source) local coords = GetEntityCoords(ped) local players = exports.qbx_core:GetQBPlayers()