Origen Network Store
  • 👋Welcome to Origen Network Store
  • 🆘¿You need help?
  • ❓FAQS
  • 👮Origen Police
    • ⚠️Dependencies
    • 🔧Installation
      • SQL
      • Pma-Voice
    • 📙Guide of Use
      • 💻Police CAD
        • Dispatch
        • Citizen Search
        • Reports
        • Vehicles
        • Criminal Code
        • Search and Capture
        • Debtors
        • Federal Management
        • Agent Management
        • Security Cameras
        • Radio
        • Time Control
        • Operations
      • 📄Interaction Menu
      • 📹Vehicle Radar
      • 🚔Sirens System
      • 🔦Evidence System
      • 🎛️Mini Dispatch
      • 🚁Helicopter Camera
      • 🪪Badges
      • ⛓️Federal System
      • 🔫Holster
      • 🐕K9 Dog
    • ❓Frequent Questions
    • ⚙️Configuration
      • Framework
      • Armoury
      • Commands
      • Confiscate
      • Evidences
      • Federal
      • Holster
      • K9
      • Licenses
      • Markers
      • Names
      • Outfits
      • Permissions
      • Props
      • Radio
      • Vehicles
    • #️⃣Exports
      • Client Exports
      • Server Exports
  • 📻Origen Radio
    • ⚠️Dependencies
    • 🔧Installation
      • SQL
      • Pma-Voice
    • ⚙️Configuration
  • 🛠️Origen Admin
    • ⚠️Dependencies
    • 🔧Installation
      • SQL
  • 🏎️Origen Races
    • ⚠️Dependencies
    • 🔧Installation
      • SQL
    • #️⃣Exports
      • Client Exports
  • 🔫Origen Ilegal
    • ⚠️Dependencies
    • 🔧Installation
      • SQL
      • qb-inventory
    • 💬Commands
    • ♻️Exports
  • 🏚️Origen Housing
    • ⚠️Dependencies
    • 🔧Installation
      • SQL
    • ⚙️API
      • Exports
      • Hooks
      • Events
      • Scripts Support
        • 📱LB-Phone
  • 🚙Origen Parking
    • ⚠️Dependencies
    • 🔧Installation
      • QBCore SQL
      • ESX SQL
    • ⚙️Configuration
    • ♻️Exports
  • 💼origen_inventory
    • ⚠️Dependencies
    • 🔧Installation
      • SQL
    • ⛏️Scripts Support
      • 📱LB Phone
        • 2️From v2.1.14
      • 🏨QB Apartments
      • 🔫QB-Weapons
      • 🔨Jobs creator (Jaksam)
    • ♻️Exports
      • 🛥️Client Exports
      • ⚓Server
        • Hooks
    • How to
  • 🕵️‍♂️origen_hostage
    • 🔧Installation
  • 👷‍♂️Origen Masterjob
    • 🔧Installation
      • SQL
      • qb-inventory
      • qs-inventory
      • ox_inventory
    • ♻️Exports
  • QBCORE
    • 🍔origen_hud
      • ❔¿What is origen_hud?
      • 🔧Installations origen_hud
      • ❓FAQS origen_hud
    • 💬origen_notify
      • ❔¿What is origen_notify?
      • 🔧Installations origen_notify
      • ❓FAQS origen_notify
        • 🥬Snippets origen_notify
    • ⏸️origen_pausemenu
      • ❔¿What is origen_pausemenu?
      • 🔧Installations origen_pausemenu
      • ❓FAQS origen_pausemenu
      • 🔑EXPORTS origen_pausemenu
    • 🥷origen_blackmarket
      • ❔¿What is origen_blackmarket?
      • 🔧Installations origen_blackmarket
      • ❓FAQS origen_blackmarket
      • 🥬Snippets origen_blackmarket
    • 🧑‍🤝‍🧑origen_titlemenu
      • ❔¿What is origen_titlemenu?
      • 🔧Installations origen_titlemenu
      • ❓FAQS origen_titlemenu
      • 🥬Snippets origen_titles (soon)
    • 🚗origen_importheist
      • ❔¿What is origen_importheist?
      • 🔧Installations origen_importheist
      • ❓FAQS origen_importheist
      • 🥬Snippets origen_importheist (soon)
  • ESX
    • 🍔origen_hud
      • ❔¿What is origen_hud?
      • 🔧Installations origen_hud
      • ❓FAQS origen_hud
    • 💬origen_notify
      • ❔¿What is origen_notify?
      • 🔧Installations origen_notify
      • ❓FAQS origen_notify
      • 🥬Snippets origen_notify
    • ⏸️origen_pausemenu
      • ❔¿What is origen_pausemenu?
      • 🔧Installations origen_pausemenu
      • ❓FAQS origen_pausemenu
      • 🔑EXPORTS origen_pausemenu
    • 🧑‍🤝‍🧑origen_titlemenu
      • ❔¿What is origen_titlemenu?
      • 🔧Installations origen_titlemenu
      • ❓FAQS origen_titlemenu
      • 🥬Snippets origen_titles (soon)
    • 🚗origen_importheist
      • ❔¿What is origen_importheist?
      • 🔧Installations origen_importheist
      • ❓FAQS origen_importheist
      • 🥬Snippets origen_importheist (soon)
