diff --git a/CHANGELOG.md b/CHANGELOG.md index dde7692..67e0753 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.4.8 +* Server admins can now configure basic loadouts in config/weapons.lua. +* Various issues regarding handcuffing have been fixed. +* Support for [Simple Banking](https://forum.fivem.net/t/discontinued-simple-banking-2-0-now-with-gui/13896) has been removed. + ## 1.4.7 * Fixed character selector. diff --git a/police/__resource.lua b/police/__resource.lua index 2b0bb55..3bdc7e9 100644 --- a/police/__resource.lua +++ b/police/__resource.lua @@ -1,6 +1,6 @@ resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' -resource_version '1.4.7' -resource_versionNum '147' +resource_version '1.4.8' +resource_versionNum '148' resource_Isdev 'no' resource_fname 'Cops FiveM' diff --git a/police/client/armory.lua b/police/client/armory.lua index 113a93e..f470c8d 100644 --- a/police/client/armory.lua +++ b/police/client/armory.lua @@ -60,14 +60,12 @@ function createArmoryPed() end function giveBasicKit() - GiveWeaponToPed(PlayerPedId(), GetHashKey("WEAPON_PISTOL"), -1, true, false) - GiveWeaponToPed(PlayerPedId(), GetHashKey("WEAPON_STUNGUN"), -1, true, false) - GiveWeaponToPed(PlayerPedId(), GetHashKey("WEAPON_NIGHTSTICK"), -1, true, false) - GiveWeaponToPed(PlayerPedId(), GetHashKey("WEAPON_FLASHLIGHT"), 200, true, false) + for k,v in pairs(basic_kit) do + GiveWeaponToPed(PlayerPedId(), GetHashKey(v), -1, true, false) + end SetCurrentPedWeapon(PlayerPedId(), GetHashKey("WEAPON_UNARMED"), true) PlaySoundFrontend(-1, "PICK_UP", "HUD_FRONTEND_DEFAULT_SOUNDSET", true) - end function giveBasicPrisonKit() diff --git a/police/client/client.lua b/police/client/client.lua index 1784b69..2656c13 100644 --- a/police/client/client.lua +++ b/police/client/client.lua @@ -17,7 +17,6 @@ along with Cops_FiveM in the file "LICENSE". If not, see