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 Police
  2. Configuration

Commands

config/commands.lua
Config.Commands = {
    -- Radar
    VehicleRadar = { -- key for open the vehicle radar
        cmd = 'alpr',
        description = Config.Translations.VehicleRadar,
        key = 'NUMPAD5'
    },
    LockRadar = { -- key for lock the radar
        cmd = 'balpr',
        description = Config.Translations.LockRadar,
        key = 'NUMPAD8',
    },
    MoveRadar = { -- key for move the radar
        cmd = 'moveralpr',
        description = Config.Translations.MoveRadar,
        key = 'NUMPAD4',
    },

    -- Dispatch
    NextAlert = { -- key for go to the next alert in the mini dispatch
        cmd = 'nxtalert',
        description = Config.Translations.NextAlert,
        key = 'RIGHT',
    },
    PreviousAlert = { -- key for go to the previous alert in the mini dispatch
        cmd = 'prvalert',
        description = Config.Translations.PreviousAlert,
        key = 'LEFT',
    },
    AcceptAlert = { -- key for accept the alert in the mini dispatch and marke into the map
        key = 'O',
    },
    DeleteAlert = { -- key for decline the alert in the mini dispatch
        key = 'I',
    },
    OpenMiniDispatch = { -- key for open the mini dispatch
        key = 'U',
    },

    -- K9
    K9Menu = { -- key for open the K9 menu
        cmd = 'k9',
        description = Config.Translations.K9Menu,
        key = 'K',
    },

    -- Sirens
    SirensKey = { -- key for activate sirens
        cmd = 'sirens',
        description = Config.Translations.SirensKey,
        key = 'COMMA',
    },
    LightsSirens = { -- key for activate lights
        cmd = 'lights',
        description = Config.Translations.LightsSirens,
        key = 'Q',
    },
    
    -- Interactions 
    HandCuff = { -- key for handcuff
        description = Config.Translations.HandCuff,
        key = '',
    },
    QRR = { -- key for QRR
        description = Config.Translations.QRR,
        key = '',
    },
    Ten20 = { -- key for 10-20
        description = Config.Translations.Ten20,
        key = '',
    },
    Tackle = { -- key for tackle
        description = Config.Translations.Tackle,
        key = '',
    },

    -- Force
    ForceVehicle = {  -- The name of the command to force vehicles, this is going to force the vehicle and send alert to on duty
        cmd = 'force',
    },

    -- Quick access menu
    QuickAccess = { -- key for open the right menu
        cmd = 'quickaccess',
        description = Config.Translations.QuickAccess,
        key = 'F7',
    },

    -- Minimap
    Minimap = { -- key for set the minmap to police mode
        cmd = 'policeminmap',
        description = Config.Translations.Minimap,
        key = '',
    },

    -- Radio
    TalkRadio = { -- key for talk on your radio
        description = Config.Translations.TalkRadio,
        key = 'LMENU',
    },

    -- Alerts
    CustomCommandAlert = {
        ["911"] = {
            jobCategory = "police",
            triggerEvent = "origen_police:client:onPlayerCall911",
        },
        ["911ems"] = {
            jobCategory = "ambulance",
            triggerEvent = "origen_police:client:onPlayerCall911ems",
        },
    }
}

Here all the commands are shown with their respective descriptions and their default bindings, at the end of this configuration are the alert commands, by default the command /911 message... sends an alert to the police with the information provided , the same thing happens for the command /911ems message... but for EMS.

PreviousArmouryNextConfiscate

Last updated 1 year ago

👮
⚙️