Lockpick System

With this function you can enable if you want to have policemen in the city to be able to rob as well as put a minimum number of policemen to start the robbery.

You will have a section to modify the entire lockpick system, you can configure the chance that you break the lockpick and even an advanced lockpick item where you do not need cops to perform the lockpicks, do not forget to enable the vehicle alarms in the same way using a chance that this jump and prevent a robbery by alerting the cops.

    █▀█ █▀█ █░░ █ █▀▀ █▀▀
    █▀▀ █▄█ █▄▄ █ █▄▄ ██▄

Config.ReqPolice = false -- Do you want police in your city to enable robberies?
Config.ReqPoliceCount = 1 -- Minimum police to start a robbery.
Config.ReqJobPolice = 'police' -- Police job name.
Config.RefreshPolice = 1000 -- Ammount of time to check por police count again, higher for more performance, don't use below 1000ms.

Config.LockpickItem = 'lockpick' -- Item required to start lockpicking.
Config.LockpickKeepChance = 50 -- Chance of not brekaing the lockpick item and keeping your item (1-100).
Config.LockpickFail = 1
Config.AdvancedLockpickItem = 'caradvancedlockpick' -- Don't need police to lockpick

Config.LockpickAlarm = true -- If you enable this option, the policemen will receive dispatch when the alarm sounds.
Config.StartAlarmChance = 50 -- Chance of the alarm going off, remember this will trigger dispatch to `Config.ReqJobPolice` (1-100).

Config.LockpickWhitelist = { -- This vehicles don't have hotwire

Last updated