Dragon Heart Studios
  • Dragon Heart Studios Documentation
  • 🌉DHS-Bridge
  • ⚙️Compatibility
  • 📜Scripts
    • 🎣DHS-Fishing
      • Installation
      • Configuration
      • Integration
    • 🕑DHS-ZWatch
      • Installation
      • Configuration
    • 💰DHS-PettyCrime
      • Installation
      • Configuration
      • Integration
    • 🪓DHS-LumberJack
      • Installation
      • Configuration
      • Integration
    • 🏵️DHS-Peyote
      • Installation
    • 🚗DHS-Boosting
      • Installation
      • Configuration
      • Integration
    • 🦌DHS-Hunting
      • Installation
      • Configuration
      • Integration
    • 👮DHS-PrisonSim
      • Installation
      • Configuration
        • Clothing Config
        • Convoy Config
        • Door Lock Config
        • Entity Sets Config
        • Items Config
        • Jobs Config
        • Locations Config
        • Mugshot Config
        • Object Placer Config
        • Pathfinding Config
        • Peds Config
        • Prison Schedules Config
        • Props Config
        • Solitary Config
      • Integration
      • Exports and Commands
  • 🐝DHS-BrewsAndWines
    • Installation
    • Configuration
      • Beehive Config
      • Clothing Config
      • Delivery Config
      • Mead Config
      • Object Placer Config
      • Peds Config
      • Security Config
      • Wine Config
    • Integration
    • Mead and Wine Brewing
Powered by GitBook
On this page
  1. Scripts
  2. DHS-PettyCrime

Configuration

This is the entire config that you will be able to mess with to your hearts content

```lua
Config = {}

Config.Notify = "ox_lib" -- ox_lib, qbcore, custom
Config.StressSystem = "custom" -- qbcore, custom

-- Police Settings
Config.PoliceJob = "police"
Config.AmbulanceJob = "ambulance"
Config.MinPolice = 0
Config.CanPoliceRobAndAmbulanceRob = false

Config.Settings = {
    ParkingMeters = {
        enabled = true,
        models = {
            "prop_parknmeter_01",
            "prop_parknmeter_02",
        },
        reward = math.random(20, 40),
        cooldown = 300,
        itemRequired = "lockpick"
    },
    NewsPaper = {
        enabled = true,
        models = {
            GetHashKey("prop_news_disp_02a_s"),
            GetHashKey("prop_news_disp_01a"),
            GetHashKey("prop_news_disp_02a"),
            GetHashKey("prop_news_disp_02b"),
            GetHashKey("prop_news_disp_02c"),
            GetHashKey("prop_news_disp_02d"),
            GetHashKey("prop_news_disp_02e"),
            GetHashKey("prop_news_disp_03a"),
            GetHashKey("prop_news_disp_03c"),
            GetHashKey("prop_news_disp_05a"),
            GetHashKey("prop_news_disp_06a"),
        },
        reward = math.random(10, 30),
        cooldown = 200,
        itemRequired = "lockpick"
    },
    PhoneBooth = {
        enabled = true,
        models = {
            GetHashKey("sf_prop_sf_phonebox_01b_straight"),
            GetHashKey("sf_prop_sf_phonebox_01b_s"),
            GetHashKey("prop_phonebox_04"),
            GetHashKey("ch_chint02_phonebox001"),
            GetHashKey("prop_phonebox_03"),
            GetHashKey("prop_phonebox_02"),
            GetHashKey("prop_phonebox_01c"),
            GetHashKey("prop_phonebox_01b"),
            GetHashKey("prop_phonebox_01a"),
            GetHashKey("p_phonebox_01b_s"),
            GetHashKey("p_phonebox_02_s"),
        },
        reward = math.random(5, 20),
        cooldown = 100,
        itemRequired = "lockpick"
    },
    FoodStands = {
        enabled = true,
        models = {
            GetHashKey("prop_burgerstand_01"),
            GetHashKey("prop_hotdogstand_01"),
        },
        reward = math.random(25, 50),
        cooldown = 100,
        itemRequired = "lockpick"
    },
    GumballMachines = {
        enabled = true,
        models = {
            GetHashKey("prop_gumball_01"),
            GetHashKey("prop_gumball_02"),
            GetHashKey("prop_gumball_03"),
        },
        reward = math.random(1, 10),
        cooldown = 100,
        itemRequired = "lockpick"
    },
    Telescopes = {
        enabled = true,
        models = {
            GetHashKey("prop_telescope_01"),
            GetHashKey("prop_telescope"),
        },
        reward = math.random(1, 5),
        cooldown = 100,
        itemRequired = "lockpick"
    },
    Other = {
        enabled = true,
        models = {
            GetHashKey("prop_gas_airunit01"),
        },
        reward = math.random(2, 10),
        cooldown = 50,
        itemRequired = "lockpick"
    }
}

Config.Lang = {
    notify = {
        ripped_gloves = "Your Gloves are Torn...",
        you_got = "You got $",
        from_the_parking = " from the parking meter",
        from_the_news = " from the news stand",
        from_the_phone = " from the phone booth",
        from_the_food = " from the food stand",
        from_the_gumball = " from the gumball machine",
        from_the_telescope = " from the telescope",
        from_the_object = " from this",
    },
    notify_error = {
        cannot_rob_parking_in_vehicle = "You cannot rob a parking meter in a vehicle!",
        cannot_rob_news_in_vehicle = "You cannot rob a news stand in a vehicle!",
        cannot_rob_phone_in_vehicle = "You cannot rob a phone booth in a vehicle!",
        cannot_rob_food_in_vehicle = "You cannot rob a food stand in a vehicle!",
        cannot_rob_gumball_in_vehicle = "You cannot rob a gumball machine in a vehicle!",
        cannot_rob_telescope_in_vehicle = "You cannot rob a telescope in a vehicle!",
        cannot_rob_object_in_vehicle = "You cannot rob this in a vehicle!",
        robbing_parking_too_soon = "You are robbing a parking meter too soon, you have to wait ",
        robbing_news_too_soon = "You are robbing a news stand too soon, you have to wait ",
        robbing_phone_too_soon = "You are robbing a phone booth too soon, you have to wait ",
        robbing_food_too_soon = "You are robbing a food stand too soon, you have to wait ",
        robbing_gumball_too_soon = "You are robbing a gumball machine too soon, you have to wait ",
        robbing_telescope_too_soon = "You are robbing a telescope too soon, you have to wait ",
        robbing_object_too_soon = "You are robbing this too soon, you have to wait ",
        seconds = " seconds",
        missing_tools = "You do not have the necessary tools!",
        not_enough_police = "Not Enough Police In City.",
        lockpick_broke = "The Lockpick Broke!"
    },
    target = {
        rob_meter = "Rob Parking Meter",
        rob_newsstand = "Rob News Stand",
        rob_phonebooth = "Rob Phone Booth",
        rob_foodstand = "Rob Food Stand",
        rob_gumball = "Rob Gumball Machine",
        rob_telescope = "Rob Telescope",
        rob_object = "Rob Object",
    },
    police_alert = {
        small_robbery = "Small Robbery Alert",
    },
}

```
PreviousInstallationNextIntegration

Last updated 8 months ago

📜
💰