Retro Dispatch
cfg = { debug = false, useAutoDuty = true, -- this feature, do your duty on/off automatically when you enter/left to/from your character openDispatchCommand = { command = 'dispatch', key = 'F10', description = 'Open dispatch' }, openDispatchCursorCommand = { command = 'open_cursor', key = 'F11', description = 'Open/close dispatch cursor' }, attendToLastAlert = { command = 'attend_last_dispatch', key = 'PAGEUP', description = 'Attend to last dispatch alert' }, setDutyCommand = 'setDispatchDuty', -- this code is used to turn your duty status on and off setCodeCommand = 'setCode', jobs = { ['police'] = true, ['sheriff'] = true, ['ambulance'] = true, },
statusTypes = { ['code-4'] = { label = 'CODE 4', color = '#F7FF01' }, ['code-6'] = { label = 'CODE 6', color = '#386BEA' }, ['unresolved'] = { label = 'UNRESOLVED', color = '#FFA600' }, ['resolved'] = { label = 'RESOLVED', color = '#F7FF01' }, ['utl'] = { label = 'UTL', color = '#83837C' }, ['10-77'] = { label = '10-77', color = '#B9B991' }, ['10-78'] = { label = '10-78', color = '#F00' } },
unitTypes = { -- ['JOB_NAME'] = 'JOB_LABEL' ['police'] = 'Police', ['sheriff'] = 'Sheriff' },
codes = { -- 10 codes { code = '10-90', label = 'Robbery In Progress' }, { code = '10-99C', label = 'Officer Needs Help' }, { code = '911', label = 'Emergency Call' }, { code = '10-94', label = 'Street Racing' }, { code = '10-13A', label = 'Officer Down' }, { code = '10-87', label = 'Animal Assistance' }, { code = '10-10', label = 'Fight In Progress' }, { code = '10-15', label = 'Suspect In Custody' }, { code = '10-38', label = 'Traffic Stop' }, { code = '10-50', label = 'Vehicle Accident' }, { code = '10-99', label = 'Officer In Danger' }, },
importVehicles = { -- you have to write down your import vehicles. ['MODEL'] = 'LABEL' ['r820'] = 'R8' },
statusCodes = { 'None', '10-6', '10-7', '10-8' }, -- You can only translate the code in the first row into your own language, please do not change its position, it must always remain at the start!
soundVolumes = { default = 0.5, emergency = 0.5 }, -- If you dont want to use a sound, you can make it 0.0 readyAlerts = { -- Types of alerts and sounds; default, emergency. (you can add it more sound or change if you wish) trafficStop = { type = 'default', code = '10-38', icon = 'FaTrafficLight', title = 'Traffic Stop', blip = { sprite = 164, colour = 1, scale = 1.5, length = 2, }, autoAttachUnits = true, autoAttachClosestVehicle = true, jobs = { ['police'] = true, ['sheriff'] = true } }, pursuitProgress = { type = 'default', code = '10-38', icon = 'FaCarOn', title = 'Pursuit in Progress', blip = { sprite = 56, colour = 1, scale = 1.5, length = 2, }, autoAttachUnits = true, autoAttachClosestVehicle = true, jobs = { ['police'] = true, ['sheriff'] = true } }, createCall = { type = 'default', icon = 'FaCarOn', blip = { sprite = 164, colour = 1, scale = 1.5, length = 2, }, autoAttachUnits = false, jobs = { ['police'] = true, ['sheriff'] = true } }, shotFire = { type = 'default', code = '10-18', icon = 'FaGun', title = 'Shot Fire', blip = { sprite = 110, colour = 1, scale = 1.5, length = 2, }, jobs = { ['police'] = true, ['sheriff'] = true } }, officerDeath = { type = 'emergency', code = '10-10', icon = 'FaCarOn', title = 'Officer Death', blip = { sprite = 110, colour = 1, scale = 1.5, length = 2, }, jobs = { ['police'] = true, ['sheriff'] = true, ['ambulance'] = true } }, ['911'] = { type = 'default', code = '911', icon = 'FaPhone', title = 'Incoming 911 Call', blip = { sprite = 817, colour = 1, scale = 1.5, length = 2, }, jobs = { ['police'] = true, ['sheriff'] = true, ['ambulance'] = true } } },
vehicleScanDetails = { -- you can add or delete detail 'owner', 'model', 'color' },
fakeNames = { -- these names will be given randomly when plate scanner couldn't find the car (it's for better roleplaying) 'Anthony Joshua', 'Cristiano Ronaldo', 'Lionel Messi' },}locale = 'en',locales = { ['en'] = { notAllowed = "You're not allowed for this action!", codeCouldntFind = "You must be have a code!", offDuty = "You're off duty", onDuty = "You're on duty", newCodeSaved = "Code has been saved.", code = 'code', enterCode = 'Enter a code', attachedUnits = 'Attached Units', description = 'Description', newWaypoint = 'The incident location has been marked on your map.', youAlreadyAttached = 'You already attached to this alert!', plateNotFound = "Plate not found!", messagedBy = 'Messaged by', messagedByOfficer = 'Messaged by Officer', needHelp = 'I need help urgently!', relevantVehicle = 'Relevant Vehicle', yes = 'Yes', no = 'No', all = 'All', dispatch = 'Dispatch', alerts = 'Alerts', activeCalls = 'Active Calls', description = 'Description', changeCallType = 'Change Call Type', changeCallName = 'Change Call Name', setDescription = 'Set Description', setLocation = 'Set Location', assignUnits = 'Assign Units', setStatus = 'Set Status', available = 'Available', units = 'Units', activeUnits = 'Active Units', group = 'Group', setCode = 'Set _code_', radio = 'Radio', channels = 'Channels', units = 'Units', assignUnits = 'Assign Units', split = 'Split', plate = 'Plate', scanner = 'Scanner', owner = 'Owner', model = 'Model', color = 'Color', stolen = 'Stolen', createCall = 'Create Call', callType = 'Call Type', callName = 'Call Name', callDescription = 'Description', callLocation = 'Location (click)', cancel = 'Cancel', submit = 'Submit', search = 'Search...', foot = 'On Foot', car = 'Car', bike = 'Bike', motorcycle = 'Motorcycle', helicopter = 'Helicopter', createChannel = 'Create Channel', frequency = 'Frequency', title = 'Title', deleteChannel = 'Delete Channel', settings = 'Settings', bgColor = 'Background Color', iconColor = 'Alert Icon Color', changeChannelName = 'Change Channel Name', addNewDetail = 'Add New Detail', dispatchColor = 'Dispatch Color', lastAlertIsMarked = 'Last dispatch alert is marked on your map.', attendLastAlertSpamProtection = 'You can use this feature again after %s seconds' }, ['tr'] = { notAllowed = "Bu işlem için yetkin yok!", codeCouldntFind = "Bir kod girmelisin!", offDuty = "Görev dışındasın", onDuty = "Görevdesin", newCodeSaved = "Kod kaydedildi.", code = 'kod', enterCode = 'Bir kod gir', attachedUnits = 'Bağlı Birimler', description = 'Açıklama', newWaypoint = 'Olay konumu haritanda işaretlendi.', youAlreadyAttached = 'Bu alarma zaten bağlısın!', plateNotFound = "Plaka bulunamadı!", messagedBy = 'Mesaj atan', messagedByOfficer = 'Memur tarafından mesaj', needHelp = 'Acil yardıma ihtiyacım var!', relevantVehicle = 'İlgili Araç', yes = 'Evet', no = 'Hayır', all = 'Hepsi', dispatch = 'Merkez', alerts = 'Alarmlar', activeCalls = 'Aktif Çağrılar', changeCallType = 'Çağrı Türünü Değiştir', changeCallName = 'Çağrı Adını Değiştir', setDescription = 'Açıklama Ayarla', setLocation = 'Konum Ayarla', assignUnits = 'Birim Ata', setStatus = 'Durum Ayarla', available = 'Müsait', units = 'Birimler', activeUnits = 'Aktif Birimler', group = 'Grup', setCode = '_kod_ ayarla', radio = 'Telsiz', channels = 'Kanallar', split = 'Ayır', plate = 'Plaka', scanner = 'Tarayıcı', owner = 'Sahibi', model = 'Model', color = 'Renk', stolen = 'Çalıntı', createCall = 'Çağrı Oluştur', callType = 'Çağrı Türü', callName = 'Çağrı Adı', callDescription = 'Açıklama', callLocation = 'Konum (tıkla)', cancel = 'İptal', submit = 'Gönder', search = 'Ara...', foot = 'Yaya', car = 'Araba', bike = 'Bisiklet', motorcycle = 'Motosiklet', helicopter = 'Helikopter', createChannel = 'Kanal Oluştur', frequency = 'Frekans', title = 'Başlık', deleteChannel = 'Kanalı Sil', settings = 'Ayarlar', bgColor = 'Arka Plan Rengi', iconColor = 'Alarm İkon Rengi', changeChannelName = 'Kanal Adını Değiştir', addNewDetail = 'Yeni Detay Ekle', dispatchColor = 'Dispatch Color', lastAlertIsMarked = 'Last dispatch alert is marked on your map.', attendLastAlertSpamProtection = 'You can use this feature again after %s seconds' }, ['de'] = { notAllowed = "Du bist für diese Aktion nicht berechtigt!", codeCouldntFind = "Du musst einen Code eingeben!", offDuty = "Außer Dienst", onDuty = "Im Dienst", newCodeSaved = "Code wurde gespeichert.", code = 'Code', enterCode = 'Code eingeben', attachedUnits = 'Zugewiesene Einheiten', description = 'Beschreibung', newWaypoint = 'Der Einsatzort wurde auf deiner Karte markiert.', youAlreadyAttached = 'Du bist diesem Alarm bereits zugewiesen!', plateNotFound = "Kennzeichen nicht gefunden!", messagedBy = 'Nachricht von', messagedByOfficer = 'Nachricht von einem Beamten', needHelp = 'Ich brauche dringend Hilfe!', relevantVehicle = 'Relevantes Fahrzeug', yes = 'Ja', no = 'Nein', all = 'Alle', dispatch = 'Leitstelle', alerts = 'Alarme', activeCalls = 'Aktive Einsätze', changeCallType = 'Einsatztyp ändern', changeCallName = 'Einsatzname ändern', setDescription = 'Beschreibung festlegen', setLocation = 'Ort festlegen', assignUnits = 'Einheiten zuweisen', setStatus = 'Status festlegen', available = 'Verfügbar', units = 'Einheiten', activeUnits = 'Aktive Einheiten', group = 'Gruppe', setCode = '_Code_ setzen', radio = 'Funk', channels = 'Kanäle', split = 'Trennen', plate = 'Kennzeichen', scanner = 'Scanner', owner = 'Besitzer', model = 'Modell', color = 'Farbe', stolen = 'Gestohlen', createCall = 'Einsatz erstellen', callType = 'Einsatztyp', callName = 'Einsatzname', callDescription = 'Beschreibung', callLocation = 'Ort (klicken)', cancel = 'Abbrechen', submit = 'Senden', search = 'Suchen...', foot = 'Zu Fuß', car = 'Auto', bike = 'Fahrrad', motorcycle = 'Motorrad', helicopter = 'Hubschrauber', createChannel = 'Kanal erstellen', frequency = 'Frequenz', title = 'Titel', deleteChannel = 'Kanal löschen', settings = 'Einstellungen', bgColor = 'Hintergrundfarbe', iconColor = 'Alarm-Icon-Farbe', changeChannelName = 'Kanalnamen ändern', addNewDetail = 'Neues Detail hinzufügen', dispatchColor = 'Dispatch Color', lastAlertIsMarked = 'Last dispatch alert is marked on your map.', attendLastAlertSpamProtection = 'You can use this feature again after %s seconds' }, ['fr'] = { notAllowed = "Vous n'êtes pas autorisé à effectuer cette action !", codeCouldntFind = "Vous devez entrer un code !", offDuty = "Hors service", onDuty = "En service", newCodeSaved = "Le code a été enregistré.", code = 'code', enterCode = 'Entrer un code', attachedUnits = 'Unités assignées', description = 'Description', newWaypoint = "L'emplacement de l'incident a été marqué sur votre carte.", youAlreadyAttached = 'Vous êtes déjà assigné à cette alerte !', plateNotFound = "Plaque introuvable !", messagedBy = 'Message de', messagedByOfficer = 'Message d’un officier', needHelp = "J'ai besoin d'aide immédiatement !", relevantVehicle = 'Véhicule concerné', yes = 'Oui', no = 'Non', all = 'Tous', dispatch = 'Dispatch', alerts = 'Alertes', activeCalls = 'Appels actifs', changeCallType = "Changer le type d'appel", changeCallName = "Changer le nom de l'appel", setDescription = 'Définir la description', setLocation = "Définir l'emplacement", assignUnits = 'Assigner des unités', setStatus = 'Définir le statut', available = 'Disponible', units = 'Unités', activeUnits = 'Unités actives', group = 'Groupe', setCode = 'Définir le _code_', radio = 'Radio', channels = 'Canaux', split = 'Séparer', plate = 'Plaque', scanner = 'Scanner', owner = 'Propriétaire', model = 'Modèle', color = 'Couleur', stolen = 'Volé', createCall = 'Créer un appel', callType = "Type d'appel", callName = "Nom de l'appel", callDescription = 'Description', callLocation = 'Emplacement (cliquer)', cancel = 'Annuler', submit = 'Valider', search = 'Rechercher...', foot = 'À pied', car = 'Voiture', bike = 'Vélo', motorcycle = 'Moto', helicopter = 'Hélicoptère', createChannel = 'Créer un canal', frequency = 'Fréquence', title = 'Titre', deleteChannel = 'Supprimer le canal', settings = 'Paramètres', bgColor = 'Couleur de fond', iconColor = "Couleur de l'icône d'alerte", changeChannelName = 'Changer le nom du canal', addNewDetail = 'Ajouter un nouveau détail', dispatchColor = 'Dispatch Color', lastAlertIsMarked = 'Last dispatch alert is marked on your map.', attendLastAlertSpamProtection = 'You can use this feature again after %s seconds' }, ['es'] = { notAllowed = "¡No tienes permiso para esta acción!", codeCouldntFind = "¡Debes ingresar un código!", offDuty = "Fuera de servicio", onDuty = "En servicio", newCodeSaved = "El código ha sido guardado.", code = 'código', enterCode = 'Ingresa un código', attachedUnits = 'Unidades asignadas', description = 'Descripción', newWaypoint = 'La ubicación del incidente ha sido marcada en tu mapa.', youAlreadyAttached = '¡Ya estás asignado a esta alerta!', plateNotFound = "¡Placa no encontrada!", messagedBy = 'Mensaje de', messagedByOfficer = 'Mensaje de un oficial', needHelp = '¡Necesito ayuda urgente!', relevantVehicle = 'Vehículo relevante', yes = 'Sí', no = 'No', all = 'Todos', dispatch = 'Despacho', alerts = 'Alertas', activeCalls = 'Llamadas activas', changeCallType = 'Cambiar tipo de llamada', changeCallName = 'Cambiar nombre de la llamada', setDescription = 'Establecer descripción', setLocation = 'Establecer ubicación', assignUnits = 'Asignar unidades', setStatus = 'Establecer estado', available = 'Disponible', units = 'Unidades', activeUnits = 'Unidades activas', group = 'Grupo', setCode = 'Establecer _código_', radio = 'Radio', channels = 'Canales', split = 'Dividir', plate = 'Placa', scanner = 'Escáner', owner = 'Propietario', model = 'Modelo', color = 'Color', stolen = 'Robado', createCall = 'Crear llamada', callType = 'Tipo de llamada', callName = 'Nombre de la llamada', callDescription = 'Descripción', callLocation = 'Ubicación (clic)', cancel = 'Cancelar', submit = 'Enviar', search = 'Buscar...', foot = 'A pie', car = 'Coche', bike = 'Bicicleta', motorcycle = 'Motocicleta', helicopter = 'Helicóptero', createChannel = 'Crear canal', frequency = 'Frecuencia', title = 'Título', deleteChannel = 'Eliminar canal', settings = 'Configuración', bgColor = 'Color de fondo', iconColor = 'Color del icono de alerta', changeChannelName = 'Cambiar nombre del canal', addNewDetail = 'Agregar nuevo detalle', dispatchColor = 'Dispatch Color', lastAlertIsMarked = 'Last dispatch alert is marked on your map.', attendLastAlertSpamProtection = 'You can use this feature again after %s seconds' }, ['ar'] = { notAllowed = "غير مسموح لك بتنفيذ هذا الإجراء!", codeCouldntFind = "يجب إدخال رمز!", offDuty = "خارج الخدمة", onDuty = "في الخدمة", newCodeSaved = "تم حفظ الرمز.", code = 'الرمز', enterCode = 'أدخل رمزًا', attachedUnits = 'الوحدات المرتبطة', description = 'الوصف', newWaypoint = 'تم تحديد موقع الحادث على الخريطة.', youAlreadyAttached = 'أنت مرتبط بهذا التنبيه بالفعل!', plateNotFound = "لم يتم العثور على اللوحة!", messagedBy = 'رسالة من', messagedByOfficer = 'رسالة من ضابط', needHelp = 'أحتاج إلى مساعدة عاجلة!', relevantVehicle = 'المركبة ذات الصلة', yes = 'نعم', no = 'لا', all = 'الكل', dispatch = 'العمليات', alerts = 'التنبيهات', activeCalls = 'البلاغات النشطة', changeCallType = 'تغيير نوع البلاغ', changeCallName = 'تغيير اسم البلاغ', setDescription = 'تعيين الوصف', setLocation = 'تعيين الموقع', assignUnits = 'تعيين الوحدات', setStatus = 'تعيين الحالة', available = 'متاح', units = 'الوحدات', activeUnits = 'الوحدات النشطة', group = 'مجموعة', setCode = 'تعيين _الرمز_', radio = 'الراديو', channels = 'القنوات', split = 'تقسيم', plate = 'اللوحة', scanner = 'الماسح', owner = 'المالك', model = 'الطراز', color = 'اللون', stolen = 'مسروق', createCall = 'إنشاء بلاغ', callType = 'نوع البلاغ', callName = 'اسم البلاغ', callDescription = 'الوصف', callLocation = 'الموقع (انقر)', cancel = 'إلغاء', submit = 'إرسال', search = 'بحث...', foot = 'مشاة', car = 'سيارة', bike = 'دراجة', motorcycle = 'دراجة نارية', helicopter = 'مروحية', createChannel = 'إنشاء قناة', frequency = 'التردد', title = 'العنوان', deleteChannel = 'حذف القناة', settings = 'الإعدادات', bgColor = 'لون الخلفية', iconColor = 'لون أيقونة التنبيه', changeChannelName = 'تغيير اسم القناة', addNewDetail = 'إضافة تفاصيل جديدة', dispatchColor = 'Dispatch Color', lastAlertIsMarked = 'Last dispatch alert is marked on your map.', attendLastAlertSpamProtection = 'You can use this feature again after %s seconds' }}
cfg.locales[cfg.locale].colors = {[-1] = 'Unknown',[0] = 'Metallic Black',[1] = 'Metallic Graphite Black',[2] = 'Metallic Black Steel',[3] = 'Dark Silver',[4] = 'Metallic Silver',[5] = 'Metallic Blue Silver',[6] = 'Metallic Steel Gray',[7] = 'Metallic Silver',[8] = 'Metallic Silver',[9] = 'Metallic Midnight Silver',[10] = 'Metal',[11] = 'Metallic Gray',[12] = 'Matte Black',[13] = 'Matte Gray',[14] = 'Matte Light Gray',[15] = 'Black',[16] = 'Black',[17] = 'Dark Silver',[18] = 'Silver',[19] = 'Gun Metal',[20] = 'Silver',[21] = 'Black',[22] = 'Graphite',[23] = 'Silver Gray',[24] = 'Silver',[25] = 'Silver Blue',[26] = 'Silver',[27] = 'Metallic Red',[28] = 'Metallic Torino Red',[29] = 'Metallic Formula Red',[30] = 'Metallic Blaze Red',[31] = 'Metallic Graceful Red',[32] = 'Metallic Garnet Red',[33] = 'Metallic Desert Red',[34] = 'Metallic Cabernet Red',[35] = 'Metallic Candy Red',[36] = 'Metallic Sunrise Orange',[37] = 'Metallic Classic Gold',[38] = 'Metallic Orange',[39] = 'Matte Red',[40] = 'Matte Dark Red',[41] = 'Matte Orange',[42] = 'Matte Yellow',[43] = 'Red',[44] = 'Bright Red',[45] = 'Garnet Red',[46] = 'Red',[47] = 'Golden Red',[48] = 'Dark Red',[49] = 'Metallic Dark Green',[50] = 'Metallic Racing Green',[51] = 'Metallic Sea Green',[52] = 'Metallic Olive Green',[53] = 'Metallic Green',[54] = 'Metallic Gasoline Blue-Green',[55] = 'Matte Lime Green',[56] = 'Dark Green',[57] = 'Green',[58] = 'Dark Green',[59] = 'Green',[60] = 'Sea Blue',[61] = 'Metallic Midnight Blue',[62] = 'Metallic Dark Blue',[63] = 'Metallic Saxony Blue',[64] = 'Metallic Blue',[65] = 'Metallic Mariner Blue',[66] = 'Metallic Harbor Blue',[67] = 'Metallic Diamond Blue',[68] = 'Metallic Surf Blue',[69] = 'Metallic Nautical Blue',[70] = 'Metallic Bright Blue',[71] = 'Metallic Purple Blue',[72] = 'Metallic Spinnaker Blue',[73] = 'Metallic Ultra Blue',[74] = 'Metallic Light Blue',[75] = 'Dark Blue',[76] = 'Midnight Blue',[77] = 'Blue',[78] = 'Sea Foam Blue',[79] = 'Uil Light Blue',[80] = 'Maui Blue',[81] = 'Light Blue',[82] = 'Matte Dark Blue',[83] = 'Matte Blue',[84] = 'Matte Midnight Blue',[85] = 'Dark Blue',[86] = 'Blue',[87] = 'Light Blue',[88] = 'Metallic Yellow',[89] = 'Metallic Yellow',[90] = 'Metallic Bronze',[91] = 'Metallic Yellow',[92] = 'Metallic Lime',[93] = 'Metallic Champagne',[94] = 'Metallic Pueblo Beige',[95] = 'Metallic Dark Ivory',[96] = 'Metallic Brown',[97] = 'Metallic Golden Brown',[98] = 'Metallic Light Brown',[99] = 'Metallic Straw Beige',[100] = 'Metallic Moss Brown',[101] = 'Metallic Biston Brown',[102] = 'Metallic Beechwood',[103] = 'Metallic Dark Beechwood',[104] = 'Metallic Orange',[105] = 'Metallic Sand',[106] = 'Metallic Sand',[107] = 'Metallic Cream',[108] = 'Brown',[109] = 'Brown',[110] = 'Light Brown',[111] = 'Metallic White',[112] = 'Metallic Ice White',[113] = 'Honey Beige',[114] = 'Brown',[115] = 'Dark Brown',[116] = 'Straw Beige',[117] = 'Steel',[118] = 'Black Steel',[119] = 'Aluminum',[120] = 'Chrome',[121] = 'Off White',[122] = 'Off White',[123] = 'Orange',[124] = 'Light Orange',[125] = 'Metallic Securicor Green',[126] = 'Taxi Yellow',[127] = 'Police Blue',[128] = 'Matte Green',[129] = 'Matte Brown',[130] = 'Orange',[131] = 'Matte White',[132] = 'White',[133] = 'Olive Military Green',[134] = 'Pure White',[135] = 'Hot Pink',[136] = 'Salmon Pink',[137] = 'Metallic Vermillion Pink',[138] = 'Orange',[139] = 'Green',[140] = 'Blue',[141] = 'Metallic Black Blue',[142] = 'Metallic Black Purple',[143] = 'Metallic Black Red',[144] = 'Hunter Green',[145] = 'Metallic Purple',[146] = 'Metallic Dark Blue',[147] = 'MODSHOP Black',[148] = 'Matte Purple',[149] = 'Matte Dark Purple',[150] = 'Metallic Lava Red',[151] = 'Matte Forest Green',[152] = 'Matte Olive Drab',[153] = 'Matte Desert Brown',[154] = 'Matte Desert Tan',[155] = 'Matte Foliage Green',[156] = 'Metal Color',[157] = 'Epsilon Blue',}