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-ZWatch

Configuration

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

```lua
Config = {}
Config.RadialMenu = 'qb-radialmenu' -- [ 'qb-radialmenu' / 'ox_lib' (ox_radialmenu)] Set the target script name
Config.SetAlarmUsingCommand = false -- [true / false] Set if you want to use a command to set the alarm if false it uses radialmenu (/setWatchAlarm)

--For Changing The Hex Color of the Watches
Config.Watches = {
    -- Classic Watches
    ["red_classic_watch"] = {
        colorHex = "#FF0000",
    },
    ["pink_classic_watch"] = {
        colorHex = "#FFC0CB",
    },
    ["orange_classic_watch"] = {
        colorHex = "#FFA500",
    },
    ["yellow_classic_watch"] = {
        colorHex = "#FFFF00",
    },
    ["green_classic_watch"] = {
        colorHex = "#00FF00",
    },
    ["blue_classic_watch"] = {
        colorHex = "#0000FF",
    },
    ["indigo_classic_watch"] = {
        colorHex = "#4B0082",
    },
    ["violet_classic_watch"] = {
        colorHex = "#8A2BE2",
    },
    ["white_classic_watch"] = {
        colorHex = "#FFFFFF",
    },
    ["black_classic_watch"] = {
        colorHex = "#000000",
    },
    ["gray_classic_watch"] = {
        colorHex = "#808080",
    },
    -- Digital Watches
    ["red_digital_watch"] = {
        colorHex = "#FF0000",
    },
    ["pink_digital_watch"] = {
        colorHex = "#FFC0CB",
    },
    ["orange_digital_watch"] = {
        colorHex = "#FFA500",
    },
    ["yellow_digital_watch"] = {
        colorHex = "#FFFF00",
    },
    ["green_digital_watch"] = {
        colorHex = "#00FF00",
    },
    ["blue_digital_watch"] = {
        colorHex = "#0000FF",
    },
    ["indigo_digital_watch"] = {
        colorHex = "#4B0082",
    },
    ["violet_digital_watch"] = {
        colorHex = "#8A2BE2",
    },
    ["white_digital_watch"] = {
        colorHex = "#FFFFFF",
    },
    ["black_digital_watch"] = {
        colorHex = "#000000",
    },
    ["gray_digital_watch"] = {
        colorHex = "#808080",
    },
}

--For Changing The Watches in The Script Digital Overrides Classic Watches And The First Color Watch Will Be Dominant
Config.ClassicWatches = {
    "red_classic_watch", "pink_classic_watch", "orange_classic_watch", "yellow_classic_watch",
    "green_classic_watch", "blue_classic_watch", "indigo_classic_watch", "violet_classic_watch",
    "white_classic_watch", "black_classic_watch", "gray_classic_watch"
}
Config.DigitalWatches = {
    "red_digital_watch", "pink_digital_watch", "orange_digital_watch", "yellow_digital_watch",
    "green_digital_watch", "blue_digital_watch", "indigo_digital_watch", "violet_digital_watch",
    "white_digital_watch", "black_digital_watch", "gray_digital_watch"
}

Config.WeatherTemperatureSettings = {
    [916995460] = { low = 80, high = 90 },    -- Clear Weather
    [-1750463879] = { low = 90, high = 110 }, -- Extra Sunny
    [-1530260698] = { low = 90, high = 110 }, -- Neutral
    [1840358669] = { low = 90, high = 100 },  -- Clearing
    [821931868] = { low = 75, high = 90 },    -- Cloudy
    [-1148613331] = { low = 60, high = 75 },  -- Overcast
    [14200204096] = { low = 50, high = 60 },  -- Rain
    [-1233681761] = { low = 45, high = 55 },  -- Thunder
    [282916021] = { low = 90, high = 100 },   -- Smog
    [-1368164796] = { low = 65, high = 75 },  -- Foggy
    [-273223690] = { low = 15, high = 30 },   -- Snowing
    [669657108] = { low = -20, high = 0 },    -- Blizzard
    [603685163] = { low = 20, high = 32 },    -- Snowlight
    [-921030142] = { low = 110, high = 125 }, -- Halloween
    -- Add more weather types and their temperature ranges as needed
}

--Change Your Language Settings Here!
Config.Lang = {
    ["need_digital_watch"] = "You need a digital watch to set an alarm",
}

```
PreviousInstallationNextDHS-PettyCrime

Last updated 1 year ago

📜
🕑