Koja Scripts

Commands and keybinds

All chat commands and default keys of koja-mdt, with the config option that renames or disables each one.

Commands and keybinds

Commands and keys are registered by the resource. Keys use FiveM key mappings, so every player can rebind them in the game settings under Settings, Key Bindings, FiveM. The default key is only a starting point. Most names come from the config and can be changed or set to an empty string to disable them.

Commands

CommandDefault keyWhoWhat it doesConfig
/mdtF6Players with a department jobOpen or close the MDT.Config.Open.command, Config.Open.keybind
/mdtdutynoneOfficersToggle duty.Config.Duty.toggleCommand
/mdtwebnoneOfficers, and citizens if allowedGives a one-time login code and the web portal address. 10 second cooldown.Config.Web.command
/mdtphotononeEveryoneRefresh your own profile photo.Config.Avatars.command
/citation [id]none (optional)Ranks with citations.createOpen the ticket book. With a player id, that player is preselected.Config.Citations.command, Config.Citations.key
/bodycam [mode]F7OfficersStart or stop the body camera. Modes: on, off, rec, stop. Without a mode it toggles.Config.Bodycams.command, Config.Bodycams.key
/911 <message>noneEveryoneEmergency call (priority 1). A message is required.Config.Dispatch.publicCommands
/311 <message>noneEveryoneNon-emergency call (priority 3).Config.Dispatch.publicCommands
/911a <message>noneEveryoneAnonymous emergency call.Config.Dispatch.anonymousCommand
/mdtinteractLeft AltRanks with citizens.view or citations.createOpen the interaction menu (ask for ID, citation, run plate, parking citation, open MDT).Config.Interact.command, Config.Interact.key
/mdtdebug [action] [option]noneHolders of the debug aceDemo and test tools. See Demo mode.Config.DebugTools

The public call commands are set in Config.Dispatch.publicCommands. You can add more entries with their own command name, code, title and priority.

Keybinds

ActionDefault keyScopeConfig
Open MDTF6EverywhereConfig.Open.keybind
Panic button (10-99)F9On duty officersConfig.Dispatch.panicKey
Body camera start or stopF7OfficersConfig.Bodycams.key
Interaction menuLeft AltOfficersConfig.Interact.key
Quick dispatch: respondYWhile a call is shownConfig.QuickDispatch.keys.respond
Quick dispatch: dismissDeleteWhile a call is shownConfig.QuickDispatch.keys.dismiss
Quick dispatch: previous callPage UpWhile a call is shownConfig.QuickDispatch.keys.previous
Quick dispatch: next callPage DownWhile a call is shownConfig.QuickDispatch.keys.next
Quick dispatch: show or hideHomeEverywhereConfig.QuickDispatch.keys.toggle
ALPR panel on or offF10In an ALPR vehicleConfig.Anpr.vehicle.keys.toggle
ALPR lock front plateUpIn an ALPR vehicleConfig.Anpr.vehicle.keys.lockFront
ALPR lock rear plateDownIn an ALPR vehicleConfig.Anpr.vehicle.keys.lockRear
ALPR open locked vehicle in MDTRightIn an ALPR vehicleConfig.Anpr.vehicle.keys.open
Ticket booknoneEverywhereConfig.Citations.key

Fixed keys inside viewers

ViewerKeys
CCTV cameraBackspace exit, E next camera, Q previous camera, scroll or Page Up and Page Down zoom, left mouse button lock on a vehicle, G open locked vehicle, Enter confirm
CCTV placementShift and Ctrl fast and slow, E and Q up and down, G toggle prop, arrow keys rotate and cycle the prop
Bodycam live viewBackspace exit, E next, Q previous

These come from Config.Cameras.keys and Config.Bodycams.keys as game control ids.

Chat commands from other resources

koja-mdt does not register jail, fine or billing commands. Those belong to your jail and banking scripts. See Integrations.