mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 01:08:54 +00:00
fix(policejob): misplaced )
Also renamed nl localisation file to .sql because that's what it is.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user