Powered by GitBook
On this page
  1. Origen Radio

Configuration

On this page we are going to explain all the current configurations. It is important to configure the script correctly because this can cause problems while using the script.

  1. Framework: By default the script should detect qb-core or esx if they're already started.

  2. Inventory: Select the available inventories, if your inventory is not listed, you have to add support to that inventory in the custom files.

  3. PermissionGroups: The list of groups that are going to be considered as admins.

  4. Language: Only available English and Spanish, you can add more in locales.lua

  5. MetadataSystem: A custom metadata system to avoid using the framework metadata

  6. CustomReviveEvent: The client event of your ambulancejob that is executed when the player is revived

  7. BindSystem: This enabled the binds, by default is disabled because in some servers this options don't work cause framework metadata issues.

  8. KeepInputOnNUI: If you want to players to be able to walk when using radio.

  9. NeedRadioItem: If you want to restrict the radio to only players with the items

  10. RadioItems: A list of items that are considered radio and will open the UI when used.

-- FRAMEWORK CONFIG
Config = {}
Config.Framework = GetResourceState("qb-core") == "started" and "qbcore" or GetResourceState("es_extended") == "started" and "esx" or "none"
Config.Inventory = "origen_inventory" -- origen_inventory | old_origen_inventory | qb-inventory | qs-inventory | ox_inventory | ls-inventory | codem-inventory
Config.PermissionsGroups = {
    "mod" -- list of groups that will have all permissions, like "mod", "admin", "superadmin", etc
}
Config.Language = "es" -- en | es or you cant add your own language in locales.lua
Config.MetadataSystem = false -- If you want to use a custom metadata system
Config.CustomReviveEvent = "" -- The client event that will be triggered when the player is revived, if you are using a custom EMS script
Config.BindSystem = false -- If you want to use the keybinds system
Config.KeepInputOnNUI = false -- If you want to make able to move while the NUI is open
Config.HideWeaponOnTalk = true -- If you want to hide the weapon when the player is talking on the radio
Config.NeedRadioItem = true -- If you want to make the radio item required to open the radio interface
Config.RadioItems = { -- The items that the use will open the radio
    "radio",
}

-- RADIO CONFIG

RadioConfig = {}

RadioConfig.DefaultKey = "LMENU"
RadioConfig.DefaultBroadcastKey = "COMMA"
RadioConfig.DefaultOpenRadioKey = "Z"

RadioConfig.Anims = {
    { Dict = "random@arrests", Anim = "generic_radio_chatter" },
    {
        Dict = "cellphone@str",
        Anim = "cellphone_call_listen_a",
        Prop = "prop_cs_hand_radio",
        PropBone = 57005,
        PropPlacement = {
            0.12,
            0.02,
            -0.02,
            20.0,
            70.0,
            130.0
        },
    },
    {
        Dict = "anim@male@holding_radio",
        Anim = "holding_radio_clip",
        Prop = "prop_cs_hand_radio",
        PropBone = 28422,
        PropPlacement = {
            0.0750,
            0.0230,
            -0.0230,
            -90.0000,
            0.0,
            -59.9999
        },
    },
}

PreviousPma-VoiceNextOrigen Admin

Last updated 5 months ago

📻
⚙️