Update commands.lua

This commit is contained in:
Mycroft
2021-05-03 22:41:49 +01:00
parent c8c8ffeb4d
commit 640befda57
+1 -1
View File
@@ -27,7 +27,7 @@ end, false, {help = _U('command_car'), validate = false, arguments = {
}})
ESX.RegisterCommand({'cardel', 'dv'}, 'admin', function(xPlayer, args, showError)
if not args.car then args.car = "bus" end
if not args.radius then args.radius = 4 end
xPlayer.triggerEvent('esx:deleteVehicle', args.radius)
end, false, {help = _U('command_cardel'), validate = false, arguments = {
{name = 'radius', help = _U('command_cardel_radius'), type = 'any'}