fix(policejob): misplaced )

Also renamed nl localisation file to .sql because that's what it is.
This commit is contained in:
Linden
2022-01-19 20:51:36 +11:00
parent 48ce1b7425
commit 98b0d2b4b1
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -57,7 +57,7 @@ AddEventHandler('esx_policejob:confiscatePlayerItem', function(target, itemType,
-- does the target player have weapon?
if targetXPlayer.hasWeapon(itemName) then
targetXPlayer.removeWeapon(itemName, amount)
targetXPlayer.removeWeapon(itemName)
sourceXPlayer.addWeapon (itemName, amount)
sourceXPlayer.showNotification(_U('you_confiscated_weapon', ESX.GetWeaponLabel(itemName), targetXPlayer.name, amount))
@@ -226,8 +226,8 @@ ESX.RegisterServerCallback('esx_policejob:getVehicleInfos', function(source, cb,
end
end
cb(retrivedInfo)
end
end)
end)
end
end)
ESX.RegisterServerCallback('esx_policejob:getArmoryWeapons', function(source, cb)