🥕
Carotto Documentation
  • CAROTTO Scripts Documentation
    • 👋Welcome
    • 🔐Escrow System
    • 🛡️DMCA
  • SCRIPTS
    • carotto_npcdoctor
      • Config File
    • carotto_rental
      • Config File
    • carotto_coordsmenu
      • Config File
    • carotto_gofast
      • Config File
    • carotto_police
      • Config File
    • carotto_sheriff
      • Config File
    • carotto_jobcenter
      • Config File
    • carotto_bennys
      • Config File
    • carotto_unicorn
      • Config File
    • carotto_blackmarket
      • Config File
    • carotto_atmrobbery
      • Config File
    • carotto_safezones
      • Config File
    • carotto_loadingscreen
    • carotto_blipscreator
      • Config File
    • carotto_key
      • Config File
    • carotto_taxi
      • Config File
    • carotto_weather
      • Config File
    • carotto_hunting
      • Config File
    • carotto_fishing
      • Config File
    • carotto_garage
      • Config File
    • carotto_marketV2
      • Config File
Powered by GitBook
On this page
  1. SCRIPTS
  2. carotto_weather

Config File

Config = {}

Config.Framework = "newesx" -- oldesx = OLD Version  | newesx = NEW Version 

Config.Notif = "OX" -- "ESX" or "OX"

Config.OpenWeatherMenu = "F9" -- key by default for open coords menu
Config.Command = "weather" -- command in game for open boutique

-- ICON MANAGEMENT
Config.Icons = {
    time = 'clock',
    weather = 'cloud-sun',
    freezingtime = 'snowflake',
    freezingweather = 'cloud',
}

-- MAIN PARAMETERS
Config.DynamicWeather = true -- use dynamic weather or not
Config.DynamicWeatherTime = 10 -- (in minutes) If dynamic weather is enabled, how long until the weather changes.
Config.TimeCycleSpeed = 2 -- (in seconds) Changing this value affects the day/night time cycle, decreasing slows it down, increasing speeds it up.

Config.RainChance = 10 -- The percent chance for it to rain out of 100.
Config.SnowChance = 1 -- The percent chance for it to snow out of 100.
Config.ThunderChance = 20 -- The percent chance for it to thunder when raining out of 100.

Config.InstantWeatherChange = true -- If false, weather changes will be gradual 
Config.InstantTimeChange = true -- If false, time changes will be gradual 
Config.TransitionDuration = 10 -- Duration (in seconds) for gradual weather/time transitions

-- WEATHER MANAGEMENT
Config.Weather = {
    ["EXTRASUNNY"] = "Sunny",
    ["CLEAR"] = "Clear",
    ["FOGGY"] = "Fog",
    ["RAIN"] = "Rain",
    ["THUNDER"] = "Storm",
    ["SNOW"] = "Snow",
    ["XMAS"] = "Christmas",
    ["HALLOWEEN"] = "Halloween",
}

-- ACCESS MANAGEMENT
Config.AccessManagement = {
    GroupLicense = 'license', -- 'group' = use AdminGroups | 'license' = use AdminLicenses | 'both' = use both
    AdminGroups = {'user', 'admin'}, -- group allowed
    AdminLicenses = {'license:ef90f8c33168b4dd155ea8ce5c552de05ad97f69'} -- license allowed
}

Config.Text = {
    title = "Weather Menu",

    Time = "Time Management",
    TimeDesc = "Change the time in-game",
    SetTime = "Select to set the time a",
    TimeConfirmation = "Time change confirmation",
    TimeConfirmationDesc = "Do you really want to change the time to",
    TimeChange = "The time has been changed to",

    Weather = "Weather Management",
    WeatherDesc = "Change the weather in-game",
    SetWeather = "Select to set weather in",
    WeatherConfirmation = "Weather change confirmation",
    WeatherConfirmationDesc = "Do you really want to change the weather in",
    WeatherChange = "The weather has been changed to",

    FreezingTime = "Freezing Time",
    FreezingTimeDesc = "Freezing or unfreezing time",
    TimeFreeze = "Time Freeze",
    TimeUnfreeze = "Time Unfreeze",
    MinuteSelection = "Minute Selection",

    FreezingWeather = "Freezing Weather",
    FreezingWeatherDesc = "Freezing or unfreezing Weather",
    WeatherFreeze = "Weather Freeze",
    WeatherUnfreeze = "Weather Unfreeze",

    nopermission = "No Permission",
    nopermissiondesc = "You don't have the permision for open this menu",

    Question = " ?",
    WeatherManagement = "Weather Menu",
    OpenWeatherMenu = "Open Weather Menu",
}
Previouscarotto_weatherNextcarotto_hunting

Last updated 6 days ago