mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-30 17:58:54 +00:00
chore(coding-style): correct indentation
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
+15
-15
@@ -3,22 +3,22 @@ resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937'
|
||||
description 'ESX Police Job'
|
||||
|
||||
server_scripts {
|
||||
'@es_extended/locale.lua',
|
||||
'locales/br.lua',
|
||||
'locales/en.lua',
|
||||
'locales/fr.lua',
|
||||
'locales/es.lua',
|
||||
'@mysql-async/lib/MySQL.lua',
|
||||
'config.lua',
|
||||
'server/main.lua'
|
||||
'@es_extended/locale.lua',
|
||||
'locales/br.lua',
|
||||
'locales/en.lua',
|
||||
'locales/fr.lua',
|
||||
'locales/es.lua',
|
||||
'@mysql-async/lib/MySQL.lua',
|
||||
'config.lua',
|
||||
'server/main.lua'
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
'@es_extended/locale.lua',
|
||||
'locales/br.lua',
|
||||
'locales/en.lua',
|
||||
'locales/fr.lua',
|
||||
'locales/es.lua',
|
||||
'config.lua',
|
||||
'client/main.lua'
|
||||
'@es_extended/locale.lua',
|
||||
'locales/br.lua',
|
||||
'locales/en.lua',
|
||||
'locales/fr.lua',
|
||||
'locales/es.lua',
|
||||
'config.lua',
|
||||
'client/main.lua'
|
||||
}
|
||||
|
||||
+1214
-1213
File diff suppressed because it is too large
Load Diff
+57
-57
@@ -1,8 +1,8 @@
|
||||
Config = {}
|
||||
Config.DrawDistance = 100.0
|
||||
Config.MarkerType = 1
|
||||
Config.MarkerSize = {x = 1.5, y = 1.5, z = 1.0}
|
||||
Config.MarkerColor = {r = 50, g = 50, b = 204}
|
||||
Config.MarkerSize = { x = 1.5, y = 1.5, z = 1.0 }
|
||||
Config.MarkerColor = { r = 50, g = 50, b = 204 }
|
||||
Config.EnablePlayerManagement = false
|
||||
Config.EnableArmoryManagement = false
|
||||
Config.EnableESXIdentity = false -- only turn this on if you are using esx_identity
|
||||
@@ -10,73 +10,73 @@ Config.EnableNonFreemodePeds = false -- turn this on if you want custom ped
|
||||
Config.EnableSocietyOwnedVehicles = false
|
||||
Config.EnableLicenses = false
|
||||
Config.MaxInService = -1
|
||||
Config.Locale = 'fr'
|
||||
Config.Locale = 'fr'
|
||||
|
||||
Config.PoliceStations = {
|
||||
|
||||
LSPD = {
|
||||
LSPD = {
|
||||
|
||||
Blip = {
|
||||
Pos = {x = 425.130, y = -979.558, z = 30.711},
|
||||
Color = 29
|
||||
},
|
||||
Blip = {
|
||||
Pos = { x = 425.130, y = -979.558, z = 30.711 },
|
||||
Color = 29,
|
||||
},
|
||||
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_ASSAULTRIFLE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
{name = 'WEAPON_STICKYBOMB', price = 250},
|
||||
{name = 'GADGET_PARACHUTE', price = 300},
|
||||
},
|
||||
AuthorizedWeapons = {
|
||||
{ name = 'WEAPON_NIGHTSTICK', price = 200 },
|
||||
{ name = 'WEAPON_COMBATPISTOL', price = 300 },
|
||||
{ name = 'WEAPON_ASSAULTSMG', price = 1250 },
|
||||
{ name = 'WEAPON_ASSAULTRIFLE', price = 1500 },
|
||||
{ name = 'WEAPON_PUMPSHOTGUN', price = 600 },
|
||||
{ name = 'WEAPON_STUNGUN', price = 500 },
|
||||
{ name = 'WEAPON_FLASHLIGHT', price = 80 },
|
||||
{ name = 'WEAPON_FIREEXTINGUISHER', price = 120 },
|
||||
{ name = 'WEAPON_FLAREGUN', price = 60 },
|
||||
{ name = 'WEAPON_STICKYBOMB', price = 250 },
|
||||
{ name = 'GADGET_PARACHUTE', price = 300 },
|
||||
},
|
||||
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Véhicule de patrouille 1'},
|
||||
{name = 'police2', label = 'Véhicule de patrouille 2'},
|
||||
{name = 'police3', label = 'Véhicule de patrouille 3'},
|
||||
{name = 'police4', label = 'Véhicule civil'},
|
||||
{name = 'policeb', label = 'Moto'},
|
||||
{name = 'policet', label = 'Van de transport'},
|
||||
},
|
||||
AuthorizedVehicles = {
|
||||
{ name = 'police', label = 'Véhicule de patrouille 1' },
|
||||
{ name = 'police2', label = 'Véhicule de patrouille 2' },
|
||||
{ name = 'police3', label = 'Véhicule de patrouille 3' },
|
||||
{ name = 'police4', label = 'Véhicule civil' },
|
||||
{ name = 'policeb', label = 'Moto' },
|
||||
{ name = 'policet', label = 'Van de transport' },
|
||||
},
|
||||
|
||||
Cloakrooms = {
|
||||
{x = 452.600, y = -993.306, z = 29.750}
|
||||
},
|
||||
Cloakrooms = {
|
||||
{ x = 452.600, y = -993.306, z = 29.750 },
|
||||
},
|
||||
|
||||
Armories = {
|
||||
{x = 451.699, y = -980.356, z = 29.689}
|
||||
},
|
||||
Armories = {
|
||||
{ x = 451.699, y = -980.356, z = 29.689 },
|
||||
},
|
||||
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 454.69, y = -1017.4, z = 27.430},
|
||||
SpawnPoint = {x = 438.42, y = -1018.3, z = 27.757},
|
||||
Heading = 90.0
|
||||
}
|
||||
},
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = { x = 454.69, y = -1017.4, z = 27.430 },
|
||||
SpawnPoint = { x = 438.42, y = -1018.3, z = 27.757 },
|
||||
Heading = 90.0,
|
||||
}
|
||||
},
|
||||
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = { x = 466.477, y = -982.819, z = 42.691 },
|
||||
SpawnPoint = { x = 450.04, y = -981.14, z = 42.691 },
|
||||
Heading = 0.0,
|
||||
}
|
||||
},
|
||||
|
||||
VehicleDeleters = {
|
||||
{x = 462.74, y = -1014.4, z = 27.065},
|
||||
{x = 462.40, y = -1019.7, z = 27.104}
|
||||
},
|
||||
VehicleDeleters = {
|
||||
{ x = 462.74, y = -1014.4, z = 27.065 },
|
||||
{ x = 462.40, y = -1019.7, z = 27.104 },
|
||||
},
|
||||
|
||||
BossActions = {
|
||||
{x = 448.417, y = -973.208, z = 29.689}
|
||||
}
|
||||
BossActions = {
|
||||
{ x = 448.417, y = -973.208, z = 29.689 }
|
||||
},
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
+87
-87
@@ -1,91 +1,91 @@
|
||||
Locales['br'] = {
|
||||
--Cloackroom
|
||||
['cloakroom'] = 'Vestiário',
|
||||
['citizen_wear'] = 'Roupa casual',
|
||||
['police_wear'] = 'Uniforme da Polícia',
|
||||
['open_cloackroom'] = 'Pressione ~INPUT_CONTEXT~ para se trocar',
|
||||
--Armory
|
||||
['get_weapon'] = 'Pegar arma',
|
||||
['put_weapon'] = 'Entregar arma',
|
||||
['buy_weapons'] = 'Comprar armas',
|
||||
['armory'] = 'Arsenal',
|
||||
['open_armory'] = 'Pressione ~INPUT_CONTEXT~ para acessar o arsenal',
|
||||
--Vehicles
|
||||
['vehicle_menu'] = 'Veículo',
|
||||
['vehicle_out'] = 'Já existe um carro fora da garagem',
|
||||
['vehicle_spawner'] = 'Pressione ~INPUT_CONTEXT~ para escolher um veículo',
|
||||
['store_vehicle'] = 'Pressione ~INPUT_CONTEXT~ para guardar o veículo',
|
||||
['service_max'] = 'Maximo de oficiais em serviço : ',
|
||||
--Action Menu
|
||||
['citizen_interaction'] = 'Interagir com o cidadão',
|
||||
['vehicle_interaction'] = 'Interagir com o veículo',
|
||||
['object_spawner'] = 'Interagir com as rodovias',
|
||||
-- Cloackroom
|
||||
['cloakroom'] = 'Vestiário',
|
||||
['citizen_wear'] = 'Roupa casual',
|
||||
['police_wear'] = 'Uniforme da Polícia',
|
||||
['open_cloackroom'] = 'Pressione ~INPUT_CONTEXT~ para se trocar',
|
||||
-- Armory
|
||||
['get_weapon'] = 'Pegar arma',
|
||||
['put_weapon'] = 'Entregar arma',
|
||||
['buy_weapons'] = 'Comprar armas',
|
||||
['armory'] = 'Arsenal',
|
||||
['open_armory'] = 'Pressione ~INPUT_CONTEXT~ para acessar o arsenal',
|
||||
-- Vehicles
|
||||
['vehicle_menu'] = 'Veículo',
|
||||
['vehicle_out'] = 'Já existe um carro fora da garagem',
|
||||
['vehicle_spawner'] = 'Pressione ~INPUT_CONTEXT~ para escolher um veículo',
|
||||
['store_vehicle'] = 'Pressione ~INPUT_CONTEXT~ para guardar o veículo',
|
||||
['service_max'] = 'Maximo de oficiais em serviço : ',
|
||||
-- Action Menu
|
||||
['citizen_interaction'] = 'Interagir com o cidadão',
|
||||
['vehicle_interaction'] = 'Interagir com o veículo',
|
||||
['object_spawner'] = 'Interagir com as rodovias',
|
||||
|
||||
['id_card'] = 'Carteira de identidade',
|
||||
['search'] = 'Procurar',
|
||||
['handcuff'] = 'Algemar / Soltar',
|
||||
['put_in_vehicle'] = 'Colocar no veículo',
|
||||
['fine'] = 'Multa',
|
||||
['no_players_nearby'] = 'Nenhum jogador nas proximidades',
|
||||
['id_card'] = 'Carteira de identidade',
|
||||
['search'] = 'Procurar',
|
||||
['handcuff'] = 'Algemar / Soltar',
|
||||
['put_in_vehicle'] = 'Colocar no veículo',
|
||||
['fine'] = 'Multa',
|
||||
['no_players_nearby'] = 'Nenhum jogador nas proximidades',
|
||||
|
||||
['vehicle_info'] = 'Informações',
|
||||
['pick_lock'] = 'Trancar veículo',
|
||||
['vehicle_unlocked'] = 'Veículo ~g~destravado~s~',
|
||||
['no_vehicles_nearby'] = 'Nenhum veículo nas proximidades',
|
||||
['traffic_interaction'] = 'Interagir com as rodovias',
|
||||
['cone'] = 'Cones',
|
||||
['barrier'] = 'Barreira',
|
||||
['spikestrips'] = 'Fita de pregos',
|
||||
['box'] = 'Caixa',
|
||||
['cash'] = 'Caixa de dinheiro',
|
||||
--ID Card Menu
|
||||
['name'] = 'Nome : ',
|
||||
['bac'] = 'bAC : ',
|
||||
--Body Search Menu
|
||||
['confiscate_dirty'] = 'Confiscar dinheiro sujo : $',
|
||||
['guns_label'] = '--- Armas ---',
|
||||
['confiscate'] = 'Confiscar ',
|
||||
['inventory_label'] = '--- Inventário ---',
|
||||
['confiscate_inv'] = 'Confiscar x',
|
||||
['vehicle_info'] = 'Informações',
|
||||
['pick_lock'] = 'Trancar veículo',
|
||||
['vehicle_unlocked'] = 'Veículo ~g~destravado~s~',
|
||||
['no_vehicles_nearby'] = 'Nenhum veículo nas proximidades',
|
||||
['traffic_interaction'] = 'Interagir com as rodovias',
|
||||
['cone'] = 'Cones',
|
||||
['barrier'] = 'Barreira',
|
||||
['spikestrips'] = 'Fita de pregos',
|
||||
['box'] = 'Caixa',
|
||||
['cash'] = 'Caixa de dinheiro',
|
||||
-- ID Card Menu
|
||||
['name'] = 'Nome : ',
|
||||
['bac'] = 'bAC : ',
|
||||
-- Body Search Menu
|
||||
['confiscate_dirty'] = 'Confiscar dinheiro sujo : $',
|
||||
['guns_label'] = '--- Armas ---',
|
||||
['confiscate'] = 'Confiscar ',
|
||||
['inventory_label'] = '--- Inventário ---',
|
||||
['confiscate_inv'] = 'Confiscar x',
|
||||
|
||||
['traffic_offense'] = 'Infrações de transito',
|
||||
['minor_offense'] = 'Infração leve',
|
||||
['average_offense'] = 'Infração média',
|
||||
['major_offense'] = 'Infração grave',
|
||||
['fine_total'] = 'Multa : ',
|
||||
--Vehicle Info Menu
|
||||
['plate'] = 'Placa: ',
|
||||
['owner_unknown'] = 'Proprietário : Desconhecido',
|
||||
['owner'] = 'Proprietário : ',
|
||||
--Weapons Menus
|
||||
['get_weapon_menu'] = 'Arsenal - Pegar arma',
|
||||
['put_weapon_menu'] = 'Arsenal - Entregar arma',
|
||||
['buy_weapon_menu'] = 'Arsenal - Comprar armas',
|
||||
['not_enough_money'] = 'Você não tem dinheiro suficiente',
|
||||
--Boss Menu
|
||||
['take_company_money'] = 'Retirar o dinheiro da empresa',
|
||||
['deposit_money'] = 'Depositar dinheiro',
|
||||
['amount_of_withdrawal'] = 'Quantidade de retirada',
|
||||
['invalid_amount'] = 'Quantidade inválida',
|
||||
['amount_of_deposit'] = 'Quantidade de depósito',
|
||||
['open_bossmenu'] = 'Pressione ~INPUT_CONTEXT~ para abrir o menu',
|
||||
--Misc
|
||||
['remove_object'] = 'Pressione ~INPUT_CONTEXT~ para remover o objeto',
|
||||
['map_blip'] = 'Departamento de Polícia',
|
||||
--Notifications
|
||||
['from'] = '~s~ de ~b~',
|
||||
['you_have_confinv'] = 'Você confiscou ~y~x',
|
||||
['confinv'] = '~s~ confiscado de você ~y~x',
|
||||
['you_have_confdm'] = 'Você confiscou ~y~$',
|
||||
['confdm'] = '~s~ confiscado de você ~y~$',
|
||||
['you_have_confweapon'] = 'Você confiscou ~y~x1 ',
|
||||
['confweapon'] = '~s~ confiscado de você ~y~x1 ',
|
||||
['alert_police'] = 'Alerta da Polícia',
|
||||
--Authorized Vehicles
|
||||
['police'] = 'Viatura - Blazer',
|
||||
['police2'] = 'Viatura - Parati',
|
||||
['police3'] = 'viatura - Fluence',
|
||||
['police4'] = 'Viatura - Blazer cinza',
|
||||
['policeb'] = 'Moto da Polícia',
|
||||
['policet'] = 'Van de Transporte',
|
||||
}
|
||||
['traffic_offense'] = 'Infrações de transito',
|
||||
['minor_offense'] = 'Infração leve',
|
||||
['average_offense'] = 'Infração média',
|
||||
['major_offense'] = 'Infração grave',
|
||||
['fine_total'] = 'Multa : ',
|
||||
-- Vehicle Info Menu
|
||||
['plate'] = 'Placa: ',
|
||||
['owner_unknown'] = 'Proprietário : Desconhecido',
|
||||
['owner'] = 'Proprietário : ',
|
||||
-- Weapons Menus
|
||||
['get_weapon_menu'] = 'Arsenal - Pegar arma',
|
||||
['put_weapon_menu'] = 'Arsenal - Entregar arma',
|
||||
['buy_weapon_menu'] = 'Arsenal - Comprar armas',
|
||||
['not_enough_money'] = 'Você não tem dinheiro suficiente',
|
||||
-- Boss Menu
|
||||
['take_company_money'] = 'Retirar o dinheiro da empresa',
|
||||
['deposit_money'] = 'Depositar dinheiro',
|
||||
['amount_of_withdrawal'] = 'Quantidade de retirada',
|
||||
['invalid_amount'] = 'Quantidade inválida',
|
||||
['amount_of_deposit'] = 'Quantidade de depósito',
|
||||
['open_bossmenu'] = 'Pressione ~INPUT_CONTEXT~ para abrir o menu',
|
||||
-- Misc
|
||||
['remove_object'] = 'Pressione ~INPUT_CONTEXT~ para remover o objeto',
|
||||
['map_blip'] = 'Departamento de Polícia',
|
||||
-- Notifications
|
||||
['from'] = '~s~ de ~b~',
|
||||
['you_have_confinv'] = 'Você confiscou ~y~x',
|
||||
['confinv'] = '~s~ confiscado de você ~y~x',
|
||||
['you_have_confdm'] = 'Você confiscou ~y~$',
|
||||
['confdm'] = '~s~ confiscado de você ~y~$',
|
||||
['you_have_confweapon'] = 'Você confiscou ~y~x1 ',
|
||||
['confweapon'] = '~s~ confiscado de você ~y~x1 ',
|
||||
['alert_police'] = 'Alerta da Polícia',
|
||||
-- Authorized Vehicles
|
||||
['police'] = 'Viatura - Blazer',
|
||||
['police2'] = 'Viatura - Parati',
|
||||
['police3'] = 'viatura - Fluence',
|
||||
['police4'] = 'Viatura - Blazer cinza',
|
||||
['policeb'] = 'Moto da Polícia',
|
||||
['policet'] = 'Van de Transporte',
|
||||
}
|
||||
|
||||
+87
-87
@@ -1,91 +1,91 @@
|
||||
Locales['de'] = {
|
||||
--Cloackroom
|
||||
['cloakroom'] = 'Garderobe',
|
||||
['citizen_wear'] = 'Zivilkleidung',
|
||||
['police_wear'] = 'Arbeitskleidung',
|
||||
['open_cloackroom'] = 'Drücke ~INPUT_CONTEXT~ um dich umzuziehen',
|
||||
--Armory
|
||||
['get_weapon'] = 'Waffen holen',
|
||||
['put_weapon'] = 'Waffen bringen',
|
||||
['buy_weapons'] = 'Waffen kaufen',
|
||||
['armory'] = 'Waffenkammer',
|
||||
['open_armory'] = 'Drücke ~INPUT_CONTEXT~ um die Waffenkammer zu öffnen',
|
||||
--Vehicles
|
||||
['vehicle_menu'] = 'Fahrzeug',
|
||||
['vehicle_out'] = 'es ist bereits ein Fahrzeug draussen',
|
||||
['vehicle_spawner'] = 'Drücke ~INPUT_CONTEXT~ um ein Fahrzeug zu holen',
|
||||
['store_vehicle'] = 'Drücke ~INPUT_CONTEXT~ um das Fahrzeug zu parken',
|
||||
['service_max'] = 'Max Polizisten im Dienst : ',
|
||||
--Action Menu
|
||||
['citizen_interaction'] = 'Zivilistenaktionen',
|
||||
['vehicle_interaction'] = 'Fahrzeuginteraktionen',
|
||||
['object_spawner'] = 'Objekt Spawner',
|
||||
-- Cloackroom
|
||||
['cloakroom'] = 'Garderobe',
|
||||
['citizen_wear'] = 'Zivilkleidung',
|
||||
['police_wear'] = 'Arbeitskleidung',
|
||||
['open_cloackroom'] = 'Drücke ~INPUT_CONTEXT~ um dich umzuziehen',
|
||||
-- Armory
|
||||
['get_weapon'] = 'Waffen holen',
|
||||
['put_weapon'] = 'Waffen bringen',
|
||||
['buy_weapons'] = 'Waffen kaufen',
|
||||
['armory'] = 'Waffenkammer',
|
||||
['open_armory'] = 'Drücke ~INPUT_CONTEXT~ um die Waffenkammer zu öffnen',
|
||||
-- Vehicles
|
||||
['vehicle_menu'] = 'Fahrzeug',
|
||||
['vehicle_out'] = 'es ist bereits ein Fahrzeug draussen',
|
||||
['vehicle_spawner'] = 'Drücke ~INPUT_CONTEXT~ um ein Fahrzeug zu holen',
|
||||
['store_vehicle'] = 'Drücke ~INPUT_CONTEXT~ um das Fahrzeug zu parken',
|
||||
['service_max'] = 'Max Polizisten im Dienst : ',
|
||||
-- Action Menu
|
||||
['citizen_interaction'] = 'Zivilistenaktionen',
|
||||
['vehicle_interaction'] = 'Fahrzeuginteraktionen',
|
||||
['object_spawner'] = 'Objekt Spawner',
|
||||
|
||||
['id_card'] = 'ID Karte',
|
||||
['search'] = 'Suche',
|
||||
['handcuff'] = 'Festnehmen / Freilassen',
|
||||
['put_in_vehicle'] = 'In Fahrzeug setzen',
|
||||
['fine'] = 'Strafe',
|
||||
['no_players_nearby'] = 'Keine Spieler in der Nähe',
|
||||
['id_card'] = 'ID Karte',
|
||||
['search'] = 'Suche',
|
||||
['handcuff'] = 'Festnehmen / Freilassen',
|
||||
['put_in_vehicle'] = 'In Fahrzeug setzen',
|
||||
['fine'] = 'Strafe',
|
||||
['no_players_nearby'] = 'Keine Spieler in der Nähe',
|
||||
|
||||
['vehicle_info'] = 'Fahrzeug Info',
|
||||
['pick_lock'] = 'Fahrzeug öffnen',
|
||||
['vehicle_unlocked'] = 'Fahrzeug ~g~offen~s~',
|
||||
['no_vehicles_nearby'] = 'Keine Fahrzeuge in der Nähe',
|
||||
['traffic_interaction'] = 'Straßeninteraktionen',
|
||||
['cone'] = 'Hütchen',
|
||||
['barrier'] = 'Barriere',
|
||||
['spikestrips'] = 'Nagelband',
|
||||
['box'] = 'Box',
|
||||
['cash'] = 'Box mit Geld',
|
||||
--ID Card Menu
|
||||
['name'] = 'name : ',
|
||||
['bac'] = 'bAC : ',
|
||||
--Body Search Menu
|
||||
['confiscate_dirty'] = 'Schwarzgeld konfesziert : $',
|
||||
['guns_label'] = '--- Waffen ---',
|
||||
['confiscate'] = 'konfeszieren ',
|
||||
['inventory_label'] = '--- Inventar ---',
|
||||
['confiscate_inv'] = 'konfeziere x',
|
||||
['vehicle_info'] = 'Fahrzeug Info',
|
||||
['pick_lock'] = 'Fahrzeug öffnen',
|
||||
['vehicle_unlocked'] = 'Fahrzeug ~g~offen~s~',
|
||||
['no_vehicles_nearby'] = 'Keine Fahrzeuge in der Nähe',
|
||||
['traffic_interaction'] = 'Straßeninteraktionen',
|
||||
['cone'] = 'Hütchen',
|
||||
['barrier'] = 'Barriere',
|
||||
['spikestrips'] = 'Nagelband',
|
||||
['box'] = 'Box',
|
||||
['cash'] = 'Box mit Geld',
|
||||
-- ID Card Menu
|
||||
['name'] = 'name : ',
|
||||
['bac'] = 'bAC : ',
|
||||
-- Body Search Menu
|
||||
['confiscate_dirty'] = 'Schwarzgeld konfesziert : $',
|
||||
['guns_label'] = '--- Waffen ---',
|
||||
['confiscate'] = 'konfeszieren ',
|
||||
['inventory_label'] = '--- Inventar ---',
|
||||
['confiscate_inv'] = 'konfeziere x',
|
||||
|
||||
['traffic_offense'] = 'Verkehrs vergehen',
|
||||
['minor_offense'] = 'Geringes vergehen',
|
||||
['average_offense'] = 'Normales vergehen',
|
||||
['major_offense'] = 'Hohes vergehen',
|
||||
['fine_total'] = 'Strafe : ',
|
||||
--Vehicle Info Menu
|
||||
['plate'] = 'Plate: ',
|
||||
['owner_unknown'] = 'Besitzer : Unbekannt',
|
||||
['owner'] = 'Besitzer : ',
|
||||
--Weapons Menus
|
||||
['get_weapon_menu'] = 'Waffenkammer - Waffen nehmen',
|
||||
['put_weapon_menu'] = 'Waffenkammer - Waffen bringen',
|
||||
['buy_weapon_menu'] = 'Waffenkammer - Waffen kaufen',
|
||||
['not_enough_money'] = 'Du hast nicht genug Geld',
|
||||
--Boss Menu
|
||||
['take_company_money'] = 'Firmengeld abheben',
|
||||
['deposit_money'] = 'Geld einzahlen',
|
||||
['amount_of_withdrawal'] = 'Betrag zum abheben',
|
||||
['invalid_amount'] = 'ungültiger Betrag',
|
||||
['amount_of_deposit'] = 'Betrag zum einzahlen',
|
||||
['open_bossmenu'] = 'Drücke ~INPUT_CONTEXT~ um das Menü zu öffnen',
|
||||
--Misc
|
||||
['remove_object'] = 'Drücke ~INPUT_CONTEXT~ um das Objekt zu entfernen',
|
||||
['map_blip'] = 'Polizeistation',
|
||||
--Notifications
|
||||
['from'] = '~s~ von ~b~',
|
||||
['you_have_confinv'] = 'du hast ~y~x konfesziert',
|
||||
['confinv'] = '~s~ hat von dir ~y~x konfesziert',
|
||||
['you_have_confdm'] = 'du hast ~y~$ konfesziert',
|
||||
['confdm'] = '~s~ hat von dir ~y~$ konfesziert',
|
||||
['you_have_confweapon'] = 'du hast ~y~x1 konfesziert',
|
||||
['confweapon'] = '~s~ hat von dir ~y~x1 konfesziert',
|
||||
['alert_police'] = 'Polizei alamieren',
|
||||
--Authorized Vehicles
|
||||
['police'] = 'Streifenfahrzeug 1',
|
||||
['police2'] = 'Streifenfahrzeug 2',
|
||||
['police3'] = 'Streifenfahrzeug 3',
|
||||
['police4'] = 'Zivilfahrzeug',
|
||||
['policeb'] = 'Motorrad',
|
||||
['policet'] = 'Transporter',
|
||||
}
|
||||
['traffic_offense'] = 'Verkehrs vergehen',
|
||||
['minor_offense'] = 'Geringes vergehen',
|
||||
['average_offense'] = 'Normales vergehen',
|
||||
['major_offense'] = 'Hohes vergehen',
|
||||
['fine_total'] = 'Strafe : ',
|
||||
-- Vehicle Info Menu
|
||||
['plate'] = 'Plate: ',
|
||||
['owner_unknown'] = 'Besitzer : Unbekannt',
|
||||
['owner'] = 'Besitzer : ',
|
||||
-- Weapons Menus
|
||||
['get_weapon_menu'] = 'Waffenkammer - Waffen nehmen',
|
||||
['put_weapon_menu'] = 'Waffenkammer - Waffen bringen',
|
||||
['buy_weapon_menu'] = 'Waffenkammer - Waffen kaufen',
|
||||
['not_enough_money'] = 'Du hast nicht genug Geld',
|
||||
-- Boss Menu
|
||||
['take_company_money'] = 'Firmengeld abheben',
|
||||
['deposit_money'] = 'Geld einzahlen',
|
||||
['amount_of_withdrawal'] = 'Betrag zum abheben',
|
||||
['invalid_amount'] = 'ungültiger Betrag',
|
||||
['amount_of_deposit'] = 'Betrag zum einzahlen',
|
||||
['open_bossmenu'] = 'Drücke ~INPUT_CONTEXT~ um das Menü zu öffnen',
|
||||
-- Misc
|
||||
['remove_object'] = 'Drücke ~INPUT_CONTEXT~ um das Objekt zu entfernen',
|
||||
['map_blip'] = 'Polizeistation',
|
||||
-- Notifications
|
||||
['from'] = '~s~ von ~b~',
|
||||
['you_have_confinv'] = 'du hast ~y~x konfesziert',
|
||||
['confinv'] = '~s~ hat von dir ~y~x konfesziert',
|
||||
['you_have_confdm'] = 'du hast ~y~$ konfesziert',
|
||||
['confdm'] = '~s~ hat von dir ~y~$ konfesziert',
|
||||
['you_have_confweapon'] = 'du hast ~y~x1 konfesziert',
|
||||
['confweapon'] = '~s~ hat von dir ~y~x1 konfesziert',
|
||||
['alert_police'] = 'Polizei alamieren',
|
||||
-- Authorized Vehicles
|
||||
['police'] = 'Streifenfahrzeug 1',
|
||||
['police2'] = 'Streifenfahrzeug 2',
|
||||
['police3'] = 'Streifenfahrzeug 3',
|
||||
['police4'] = 'Zivilfahrzeug',
|
||||
['policeb'] = 'Motorrad',
|
||||
['policet'] = 'Transporter',
|
||||
}
|
||||
|
||||
+130
-130
@@ -1,135 +1,135 @@
|
||||
Locales['en'] = {
|
||||
--Cloackroom
|
||||
['cloakroom'] = 'locker room',
|
||||
['citizen_wear'] = 'civilian Outfit',
|
||||
['police_wear'] = 'police Outfit',
|
||||
['sheriff_wear'] = 'sheriff Outfit',
|
||||
['lieutenant_wear'] = 'Swatt outfit ',
|
||||
['commandant_wear'] = 'Fbi outfit',
|
||||
['statepd_wear'] = 'State Police outfit',
|
||||
['specops_wear'] = 'Spec OPS outfit',
|
||||
['open_cloackroom'] = 'press ~INPUT_CONTEXT~ to change',
|
||||
--Armory
|
||||
['get_weapon'] = 'get Weapon',
|
||||
['put_weapon'] = 'put Weapon',
|
||||
['buy_weapons'] = 'buy Weapons',
|
||||
['armory'] = 'armory',
|
||||
['open_armory'] = 'press ~INPUT_CONTEXT~ to access the armory',
|
||||
--Vehicles
|
||||
['vehicle_menu'] = 'vehicle',
|
||||
['vehicle_out'] = 'there is already a car out of the garage',
|
||||
['vehicle_spawner'] = 'press ~INPUT_CONTEXT~ to take out a vehicle',
|
||||
['store_vehicle'] = 'press ~INPUT_CONTEXT~ to store the vehicle',
|
||||
['service_max'] = 'Max officers in service: ',
|
||||
--Action Menu
|
||||
['citizen_interaction'] = 'citizen Interaction',
|
||||
['vehicle_interaction'] = 'vehicle Interaction',
|
||||
['object_spawner'] = 'object Spawner',
|
||||
['animations'] = 'animations',
|
||||
-- Cloackroom
|
||||
['cloakroom'] = 'locker room',
|
||||
['citizen_wear'] = 'civilian Outfit',
|
||||
['police_wear'] = 'police Outfit',
|
||||
['sheriff_wear'] = 'sheriff Outfit',
|
||||
['lieutenant_wear'] = 'Swatt outfit ',
|
||||
['commandant_wear'] = 'Fbi outfit',
|
||||
['statepd_wear'] = 'State Police outfit',
|
||||
['specops_wear'] = 'Spec OPS outfit',
|
||||
['open_cloackroom'] = 'press ~INPUT_CONTEXT~ to change',
|
||||
-- Armory
|
||||
['get_weapon'] = 'get Weapon',
|
||||
['put_weapon'] = 'put Weapon',
|
||||
['buy_weapons'] = 'buy Weapons',
|
||||
['armory'] = 'armory',
|
||||
['open_armory'] = 'press ~INPUT_CONTEXT~ to access the armory',
|
||||
-- Vehicles
|
||||
['vehicle_menu'] = 'vehicle',
|
||||
['vehicle_out'] = 'there is already a car out of the garage',
|
||||
['vehicle_spawner'] = 'press ~INPUT_CONTEXT~ to take out a vehicle',
|
||||
['store_vehicle'] = 'press ~INPUT_CONTEXT~ to store the vehicle',
|
||||
['service_max'] = 'Max officers in service: ',
|
||||
-- Action Menu
|
||||
['citizen_interaction'] = 'citizen Interaction',
|
||||
['vehicle_interaction'] = 'vehicle Interaction',
|
||||
['object_spawner'] = 'object Spawner',
|
||||
['animations'] = 'animations',
|
||||
|
||||
['id_card'] = 'iD Card',
|
||||
['search'] = 'search',
|
||||
['handcuff'] = 'cuff / Uncuff',
|
||||
['drag'] = 'drag',
|
||||
['put_in_vehicle'] = 'put in Vehicle',
|
||||
['out_the_vehicle'] = 'take out of vehicle',
|
||||
['fine'] = 'fine',
|
||||
['no_players_nearby'] = 'no players nearby',
|
||||
['id_card'] = 'iD Card',
|
||||
['search'] = 'search',
|
||||
['handcuff'] = 'cuff / Uncuff',
|
||||
['drag'] = 'drag',
|
||||
['put_in_vehicle'] = 'put in Vehicle',
|
||||
['out_the_vehicle'] = 'take out of vehicle',
|
||||
['fine'] = 'fine',
|
||||
['no_players_nearby'] = 'no players nearby',
|
||||
|
||||
['vehicle_info'] = 'vehicle Info',
|
||||
['pick_lock'] = 'lockpick Vehicle',
|
||||
['vehicle_unlocked'] = 'vehicle ~g~Unlocked~s~',
|
||||
['no_vehicles_nearby'] = 'no vehicles nearby',
|
||||
['traffic_interaction'] = 'Interaction Voirie',
|
||||
['cone'] = 'cone',
|
||||
['barrier'] = 'barrier',
|
||||
['spikestrips'] = 'spikestrips',
|
||||
['box'] = 'box',
|
||||
['cash'] = 'Box of cash',
|
||||
['police_animations'] = 'Police Animations',
|
||||
['dotraffic'] = 'Do a traffic stop',
|
||||
['take_note'] = 'Take notes',
|
||||
['stand_by'] = 'Stand by',
|
||||
['stand_by_2'] = 'Stand by 2',
|
||||
['stand_by_3'] = 'Stand by 3',
|
||||
['crowd_control'] = 'Crowd control',
|
||||
['doinvestigate'] = 'Investigate',
|
||||
['dobinoculars'] = 'Use the binoculars',
|
||||
['taking_notes'] = 'Im done with taking notes',
|
||||
['dealing_with_traffic'] = 'Dealing with traffic is hard',
|
||||
['standing_cop'] = 'I cant be here anymore',
|
||||
['standing_cop_2'] = 'I cant be here anymore',
|
||||
['standing_cop_3'] = 'I cant be here anymore',
|
||||
['use_binoculars'] = 'I cant see nothing',
|
||||
['do_crowd_control'] = 'The crowd is contained',
|
||||
['investigate_done'] = 'My investigation is done',
|
||||
['docrouch'] = 'Crouch',
|
||||
['kneel'] = 'Let me get up',
|
||||
['hang_out'] = 'Free time 1',
|
||||
['hanging_out'] = 'Lets go work',
|
||||
['doleaning'] = 'Free time 2',
|
||||
['dosmoking'] = 'Free time 3',
|
||||
['dodrinking'] = 'Free time 4',
|
||||
['domobile'] = 'Free time 5',
|
||||
['aacoffe'] = 'Morning coffe',
|
||||
['push_ups'] = 'Exercise a little',
|
||||
['exercise'] = 'Im tired',
|
||||
['cancel_emote'] = 'Cancel animation',
|
||||
['emotecanceled'] = 'Animation stoped',
|
||||
--ID Card Menu
|
||||
['name'] = 'name : ',
|
||||
['bac'] = 'bAC : ',
|
||||
--Body Search Menu
|
||||
['confiscate_dirty'] = 'confiscate dirty money: $',
|
||||
['guns_label'] = '--- Guns ---',
|
||||
['confiscate'] = 'confiscate ',
|
||||
['inventory_label'] = '--- Inventory ---',
|
||||
['confiscate_inv'] = 'confiscate x',
|
||||
['vehicle_info'] = 'vehicle Info',
|
||||
['pick_lock'] = 'lockpick Vehicle',
|
||||
['vehicle_unlocked'] = 'vehicle ~g~Unlocked~s~',
|
||||
['no_vehicles_nearby'] = 'no vehicles nearby',
|
||||
['traffic_interaction'] = 'Interaction Voirie',
|
||||
['cone'] = 'cone',
|
||||
['barrier'] = 'barrier',
|
||||
['spikestrips'] = 'spikestrips',
|
||||
['box'] = 'box',
|
||||
['cash'] = 'Box of cash',
|
||||
['police_animations'] = 'Police Animations',
|
||||
['dotraffic'] = 'Do a traffic stop',
|
||||
['take_note'] = 'Take notes',
|
||||
['stand_by'] = 'Stand by',
|
||||
['stand_by_2'] = 'Stand by 2',
|
||||
['stand_by_3'] = 'Stand by 3',
|
||||
['crowd_control'] = 'Crowd control',
|
||||
['doinvestigate'] = 'Investigate',
|
||||
['dobinoculars'] = 'Use the binoculars',
|
||||
['taking_notes'] = 'Im done with taking notes',
|
||||
['dealing_with_traffic'] = 'Dealing with traffic is hard',
|
||||
['standing_cop'] = 'I cant be here anymore',
|
||||
['standing_cop_2'] = 'I cant be here anymore',
|
||||
['standing_cop_3'] = 'I cant be here anymore',
|
||||
['use_binoculars'] = 'I cant see nothing',
|
||||
['do_crowd_control'] = 'The crowd is contained',
|
||||
['investigate_done'] = 'My investigation is done',
|
||||
['docrouch'] = 'Crouch',
|
||||
['kneel'] = 'Let me get up',
|
||||
['hang_out'] = 'Free time 1',
|
||||
['hanging_out'] = 'Lets go work',
|
||||
['doleaning'] = 'Free time 2',
|
||||
['dosmoking'] = 'Free time 3',
|
||||
['dodrinking'] = 'Free time 4',
|
||||
['domobile'] = 'Free time 5',
|
||||
['aacoffe'] = 'Morning coffe',
|
||||
['push_ups'] = 'Exercise a little',
|
||||
['exercise'] = 'Im tired',
|
||||
['cancel_emote'] = 'Cancel animation',
|
||||
['emotecanceled'] = 'Animation stoped',
|
||||
-- ID Card Menu
|
||||
['name'] = 'name : ',
|
||||
['bac'] = 'bAC : ',
|
||||
-- Body Search Menu
|
||||
['confiscate_dirty'] = 'confiscate dirty money: $',
|
||||
['guns_label'] = '--- Guns ---',
|
||||
['confiscate'] = 'confiscate ',
|
||||
['inventory_label'] = '--- Inventory ---',
|
||||
['confiscate_inv'] = 'confiscate x',
|
||||
|
||||
['traffic_offense'] = 'traffic Offense',
|
||||
['minor_offense'] = 'minor Offense',
|
||||
['average_offense'] = 'average Offense',
|
||||
['major_offense'] = 'major Offense',
|
||||
['fine_total'] = 'fine: ',
|
||||
--Vehicle Info Menu
|
||||
['plate'] = 'Plate: ',
|
||||
['owner_unknown'] = 'owner: Unknown',
|
||||
['owner'] = 'owner: ',
|
||||
--Weapons Menus
|
||||
['get_weapon_menu'] = 'armory - Take Weapon',
|
||||
['put_weapon_menu'] = 'armory - Put Weapon',
|
||||
['buy_weapon_menu'] = 'armory - Buy Guns',
|
||||
['not_enough_money'] = 'you do not have enough money',
|
||||
--Boss Menu
|
||||
['take_company_money'] = 'withdraw Company Money',
|
||||
['deposit_money'] = 'deposit Money',
|
||||
['amount_of_withdrawal'] = 'amount of Withdrawal',
|
||||
['invalid_amount'] = 'amount Invalid',
|
||||
['amount_of_deposit'] = 'amount of Deposit',
|
||||
['open_bossmenu'] = 'press ~INPUT_CONTEXT~ to open the menu',
|
||||
['quantity_invalid'] = 'invalid quantity',
|
||||
['have_withdraw'] = 'you have withdrawn x',
|
||||
['added'] = 'you added x',
|
||||
['quantity'] = 'quantity',
|
||||
['inventory'] = 'inventory',
|
||||
['police_stock'] = 'Police Stock',
|
||||
--Misc
|
||||
['remove_object'] = 'press ~INPUT_CONTEXT~ to delete the object',
|
||||
['map_blip'] = 'police Station',
|
||||
--Notifications
|
||||
['from'] = '~s~ from ~b~',
|
||||
['you_have_confinv'] = 'you have confiscated ~y~x',
|
||||
['confinv'] = '~s~ confiscated from you ~y~x',
|
||||
['you_have_confdm'] = 'you have confiscated ~y~$',
|
||||
['confdm'] = '~s~ confiscated from you ~y~$',
|
||||
['you_have_confweapon'] = 'you have confiscated ~y~x1 ',
|
||||
['confweapon'] = '~s~ confiscated from you ~y~x1 ',
|
||||
['alert_police'] = 'alert police',
|
||||
--Authorized Vehicles
|
||||
['police'] = 'patrol Vehicle 1',
|
||||
['police2'] = 'patrol Vehicle 2',
|
||||
['police3'] = 'patrol Vehicle 3',
|
||||
['police4'] = 'unmarked Vehicle',
|
||||
['policeb'] = 'motorcycle',
|
||||
['policet'] = 'transport Van',
|
||||
['traffic_offense'] = 'traffic Offense',
|
||||
['minor_offense'] = 'minor Offense',
|
||||
['average_offense'] = 'average Offense',
|
||||
['major_offense'] = 'major Offense',
|
||||
['fine_total'] = 'fine: ',
|
||||
-- Vehicle Info Menu
|
||||
['plate'] = 'Plate: ',
|
||||
['owner_unknown'] = 'owner: Unknown',
|
||||
['owner'] = 'owner: ',
|
||||
-- Weapons Menus
|
||||
['get_weapon_menu'] = 'armory - Take Weapon',
|
||||
['put_weapon_menu'] = 'armory - Put Weapon',
|
||||
['buy_weapon_menu'] = 'armory - Buy Guns',
|
||||
['not_enough_money'] = 'you do not have enough money',
|
||||
-- Boss Menu
|
||||
['take_company_money'] = 'withdraw Company Money',
|
||||
['deposit_money'] = 'deposit Money',
|
||||
['amount_of_withdrawal'] = 'amount of Withdrawal',
|
||||
['invalid_amount'] = 'amount Invalid',
|
||||
['amount_of_deposit'] = 'amount of Deposit',
|
||||
['open_bossmenu'] = 'press ~INPUT_CONTEXT~ to open the menu',
|
||||
['quantity_invalid'] = 'invalid quantity',
|
||||
['have_withdraw'] = 'you have withdrawn x',
|
||||
['added'] = 'you added x',
|
||||
['quantity'] = 'quantity',
|
||||
['inventory'] = 'inventory',
|
||||
['police_stock'] = 'Police Stock',
|
||||
-- Misc
|
||||
['remove_object'] = 'press ~INPUT_CONTEXT~ to delete the object',
|
||||
['map_blip'] = 'police Station',
|
||||
-- Notifications
|
||||
['from'] = '~s~ from ~b~',
|
||||
['you_have_confinv'] = 'you have confiscated ~y~x',
|
||||
['confinv'] = '~s~ confiscated from you ~y~x',
|
||||
['you_have_confdm'] = 'you have confiscated ~y~$',
|
||||
['confdm'] = '~s~ confiscated from you ~y~$',
|
||||
['you_have_confweapon'] = 'you have confiscated ~y~x1 ',
|
||||
['confweapon'] = '~s~ confiscated from you ~y~x1 ',
|
||||
['alert_police'] = 'alert police',
|
||||
-- Authorized Vehicles
|
||||
['police'] = 'patrol Vehicle 1',
|
||||
['police2'] = 'patrol Vehicle 2',
|
||||
['police3'] = 'patrol Vehicle 3',
|
||||
['police4'] = 'unmarked Vehicle',
|
||||
['policeb'] = 'motorcycle',
|
||||
['policet'] = 'transport Van',
|
||||
}
|
||||
|
||||
+107
-107
@@ -1,107 +1,107 @@
|
||||
Locales['es'] = {
|
||||
--Cloakroom
|
||||
['cloakroom'] = 'Taquilla',
|
||||
['citizen_wear'] = 'Ropa civil',
|
||||
['police_wear'] = 'Ropa CNP',
|
||||
['sheriff_wear'] = 'Ropa Oficial',
|
||||
['lieutenant_wear'] = 'Ropa Teniente',
|
||||
['commandant_wear'] = 'Ropa Secreta',
|
||||
['statepd_wear'] = 'Ropa Guardia Civil',
|
||||
['specops_wear'] = 'Ropa GEO',
|
||||
['open_cloackroom'] = 'Presionar ~INPUT_CONTEXT~ para abrir la taquilla',
|
||||
--Armory
|
||||
['get_weapon'] = 'Coger arma',
|
||||
['put_weapon'] = 'Depositar arma',
|
||||
['buy_weapons'] = 'Comprar armas',
|
||||
['armory'] = 'Arsenal',
|
||||
['open_armory'] = 'Presionarr ~INPUT_CONTEXT~ para acceder a la armeria',
|
||||
--Vehicles
|
||||
['vehicle_menu'] = 'Vehículo',
|
||||
['vehicle_out'] = 'Ya tienes un vehículo fuera',
|
||||
['vehicle_spawner'] = 'Presionar ~INPUT_CONTEXT~ para sacar un vehículo',
|
||||
['store_vehicle'] = 'Presionar ~INPUT_CONTEXT~ para guardar un vehículo',
|
||||
['service_max'] = 'Servicio completado : ',
|
||||
--Action Menu
|
||||
['citizen_interaction'] = 'Interacción ciudadana',
|
||||
['vehicle_interaction'] = 'Interacción vehículo',
|
||||
['object_spawner'] = 'Colocar objetos',
|
||||
|
||||
['id_card'] = 'Documento de identidad',
|
||||
['search'] = 'Buscar',
|
||||
['handcuff'] = 'Poner/quitar Esposas',
|
||||
['drag'] = 'escoltar',
|
||||
['put_in_vehicle'] = 'Meter en el vehículo',
|
||||
['out_the_vehicle'] = 'Sacar del vehículo',
|
||||
['fine'] = 'Multa',
|
||||
['no_players_nearby'] = 'No hay jugadores cerca',
|
||||
|
||||
['vehicle_info'] = 'Información del vehículo',
|
||||
['pick_lock'] = 'Forzar coche',
|
||||
['vehicle_unlocked'] = 'Vehículo desbloqueado~s~',
|
||||
['no_vehicles_nearby'] = 'No hay vehículos cerca',
|
||||
['traffic_interaction'] = 'Rutas de interacción',
|
||||
['cone'] = 'Cono',
|
||||
['barrier'] = 'Barrera',
|
||||
['spikestrips'] = 'Grada',
|
||||
['box'] = 'Caja',
|
||||
['cash'] = 'Dinero',
|
||||
--ID Card Menu
|
||||
['name'] = 'Nombre : ',
|
||||
['bac'] = 'Alcoolemia : ',
|
||||
--Body Search Menu
|
||||
['confiscate_dirty'] = 'Confiscar dinero negro : €',
|
||||
['guns_label'] = '--- Armas ---',
|
||||
['confiscate'] = 'Confiscar ',
|
||||
['inventory_label'] = '--- Inventario ---',
|
||||
['confiscate_inv'] = 'Confiscar x',
|
||||
|
||||
['traffic_offense'] = 'Delito de tráfico',
|
||||
['minor_offense'] = 'Delito menor',
|
||||
['average_offense'] = 'Delito medio',
|
||||
['major_offense'] = 'Delito grave',
|
||||
['fine_total'] = 'Multa total : ',
|
||||
--Vehicle Info Menu
|
||||
['plate'] = 'N°: ',
|
||||
['owner_unknown'] = 'Propietario : Desconocido',
|
||||
['owner'] = 'Propietario : ',
|
||||
--Weapons Menus
|
||||
['get_weapon_menu'] = 'Arsenal - Coger armas',
|
||||
['put_weapon_menu'] = 'Arsenal - Depositar armas',
|
||||
['buy_weapon_menu'] = 'Arsenal - Comprar armas',
|
||||
['not_enough_money'] = 'No tienes suficiente dinero',
|
||||
--Boss Menu
|
||||
['take_company_money'] = 'Retirar dinero de la empresa',
|
||||
['deposit_money'] = 'Depositar dinero en la empresa',
|
||||
['amount_of_withdrawal'] = 'Cantidad a retirar',
|
||||
['invalid_amount'] = 'Cantidad inválida',
|
||||
['amount_of_deposit'] = 'Cantidad a depositar',
|
||||
['open_bossmenu'] = 'Presionar ~INPUT_CONTEXT~ para abrir el menú',
|
||||
['quantity_invalid'] = 'Cantidad invalida',
|
||||
['have_withdrawn'] = 'Has retirado x',
|
||||
['added'] = 'Has metido x',
|
||||
['quantity'] = 'Cantidad',
|
||||
['inventory'] = 'inventario',
|
||||
['police_stock'] = 'Almacen Policial',
|
||||
--Misc
|
||||
['remove_object'] = 'Presionar ~INPUT_CONTEXT~ para eliminar el objeto',
|
||||
['map_blip'] = 'Comisaría de policía',
|
||||
--Notifications
|
||||
['from'] = '~s~ de ~b~',
|
||||
['you_have_confinv'] = 'Has confiscado ~y~x',
|
||||
['confinv'] = '~s~ Te han confiscado ~y~x',
|
||||
['you_have_confdm'] = 'Has confiscado ~y~€',
|
||||
['confdm'] = '~s~ Te han confiscado ~y~€',
|
||||
['you_have_confweapon'] = 'Has confiscado ~y~x1 ',
|
||||
['confweapon'] = '~s~ Te han confiscado ~y~x1 ',
|
||||
['alert_police'] = 'Alerta policia',
|
||||
--Authorized Vehicles
|
||||
['policebike'] = 'Bicicleta Policía',
|
||||
['focuscnp'] = 'Vehículo patrulla 1',
|
||||
['tiguancnp'] = 'Vehículo patrulla 2',
|
||||
['police3'] = 'Vehículo patrulla 3',
|
||||
['police4'] = 'Vehículo Secreta',
|
||||
['policeb'] = 'Moto',
|
||||
['policet'] = 'Furgón policial',
|
||||
['polmav'] = 'Helicóptero de la policía',
|
||||
['buzzard2'] = 'Helicóptero de mando',
|
||||
}
|
||||
Locales['es'] = {
|
||||
-- Cloakroom
|
||||
['cloakroom'] = 'Taquilla',
|
||||
['citizen_wear'] = 'Ropa civil',
|
||||
['police_wear'] = 'Ropa CNP',
|
||||
['sheriff_wear'] = 'Ropa Oficial',
|
||||
['lieutenant_wear'] = 'Ropa Teniente',
|
||||
['commandant_wear'] = 'Ropa Secreta',
|
||||
['statepd_wear'] = 'Ropa Guardia Civil',
|
||||
['specops_wear'] = 'Ropa GEO',
|
||||
['open_cloackroom'] = 'Presionar ~INPUT_CONTEXT~ para abrir la taquilla',
|
||||
-- Armory
|
||||
['get_weapon'] = 'Coger arma',
|
||||
['put_weapon'] = 'Depositar arma',
|
||||
['buy_weapons'] = 'Comprar armas',
|
||||
['armory'] = 'Arsenal',
|
||||
['open_armory'] = 'Presionarr ~INPUT_CONTEXT~ para acceder a la armeria',
|
||||
-- Vehicles
|
||||
['vehicle_menu'] = 'Vehículo',
|
||||
['vehicle_out'] = 'Ya tienes un vehículo fuera',
|
||||
['vehicle_spawner'] = 'Presionar ~INPUT_CONTEXT~ para sacar un vehículo',
|
||||
['store_vehicle'] = 'Presionar ~INPUT_CONTEXT~ para guardar un vehículo',
|
||||
['service_max'] = 'Servicio completado : ',
|
||||
-- Action Menu
|
||||
['citizen_interaction'] = 'Interacción ciudadana',
|
||||
['vehicle_interaction'] = 'Interacción vehículo',
|
||||
['object_spawner'] = 'Colocar objetos',
|
||||
|
||||
['id_card'] = 'Documento de identidad',
|
||||
['search'] = 'Buscar',
|
||||
['handcuff'] = 'Poner/quitar Esposas',
|
||||
['drag'] = 'escoltar',
|
||||
['put_in_vehicle'] = 'Meter en el vehículo',
|
||||
['out_the_vehicle'] = 'Sacar del vehículo',
|
||||
['fine'] = 'Multa',
|
||||
['no_players_nearby'] = 'No hay jugadores cerca',
|
||||
|
||||
['vehicle_info'] = 'Información del vehículo',
|
||||
['pick_lock'] = 'Forzar coche',
|
||||
['vehicle_unlocked'] = 'Vehículo desbloqueado~s~',
|
||||
['no_vehicles_nearby'] = 'No hay vehículos cerca',
|
||||
['traffic_interaction'] = 'Rutas de interacción',
|
||||
['cone'] = 'Cono',
|
||||
['barrier'] = 'Barrera',
|
||||
['spikestrips'] = 'Grada',
|
||||
['box'] = 'Caja',
|
||||
['cash'] = 'Dinero',
|
||||
-- ID Card Menu
|
||||
['name'] = 'Nombre : ',
|
||||
['bac'] = 'Alcoolemia : ',
|
||||
-- Body Search Menu
|
||||
['confiscate_dirty'] = 'Confiscar dinero negro : €',
|
||||
['guns_label'] = '--- Armas ---',
|
||||
['confiscate'] = 'Confiscar ',
|
||||
['inventory_label'] = '--- Inventario ---',
|
||||
['confiscate_inv'] = 'Confiscar x',
|
||||
|
||||
['traffic_offense'] = 'Delito de tráfico',
|
||||
['minor_offense'] = 'Delito menor',
|
||||
['average_offense'] = 'Delito medio',
|
||||
['major_offense'] = 'Delito grave',
|
||||
['fine_total'] = 'Multa total : ',
|
||||
-- Vehicle Info Menu
|
||||
['plate'] = 'N°: ',
|
||||
['owner_unknown'] = 'Propietario : Desconocido',
|
||||
['owner'] = 'Propietario : ',
|
||||
-- Weapons Menus
|
||||
['get_weapon_menu'] = 'Arsenal - Coger armas',
|
||||
['put_weapon_menu'] = 'Arsenal - Depositar armas',
|
||||
['buy_weapon_menu'] = 'Arsenal - Comprar armas',
|
||||
['not_enough_money'] = 'No tienes suficiente dinero',
|
||||
-- Boss Menu
|
||||
['take_company_money'] = 'Retirar dinero de la empresa',
|
||||
['deposit_money'] = 'Depositar dinero en la empresa',
|
||||
['amount_of_withdrawal'] = 'Cantidad a retirar',
|
||||
['invalid_amount'] = 'Cantidad inválida',
|
||||
['amount_of_deposit'] = 'Cantidad a depositar',
|
||||
['open_bossmenu'] = 'Presionar ~INPUT_CONTEXT~ para abrir el menú',
|
||||
['quantity_invalid'] = 'Cantidad invalida',
|
||||
['have_withdrawn'] = 'Has retirado x',
|
||||
['added'] = 'Has metido x',
|
||||
['quantity'] = 'Cantidad',
|
||||
['inventory'] = 'inventario',
|
||||
['police_stock'] = 'Almacen Policial',
|
||||
-- Misc
|
||||
['remove_object'] = 'Presionar ~INPUT_CONTEXT~ para eliminar el objeto',
|
||||
['map_blip'] = 'Comisaría de policía',
|
||||
-- Notifications
|
||||
['from'] = '~s~ de ~b~',
|
||||
['you_have_confinv'] = 'Has confiscado ~y~x',
|
||||
['confinv'] = '~s~ Te han confiscado ~y~x',
|
||||
['you_have_confdm'] = 'Has confiscado ~y~€',
|
||||
['confdm'] = '~s~ Te han confiscado ~y~€',
|
||||
['you_have_confweapon'] = 'Has confiscado ~y~x1 ',
|
||||
['confweapon'] = '~s~ Te han confiscado ~y~x1 ',
|
||||
['alert_police'] = 'Alerta policia',
|
||||
-- Authorized Vehicles
|
||||
['policebike'] = 'Bicicleta Policía',
|
||||
['focuscnp'] = 'Vehículo patrulla 1',
|
||||
['tiguancnp'] = 'Vehículo patrulla 2',
|
||||
['police3'] = 'Vehículo patrulla 3',
|
||||
['police4'] = 'Vehículo Secreta',
|
||||
['policeb'] = 'Moto',
|
||||
['policet'] = 'Furgón policial',
|
||||
['polmav'] = 'Helicóptero de la policía',
|
||||
['buzzard2'] = 'Helicóptero de mando',
|
||||
}
|
||||
|
||||
+100
-100
@@ -1,104 +1,104 @@
|
||||
Locales['fr'] = {
|
||||
--Cloakroom
|
||||
['cloakroom'] = 'vestiaire',
|
||||
['citizen_wear'] = 'tenue Civil',
|
||||
['police_wear'] = 'tenue Policier',
|
||||
['sheriff_wear'] = 'sheriff Outfit',
|
||||
['lieutenant_wear'] = 'Swatt outfit ',
|
||||
['commandant_wear'] = 'Fbi outfit',
|
||||
['statepd_wear'] = 'State Police outfit',
|
||||
['specops_wear'] = 'Spec OPS outfit',
|
||||
['open_cloackroom'] = 'appuez sur ~INPUT_CONTEXT~ pour vous changer',
|
||||
--Armory
|
||||
['get_weapon'] = 'prendre Arme',
|
||||
['put_weapon'] = 'déposer Arme',
|
||||
['buy_weapons'] = 'acheter Armes',
|
||||
['armory'] = 'armurerie',
|
||||
['open_armory'] = 'appuez sur ~INPUT_CONTEXT~ pour accéder à l\'armurerie',
|
||||
--Vehicles
|
||||
['vehicle_menu'] = 'véhicule',
|
||||
['vehicle_out'] = 'il y a déja un véhicule de sorti',
|
||||
['vehicle_spawner'] = 'appuez sur ~INPUT_CONTEXT~ pour sortir un véhicule',
|
||||
['store_vehicle'] = 'appuez sur ~INPUT_CONTEXT~ pour ranger le véhicule',
|
||||
['service_max'] = 'Service complet : ',
|
||||
--Action Menu
|
||||
['citizen_interaction'] = 'interaction citoyen',
|
||||
['vehicle_interaction'] = 'interaction véhicule',
|
||||
['object_spawner'] = 'placer objets',
|
||||
-- Cloakroom
|
||||
['cloakroom'] = 'vestiaire',
|
||||
['citizen_wear'] = 'tenue Civil',
|
||||
['police_wear'] = 'tenue Policier',
|
||||
['sheriff_wear'] = 'sheriff Outfit',
|
||||
['lieutenant_wear'] = 'Swatt outfit ',
|
||||
['commandant_wear'] = 'Fbi outfit',
|
||||
['statepd_wear'] = 'State Police outfit',
|
||||
['specops_wear'] = 'Spec OPS outfit',
|
||||
['open_cloackroom'] = 'appuez sur ~INPUT_CONTEXT~ pour vous changer',
|
||||
-- Armory
|
||||
['get_weapon'] = 'prendre Arme',
|
||||
['put_weapon'] = 'déposer Arme',
|
||||
['buy_weapons'] = 'acheter Armes',
|
||||
['armory'] = 'armurerie',
|
||||
['open_armory'] = 'appuez sur ~INPUT_CONTEXT~ pour accéder à l\'armurerie',
|
||||
-- Vehicles
|
||||
['vehicle_menu'] = 'véhicule',
|
||||
['vehicle_out'] = 'il y a déja un véhicule de sorti',
|
||||
['vehicle_spawner'] = 'appuez sur ~INPUT_CONTEXT~ pour sortir un véhicule',
|
||||
['store_vehicle'] = 'appuez sur ~INPUT_CONTEXT~ pour ranger le véhicule',
|
||||
['service_max'] = 'Service complet : ',
|
||||
-- Action Menu
|
||||
['citizen_interaction'] = 'interaction citoyen',
|
||||
['vehicle_interaction'] = 'interaction véhicule',
|
||||
['object_spawner'] = 'placer objets',
|
||||
|
||||
['id_card'] = 'carte d\'identité',
|
||||
['search'] = 'fouiller',
|
||||
['handcuff'] = 'menotter / Démenotter',
|
||||
['drag'] = 'escorter',
|
||||
['put_in_vehicle'] = 'mettre dans véhicule',
|
||||
['out_the_vehicle'] = 'sortir du véhicule',
|
||||
['fine'] = 'Amende',
|
||||
['no_players_nearby'] = 'aucun joueur à proximité',
|
||||
['id_card'] = 'carte d\'identité',
|
||||
['search'] = 'fouiller',
|
||||
['handcuff'] = 'menotter / Démenotter',
|
||||
['drag'] = 'escorter',
|
||||
['put_in_vehicle'] = 'mettre dans véhicule',
|
||||
['out_the_vehicle'] = 'sortir du véhicule',
|
||||
['fine'] = 'Amende',
|
||||
['no_players_nearby'] = 'aucun joueur à proximité',
|
||||
|
||||
['vehicle_info'] = 'infos véhicule',
|
||||
['pick_lock'] = 'crocheter véhicule',
|
||||
['vehicle_unlocked'] = 'véhicule ~g~déverouillé~s~',
|
||||
['no_vehicles_nearby'] = 'aucun véhicule à proximité',
|
||||
['traffic_interaction'] = 'Interaction Voirie',
|
||||
['cone'] = 'plot',
|
||||
['barrier'] = 'barrière',
|
||||
['spikestrips'] = 'herse',
|
||||
['box'] = 'caisse',
|
||||
['cash'] = 'caisse',
|
||||
--ID Card Menu
|
||||
['name'] = 'nom : ',
|
||||
['bac'] = 'alcoolémie : ',
|
||||
--Body Search Menu
|
||||
['confiscate_dirty'] = 'confisquer argent sale : $',
|
||||
['guns_label'] = '--- Armes ---',
|
||||
['confiscate'] = 'confisquer ',
|
||||
['inventory_label'] = '--- Inventaire ---',
|
||||
['confiscate_inv'] = 'confisquer x',
|
||||
['vehicle_info'] = 'infos véhicule',
|
||||
['pick_lock'] = 'crocheter véhicule',
|
||||
['vehicle_unlocked'] = 'véhicule ~g~déverouillé~s~',
|
||||
['no_vehicles_nearby'] = 'aucun véhicule à proximité',
|
||||
['traffic_interaction'] = 'Interaction Voirie',
|
||||
['cone'] = 'plot',
|
||||
['barrier'] = 'barrière',
|
||||
['spikestrips'] = 'herse',
|
||||
['box'] = 'caisse',
|
||||
['cash'] = 'caisse',
|
||||
-- ID Card Menu
|
||||
['name'] = 'nom : ',
|
||||
['bac'] = 'alcoolémie : ',
|
||||
-- Body Search Menu
|
||||
['confiscate_dirty'] = 'confisquer argent sale : $',
|
||||
['guns_label'] = '--- Armes ---',
|
||||
['confiscate'] = 'confisquer ',
|
||||
['inventory_label'] = '--- Inventaire ---',
|
||||
['confiscate_inv'] = 'confisquer x',
|
||||
|
||||
['traffic_offense'] = 'code de la route',
|
||||
['minor_offense'] = 'délit mineur',
|
||||
['average_offense'] = 'délit moyen',
|
||||
['major_offense'] = 'délit grave',
|
||||
['fine_total'] = 'amende : ',
|
||||
--Vehicle Info Menu
|
||||
['plate'] = 'N°: ',
|
||||
['owner_unknown'] = 'propriétaire : Inconnu',
|
||||
['owner'] = 'propriétaire : ',
|
||||
--Weapons Menus
|
||||
['get_weapon_menu'] = 'armurerie - Prendre Arme',
|
||||
['put_weapon_menu'] = 'armurerie - Déposer Arme',
|
||||
['buy_weapon_menu'] = 'armurerie - Acheter Armes',
|
||||
['not_enough_money'] = 'vous n\'avez pas assez d\'argent',
|
||||
--Boss Menu
|
||||
['take_company_money'] = 'retirer argent société',
|
||||
['deposit_money'] = 'déposer argent',
|
||||
['amount_of_withdrawal'] = 'montant du retrait',
|
||||
['invalid_amount'] = 'montant invalide',
|
||||
['amount_of_deposit'] = 'montant du dépôt',
|
||||
['open_bossmenu'] = 'appuez sur ~INPUT_CONTEXT~ pour ouvrir le menu',
|
||||
['quantity_invalid'] = 'Quantité invalide',
|
||||
['have_withdrawn'] = 'Vous avez retiré x',
|
||||
['added'] = 'Vous avez ajouté x',
|
||||
['quantity'] = 'Quantité',
|
||||
['inventory'] = 'inventaire',
|
||||
['police_stock'] = 'Police Stock',
|
||||
--Misc
|
||||
['remove_object'] = 'appuez sur ~INPUT_CONTEXT~ pour enlever l\'objet',
|
||||
['map_blip'] = 'Commissariat',
|
||||
--Notifications
|
||||
['from'] = '~s~ à ~b~',
|
||||
['you_have_confinv'] = 'vous avez confisqué ~y~x',
|
||||
['confinv'] = '~s~ vous a confisqué ~y~x',
|
||||
['you_have_confdm'] = 'vous avez confisqué ~y~$',
|
||||
['confdm'] = '~s~ vous a confisqué ~y~$',
|
||||
['you_have_confweapon'] = 'vous avez confisqué ~y~x1 ',
|
||||
['confweapon'] = '~s~ vous a confisqué ~y~x1 ',
|
||||
['alert_police'] = 'alerte police',
|
||||
--Authorized Vehicles
|
||||
['police'] = 'véhicule de patrouille 1',
|
||||
['police2'] = 'véhicule de patrouille 2',
|
||||
['police3'] = 'véhicule de patrouille 3',
|
||||
['police4'] = 'véhicule civil',
|
||||
['policeb'] = 'moto',
|
||||
['policet'] = 'van de transport',
|
||||
}
|
||||
['traffic_offense'] = 'code de la route',
|
||||
['minor_offense'] = 'délit mineur',
|
||||
['average_offense'] = 'délit moyen',
|
||||
['major_offense'] = 'délit grave',
|
||||
['fine_total'] = 'amende : ',
|
||||
-- Vehicle Info Menu
|
||||
['plate'] = 'N°: ',
|
||||
['owner_unknown'] = 'propriétaire : Inconnu',
|
||||
['owner'] = 'propriétaire : ',
|
||||
-- Weapons Menus
|
||||
['get_weapon_menu'] = 'armurerie - Prendre Arme',
|
||||
['put_weapon_menu'] = 'armurerie - Déposer Arme',
|
||||
['buy_weapon_menu'] = 'armurerie - Acheter Armes',
|
||||
['not_enough_money'] = 'vous n\'avez pas assez d\'argent',
|
||||
-- Boss Menu
|
||||
['take_company_money'] = 'retirer argent société',
|
||||
['deposit_money'] = 'déposer argent',
|
||||
['amount_of_withdrawal'] = 'montant du retrait',
|
||||
['invalid_amount'] = 'montant invalide',
|
||||
['amount_of_deposit'] = 'montant du dépôt',
|
||||
['open_bossmenu'] = 'appuez sur ~INPUT_CONTEXT~ pour ouvrir le menu',
|
||||
['quantity_invalid'] = 'Quantité invalide',
|
||||
['have_withdrawn'] = 'Vous avez retiré x',
|
||||
['added'] = 'Vous avez ajouté x',
|
||||
['quantity'] = 'Quantité',
|
||||
['inventory'] = 'inventaire',
|
||||
['police_stock'] = 'Police Stock',
|
||||
-- Misc
|
||||
['remove_object'] = 'appuez sur ~INPUT_CONTEXT~ pour enlever l\'objet',
|
||||
['map_blip'] = 'Commissariat',
|
||||
-- Notifications
|
||||
['from'] = '~s~ à ~b~',
|
||||
['you_have_confinv'] = 'vous avez confisqué ~y~x',
|
||||
['confinv'] = '~s~ vous a confisqué ~y~x',
|
||||
['you_have_confdm'] = 'vous avez confisqué ~y~$',
|
||||
['confdm'] = '~s~ vous a confisqué ~y~$',
|
||||
['you_have_confweapon'] = 'vous avez confisqué ~y~x1 ',
|
||||
['confweapon'] = '~s~ vous a confisqué ~y~x1 ',
|
||||
['alert_police'] = 'alerte police',
|
||||
-- Authorized Vehicles
|
||||
['police'] = 'véhicule de patrouille 1',
|
||||
['police2'] = 'véhicule de patrouille 2',
|
||||
['police3'] = 'véhicule de patrouille 3',
|
||||
['police4'] = 'véhicule civil',
|
||||
['policeb'] = 'moto',
|
||||
['policet'] = 'van de transport',
|
||||
}
|
||||
|
||||
+56
-56
@@ -9,74 +9,74 @@ Config.EnableESXIdentity = false -- only turn this on if you are using
|
||||
Config.EnableNonFreemodePeds = false -- turn this on if you want custom peds
|
||||
Config.EnableSocietyOwnedVehicles = false
|
||||
Config.MaxInService = -1
|
||||
Config.Locale = 'de'
|
||||
Config.Locale = 'de'
|
||||
|
||||
|
||||
Config.PoliceStations = {
|
||||
|
||||
LSPD = {
|
||||
|
||||
Blip = {
|
||||
Pos = {x = 425.130, y = -979.558, z = 30.711},
|
||||
Color = 29
|
||||
},
|
||||
LSPD = {
|
||||
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_ASSAULTRIFLE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
{name = 'WEAPON_STICKYBOMB', price = 250},
|
||||
{name = 'GADGET_PARACHUTE', price = 300},
|
||||
},
|
||||
Blip = {
|
||||
Pos = {x = 425.130, y = -979.558, z = 30.711},
|
||||
Color = 29
|
||||
},
|
||||
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Streifenfahrzeug 1'},
|
||||
{name = 'police2', label = 'Streifenfahrzeug 2'},
|
||||
{name = 'police3', label = 'Streifenfahrzeug 3'},
|
||||
{name = 'police4', label = 'Zivilfahrzeug'},
|
||||
{name = 'policeb', label = 'Motorrad'},
|
||||
{name = 'policet', label = 'Transporter'},
|
||||
},
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_ASSAULTRIFLE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
{name = 'WEAPON_STICKYBOMB', price = 250},
|
||||
{name = 'GADGET_PARACHUTE', price = 300},
|
||||
},
|
||||
|
||||
Cloakrooms = {
|
||||
{x = 452.600, y = -993.306, z = 29.750}
|
||||
},
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Streifenfahrzeug 1'},
|
||||
{name = 'police2', label = 'Streifenfahrzeug 2'},
|
||||
{name = 'police3', label = 'Streifenfahrzeug 3'},
|
||||
{name = 'police4', label = 'Zivilfahrzeug'},
|
||||
{name = 'policeb', label = 'Motorrad'},
|
||||
{name = 'policet', label = 'Transporter'},
|
||||
},
|
||||
|
||||
Armories = {
|
||||
{x = 451.699, y = -980.356, z = 29.689}
|
||||
},
|
||||
Cloakrooms = {
|
||||
{x = 452.600, y = -993.306, z = 29.750}
|
||||
},
|
||||
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 454.69, y = -1017.4, z = 27.430},
|
||||
SpawnPoint = {x = 438.42, y = -1018.3, z = 27.757},
|
||||
Heading = 90.0
|
||||
}
|
||||
},
|
||||
Armories = {
|
||||
{x = 451.699, y = -980.356, z = 29.689}
|
||||
},
|
||||
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 454.69, y = -1017.4, z = 27.430},
|
||||
SpawnPoint = {x = 438.42, y = -1018.3, z = 27.757},
|
||||
Heading = 90.0
|
||||
}
|
||||
},
|
||||
|
||||
VehicleDeleters = {
|
||||
{x = 462.74, y = -1014.4, z = 27.065},
|
||||
{x = 462.40, y = -1019.7, z = 27.104}
|
||||
},
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
|
||||
BossActions = {
|
||||
{x = 448.417, y = -973.208, z = 29.689}
|
||||
}
|
||||
VehicleDeleters = {
|
||||
{x = 462.74, y = -1014.4, z = 27.065},
|
||||
{x = 462.40, y = -1019.7, z = 27.104}
|
||||
},
|
||||
|
||||
}
|
||||
BossActions = {
|
||||
{x = 448.417, y = -973.208, z = 29.689}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,33 +1,33 @@
|
||||
INSERT INTO `addon_account` (name, label, shared) VALUES
|
||||
('society_police','Polizei',1)
|
||||
INSERT INTO `addon_account` (name, label, shared) VALUES
|
||||
('society_police','Polizei',1)
|
||||
;
|
||||
|
||||
INSERT INTO `datastore` (name, label, shared) VALUES
|
||||
('society_police','Polizei',1)
|
||||
INSERT INTO `datastore` (name, label, shared) VALUES
|
||||
('society_police','Polizei',1)
|
||||
;
|
||||
|
||||
INSERT INTO `addon_inventory` (name, label, shared) VALUES
|
||||
('society_police', 'Polizei', 1)
|
||||
INSERT INTO `addon_inventory` (name, label, shared) VALUES
|
||||
('society_police', 'Polizei', 1)
|
||||
;
|
||||
|
||||
INSERT INTO `jobs` (name, label) VALUES
|
||||
('police','LSPD')
|
||||
INSERT INTO `jobs` (name, label) VALUES
|
||||
('police','LSPD')
|
||||
;
|
||||
|
||||
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
|
||||
('police',0,'recruit','Rekrut',20,'{\"tshirt_1\":57,\"torso_1\":55,\"arms\":0,\"pants_1\":35,\"glasses\":0,\"decals_2\":0,\"hair_color_2\":0,\"helmet_2\":0,\"hair_color_1\":5,\"face\":19,\"glasses_2\":1,\"torso_2\":0,\"shoes\":24,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"pants_2\":0,\"hair_2\":0,\"decals_1\":0,\"tshirt_2\":0,\"helmet_1\":8}','{\"tshirt_1\":34,\"torso_1\":48,\"shoes\":24,\"pants_1\":34,\"torso_2\":0,\"decals_2\":0,\"hair_color_2\":0,\"glasses\":0,\"helmet_2\":0,\"hair_2\":3,\"face\":21,\"decals_1\":0,\"glasses_2\":1,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"pants_2\":0,\"arms\":14,\"hair_color_1\":10,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',1,'sergeant','Sergent',40,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":1,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"arms\":0,\"decals_1\":8,\"torso_2\":0,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"hair_color_1\":5,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":14,\"pants_1\":34,\"pants_2\":0,\"decals_2\":1,\"hair_color_2\":0,\"shoes\":24,\"helmet_2\":0,\"hair_2\":3,\"decals_1\":7,\"torso_2\":0,\"face\":21,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"glasses_2\":1,\"hair_color_1\":10,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',2,'lieutenant','Lieutenant',65,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":2,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"glasses\":0,\"decals_1\":8,\"hair_color_1\":5,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"torso_2\":0,\"arms\":41,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":44,\"pants_1\":34,\"hair_2\":3,\"decals_2\":2,\"hair_color_2\":0,\"hair_color_1\":10,\"helmet_2\":0,\"face\":21,\"shoes\":24,\"torso_2\":0,\"glasses_2\":1,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"pants_2\":0,\"decals_1\":7,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',3,'boss','Commandant',80,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":3,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"arms\":41,\"torso_2\":0,\"hair_color_1\":5,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"decals_1\":8,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":44,\"pants_1\":34,\"pants_2\":0,\"decals_2\":3,\"hair_color_2\":0,\"face\":21,\"helmet_2\":0,\"hair_2\":3,\"decals_1\":7,\"torso_2\":0,\"hair_color_1\":10,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"glasses_2\":1,\"shoes\":24,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}')
|
||||
('police',0,'recruit','Rekrut',20,'{\"tshirt_1\":57,\"torso_1\":55,\"arms\":0,\"pants_1\":35,\"glasses\":0,\"decals_2\":0,\"hair_color_2\":0,\"helmet_2\":0,\"hair_color_1\":5,\"face\":19,\"glasses_2\":1,\"torso_2\":0,\"shoes\":24,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"pants_2\":0,\"hair_2\":0,\"decals_1\":0,\"tshirt_2\":0,\"helmet_1\":8}','{\"tshirt_1\":34,\"torso_1\":48,\"shoes\":24,\"pants_1\":34,\"torso_2\":0,\"decals_2\":0,\"hair_color_2\":0,\"glasses\":0,\"helmet_2\":0,\"hair_2\":3,\"face\":21,\"decals_1\":0,\"glasses_2\":1,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"pants_2\":0,\"arms\":14,\"hair_color_1\":10,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',1,'sergeant','Sergent',40,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":1,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"arms\":0,\"decals_1\":8,\"torso_2\":0,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"hair_color_1\":5,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":14,\"pants_1\":34,\"pants_2\":0,\"decals_2\":1,\"hair_color_2\":0,\"shoes\":24,\"helmet_2\":0,\"hair_2\":3,\"decals_1\":7,\"torso_2\":0,\"face\":21,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"glasses_2\":1,\"hair_color_1\":10,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',2,'lieutenant','Lieutenant',65,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":2,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"glasses\":0,\"decals_1\":8,\"hair_color_1\":5,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"torso_2\":0,\"arms\":41,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":44,\"pants_1\":34,\"hair_2\":3,\"decals_2\":2,\"hair_color_2\":0,\"hair_color_1\":10,\"helmet_2\":0,\"face\":21,\"shoes\":24,\"torso_2\":0,\"glasses_2\":1,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"pants_2\":0,\"decals_1\":7,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',3,'boss','Commandant',80,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":3,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"arms\":41,\"torso_2\":0,\"hair_color_1\":5,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"decals_1\":8,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":44,\"pants_1\":34,\"pants_2\":0,\"decals_2\":3,\"hair_color_2\":0,\"face\":21,\"helmet_2\":0,\"hair_2\":3,\"decals_1\":7,\"torso_2\":0,\"hair_color_1\":10,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"glasses_2\":1,\"shoes\":24,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}')
|
||||
;
|
||||
|
||||
CREATE TABLE `fine_types` (
|
||||
|
||||
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`label` varchar(255) DEFAULT NULL,
|
||||
`amount` int(11) DEFAULT NULL,
|
||||
`category` int(11) DEFAULT NULL,
|
||||
|
||||
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
|
||||
@@ -83,4 +83,4 @@ INSERT INTO `fine_types` VALUES ('49', 'Mord an Zivilisten', '10000', '3');
|
||||
INSERT INTO `fine_types` VALUES ('50', 'Mord an Beamten', '30000', '3');
|
||||
INSERT INTO `fine_types` VALUES ('51', 'versehentlicher Mord', '1800', '3');
|
||||
INSERT INTO `fine_types` VALUES ('52', 'Firmenbetrug', '2000', '2');
|
||||
;
|
||||
;
|
||||
|
||||
+206
-206
@@ -9,253 +9,253 @@ Config.EnableESXIdentity = false -- only turn this on if you are using
|
||||
Config.EnableNonFreemodePeds = false -- turn this on if you want custom peds
|
||||
Config.EnableSocietyOwnedVehicles = false
|
||||
Config.MaxInService = -1
|
||||
Config.Locale = 'en'
|
||||
Config.Locale = 'en'
|
||||
|
||||
Config.PoliceStations = {
|
||||
|
||||
LSPD1 = {
|
||||
Blip = {
|
||||
Pos = {x = 425.130, y = -979.558, z = 30.711},
|
||||
Color = 29
|
||||
},
|
||||
LSPD1 = {
|
||||
Blip = {
|
||||
Pos = {x = 425.130, y = -979.558, z = 30.711},
|
||||
Color = 29
|
||||
},
|
||||
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_SPECIALCARBINE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
},
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_SPECIALCARBINE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
},
|
||||
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Police Vehicle 1'},
|
||||
{name = 'police2', label = 'Police Vehicle 2'},
|
||||
{name = 'police3', label = 'Police Vehicle 3'},
|
||||
{name = 'police4', label = 'Police Vehicle 4'},
|
||||
{name = 'policeb', label = 'Motorcycle'},
|
||||
{name = 'policet', label = 'Transport Van'},
|
||||
},
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Police Vehicle 1'},
|
||||
{name = 'police2', label = 'Police Vehicle 2'},
|
||||
{name = 'police3', label = 'Police Vehicle 3'},
|
||||
{name = 'police4', label = 'Police Vehicle 4'},
|
||||
{name = 'policeb', label = 'Motorcycle'},
|
||||
{name = 'policet', label = 'Transport Van'},
|
||||
},
|
||||
|
||||
Cloakrooms = {
|
||||
{x = 452.600, y = -993.306, z = 29.750}
|
||||
},
|
||||
Cloakrooms = {
|
||||
{x = 452.600, y = -993.306, z = 29.750}
|
||||
},
|
||||
|
||||
Armories = {
|
||||
{x = 451.699, y = -980.356, z = 29.689}
|
||||
},
|
||||
Armories = {
|
||||
{x = 451.699, y = -980.356, z = 29.689}
|
||||
},
|
||||
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 454.69, y = -1017.4, z = 27.430},
|
||||
SpawnPoint = {x = 438.42, y = -1018.3, z = 27.757},
|
||||
Heading = 90.0
|
||||
}
|
||||
},
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 454.69, y = -1017.4, z = 27.430},
|
||||
SpawnPoint = {x = 438.42, y = -1018.3, z = 27.757},
|
||||
Heading = 90.0
|
||||
}
|
||||
},
|
||||
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
|
||||
VehicleDeleters = {
|
||||
{x = 462.74, y = -1014.4, z = 27.065},
|
||||
{x = 462.40, y = -1019.7, z = 27.104}
|
||||
},
|
||||
VehicleDeleters = {
|
||||
{x = 462.74, y = -1014.4, z = 27.065},
|
||||
{x = 462.40, y = -1019.7, z = 27.104}
|
||||
},
|
||||
|
||||
BossActions = {
|
||||
{x = 448.417, y = -973.208, z = 29.689}
|
||||
}
|
||||
BossActions = {
|
||||
{x = 448.417, y = -973.208, z = 29.689}
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
SASP1 = {
|
||||
Blip = {
|
||||
Pos = {x = 825.34204101563, y = -1290.0471191406, z = 28.240659713745 },
|
||||
Color = 40
|
||||
},
|
||||
SASP1 = {
|
||||
Blip = {
|
||||
Pos = {x = 825.34204101563, y = -1290.0471191406, z = 28.240659713745 },
|
||||
Color = 40
|
||||
},
|
||||
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_SPECIALCARBINE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
},
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_SPECIALCARBINE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
},
|
||||
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Police Vehicle 1'},
|
||||
{name = 'police2', label = 'Police Vehicle 2'},
|
||||
{name = 'police3', label = 'Police Vehicle 3'},
|
||||
{name = 'police4', label = 'Police Vehicle 4'},
|
||||
{name = 'policeb', label = 'Motorcycle'},
|
||||
{name = 'policet', label = 'Transport Van'},
|
||||
},
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Police Vehicle 1'},
|
||||
{name = 'police2', label = 'Police Vehicle 2'},
|
||||
{name = 'police3', label = 'Police Vehicle 3'},
|
||||
{name = 'police4', label = 'Police Vehicle 4'},
|
||||
{name = 'policeb', label = 'Motorcycle'},
|
||||
{name = 'policet', label = 'Transport Van'},
|
||||
},
|
||||
|
||||
Cloakrooms = {
|
||||
{x = 830.11590576172, y = -1311.4512939453, z = 28.13673210144 } -- state pd
|
||||
},
|
||||
Cloakrooms = {
|
||||
{x = 830.11590576172, y = -1311.4512939453, z = 28.13673210144 } -- state pd
|
||||
},
|
||||
|
||||
Armories = {
|
||||
{x = 858.25366210938, y = -1321.5992431641, z = 28.136734008789 } -- state pd
|
||||
},
|
||||
Armories = {
|
||||
{x = 858.25366210938, y = -1321.5992431641, z = 28.136734008789 } -- state pd
|
||||
},
|
||||
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 863.17700195313, y = -1346.2406005859, z = 26.039228439331 }, --state pd
|
||||
SpawnPoint = {x = 871.07720947266, y = -1350.00390625, z = 26.3092918396 }, -- state pd
|
||||
Heading = 90.0 --state pd
|
||||
}
|
||||
},
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 863.17700195313, y = -1346.2406005859, z = 26.039228439331 }, --state pd
|
||||
SpawnPoint = {x = 871.07720947266, y = -1350.00390625, z = 26.3092918396 }, -- state pd
|
||||
Heading = 90.0 --state pd
|
||||
}
|
||||
},
|
||||
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
|
||||
VehicleDeleters = {
|
||||
{x = 823.95031738281, y = -1371.1483154297, z = 26.136753082275 } --state pd
|
||||
},
|
||||
VehicleDeleters = {
|
||||
{x = 823.95031738281, y = -1371.1483154297, z = 26.136753082275 } --state pd
|
||||
},
|
||||
|
||||
BossActions = {
|
||||
{x = 850.228515625, y = -1284.50390625, z = 28.004758834839 } --state pd
|
||||
}
|
||||
BossActions = {
|
||||
{x = 850.228515625, y = -1284.50390625, z = 28.004758834839 } --state pd
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
LSPD2 = {
|
||||
Blip = {
|
||||
Pos = {x = -441.80764770508, y = 6012.5131835938, z = 31.716369628906 },
|
||||
Color = 29
|
||||
},
|
||||
LSPD2 = {
|
||||
Blip = {
|
||||
Pos = {x = -441.80764770508, y = 6012.5131835938, z = 31.716369628906 },
|
||||
Color = 29
|
||||
},
|
||||
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_SPECIALCARBINE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
},
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_SPECIALCARBINE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
},
|
||||
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Police Vehicle 1'},
|
||||
{name = 'police2', label = 'Police Vehicle 2'},
|
||||
{name = 'police3', label = 'Police Vehicle 3'},
|
||||
{name = 'police4', label = 'Police Vehicle 4'},
|
||||
{name = 'policeb', label = 'Motorcycle'},
|
||||
{name = 'policet', label = 'Transport Van'},
|
||||
},
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Police Vehicle 1'},
|
||||
{name = 'police2', label = 'Police Vehicle 2'},
|
||||
{name = 'police3', label = 'Police Vehicle 3'},
|
||||
{name = 'police4', label = 'Police Vehicle 4'},
|
||||
{name = 'policeb', label = 'Motorcycle'},
|
||||
{name = 'policet', label = 'Transport Van'},
|
||||
},
|
||||
|
||||
Cloakrooms = {
|
||||
{x = -450.2878112793, y = 6016.482421875, z = 31.716369628906 },
|
||||
},
|
||||
Cloakrooms = {
|
||||
{x = -450.2878112793, y = 6016.482421875, z = 31.716369628906 },
|
||||
},
|
||||
|
||||
Armories = {
|
||||
{x = -448.04425048828, y = 6007.7104492188, z = 31.716369628906 },
|
||||
},
|
||||
Armories = {
|
||||
{x = -448.04425048828, y = 6007.7104492188, z = 31.716369628906 },
|
||||
},
|
||||
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = -452.30313110352, y = 6005.6704101563, z = 31.840929031372 },
|
||||
SpawnPoint = {x = -454.96899414063, y = 6001.8876953125, z = 31.340549468994 },
|
||||
Heading = 87.0
|
||||
}
|
||||
},
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = -452.30313110352, y = 6005.6704101563, z = 31.840929031372 },
|
||||
SpawnPoint = {x = -454.96899414063, y = 6001.8876953125, z = 31.340549468994 },
|
||||
Heading = 87.0
|
||||
}
|
||||
},
|
||||
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = -462.88317871094, y = 5993.7685546875, z = 31.245756149292 },
|
||||
SpawnPoint = {x = -475.48043823242, y = 5988.326171875, z = 31.336708068848 },
|
||||
Heading = 270.0
|
||||
}
|
||||
},
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = -462.88317871094, y = 5993.7685546875, z = 31.245756149292 },
|
||||
SpawnPoint = {x = -475.48043823242, y = 5988.326171875, z = 31.336708068848 },
|
||||
Heading = 270.0
|
||||
}
|
||||
},
|
||||
|
||||
VehicleDeleters = {
|
||||
{x = -447.64434814453, y = 5994.5024414063, z = 31.340551376343 },
|
||||
},
|
||||
VehicleDeleters = {
|
||||
{x = -447.64434814453, y = 5994.5024414063, z = 31.340551376343 },
|
||||
},
|
||||
|
||||
BossActions = {
|
||||
{x = -441.80764770508, y = 6012.5131835938, z = 31.716369628906 },
|
||||
}
|
||||
BossActions = {
|
||||
{x = -441.80764770508, y = 6012.5131835938, z = 31.716369628906 },
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
SASP2 = {
|
||||
Blip = {
|
||||
Pos = {x = 1851.0972900391, y = 3683.7622070313, z = 34.26708984375 },
|
||||
Color = 40
|
||||
},
|
||||
SASP2 = {
|
||||
Blip = {
|
||||
Pos = {x = 1851.0972900391, y = 3683.7622070313, z = 34.26708984375 },
|
||||
Color = 40
|
||||
},
|
||||
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_SPECIALCARBINE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
},
|
||||
AuthorizedWeapons = {
|
||||
{name = 'WEAPON_NIGHTSTICK', price = 200},
|
||||
{name = 'WEAPON_COMBATPISTOL', price = 300},
|
||||
{name = 'WEAPON_ASSAULTSMG', price = 1250},
|
||||
{name = 'WEAPON_SPECIALCARBINE', price = 1500},
|
||||
{name = 'WEAPON_PUMPSHOTGUN', price = 600},
|
||||
{name = 'WEAPON_STUNGUN', price = 500},
|
||||
{name = 'WEAPON_FLASHLIGHT', price = 80},
|
||||
{name = 'WEAPON_FIREEXTINGUISHER', price = 120},
|
||||
{name = 'WEAPON_FLAREGUN', price = 60},
|
||||
},
|
||||
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Police Vehicle 1'},
|
||||
{name = 'police2', label = 'Police Vehicle 2'},
|
||||
{name = 'police3', label = 'Police Vehicle 3'},
|
||||
{name = 'police4', label = 'Police Vehicle 4'},
|
||||
{name = 'policeb', label = 'Motorcycle'},
|
||||
{name = 'policet', label = 'Transport Van'},
|
||||
},
|
||||
AuthorizedVehicles = {
|
||||
{name = 'police' , label = 'Police Vehicle 1'},
|
||||
{name = 'police2', label = 'Police Vehicle 2'},
|
||||
{name = 'police3', label = 'Police Vehicle 3'},
|
||||
{name = 'police4', label = 'Police Vehicle 4'},
|
||||
{name = 'policeb', label = 'Motorcycle'},
|
||||
{name = 'policet', label = 'Transport Van'},
|
||||
},
|
||||
|
||||
Cloakrooms = {
|
||||
{x = 1857.2354736328, y = 3689.8408203125, z = 34.26708984375 }, -- state pd
|
||||
},
|
||||
Cloakrooms = {
|
||||
{x = 1857.2354736328, y = 3689.8408203125, z = 34.26708984375 }, -- state pd
|
||||
},
|
||||
|
||||
Armories = {
|
||||
{x = 1848.3413085938, y = 3690.1345214844, z = 34.26708984375 }, -- state pd
|
||||
},
|
||||
Armories = {
|
||||
{x = 1848.3413085938, y = 3690.1345214844, z = 34.26708984375 }, -- state pd
|
||||
},
|
||||
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 1866.208984375, y = 3693.8125, z = 33.737236022949 }, --state pd
|
||||
SpawnPoint = {x = 1872.9417724609, y = 3690.5759277344, z = 33.569362640381 }, -- state pd
|
||||
Heading = 90.0 --state pd
|
||||
}
|
||||
},
|
||||
Vehicles = {
|
||||
{
|
||||
Spawner = {x = 1866.208984375, y = 3693.8125, z = 33.737236022949 }, --state pd
|
||||
SpawnPoint = {x = 1872.9417724609, y = 3690.5759277344, z = 33.569362640381 }, -- state pd
|
||||
Heading = 90.0 --state pd
|
||||
}
|
||||
},
|
||||
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
Helicopters = {
|
||||
{
|
||||
Spawner = {x = 466.477, y = -982.819, z = 42.691},
|
||||
SpawnPoint = {x = 450.04, y = -981.14, z = 42.691},
|
||||
Heading = 0.0
|
||||
}
|
||||
},
|
||||
|
||||
VehicleDeleters = {
|
||||
{x = 1866.4152832031, y = 3699.6052246094, z = 33.535938262939 }, --state pd
|
||||
},
|
||||
VehicleDeleters = {
|
||||
{x = 1866.4152832031, y = 3699.6052246094, z = 33.535938262939 }, --state pd
|
||||
},
|
||||
|
||||
BossActions = {
|
||||
{x = 1851.0972900391, y = 3683.7622070313, z = 34.26708984375 }, --state pd
|
||||
}
|
||||
BossActions = {
|
||||
{x = 1851.0972900391, y = 3683.7622070313, z = 34.26708984375 }, --state pd
|
||||
}
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
@@ -1,87 +1,87 @@
|
||||
INSERT INTO `addon_account` (name, label, shared) VALUES
|
||||
('society_police','Police',1)
|
||||
INSERT INTO `addon_account` (name, label, shared) VALUES
|
||||
('society_police','Police',1)
|
||||
;
|
||||
|
||||
INSERT INTO `datastore` (name, label, shared) VALUES
|
||||
('society_police','Police',1)
|
||||
INSERT INTO `datastore` (name, label, shared) VALUES
|
||||
('society_police','Police',1)
|
||||
;
|
||||
|
||||
INSERT INTO `addon_inventory` (name, label, shared) VALUES
|
||||
('society_police', 'Police', 1)
|
||||
INSERT INTO `addon_inventory` (name, label, shared) VALUES
|
||||
('society_police', 'Police', 1)
|
||||
;
|
||||
|
||||
INSERT INTO `jobs` (name, label) VALUES
|
||||
('police','LSPD')
|
||||
INSERT INTO `jobs` (name, label) VALUES
|
||||
('police','LSPD')
|
||||
;
|
||||
|
||||
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
|
||||
('police',0,'recruit','Recruit',20,'{\"tshirt_1\":57,\"torso_1\":55,\"arms\":0,\"pants_1\":35,\"glasses\":0,\"decals_2\":0,\"hair_color_2\":0,\"helmet_2\":0,\"hair_color_1\":5,\"face\":19,\"glasses_2\":1,\"torso_2\":0,\"shoes\":24,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"pants_2\":0,\"hair_2\":0,\"decals_1\":0,\"tshirt_2\":0,\"helmet_1\":8}','{\"tshirt_1\":34,\"torso_1\":48,\"shoes\":24,\"pants_1\":34,\"torso_2\":0,\"decals_2\":0,\"hair_color_2\":0,\"glasses\":0,\"helmet_2\":0,\"hair_2\":3,\"face\":21,\"decals_1\":0,\"glasses_2\":1,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"pants_2\":0,\"arms\":14,\"hair_color_1\":10,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',1,'sergeant','Sergeant',40,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":1,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"arms\":0,\"decals_1\":8,\"torso_2\":0,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"hair_color_1\":5,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":14,\"pants_1\":34,\"pants_2\":0,\"decals_2\":1,\"hair_color_2\":0,\"shoes\":24,\"helmet_2\":0,\"hair_2\":3,\"decals_1\":7,\"torso_2\":0,\"face\":21,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"glasses_2\":1,\"hair_color_1\":10,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',2,'lieutenant','Lieutenant',65,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":2,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"glasses\":0,\"decals_1\":8,\"hair_color_1\":5,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"torso_2\":0,\"arms\":41,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":44,\"pants_1\":34,\"hair_2\":3,\"decals_2\":2,\"hair_color_2\":0,\"hair_color_1\":10,\"helmet_2\":0,\"face\":21,\"shoes\":24,\"torso_2\":0,\"glasses_2\":1,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"pants_2\":0,\"decals_1\":7,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',3,'boss','Chief',80,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":3,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"arms\":41,\"torso_2\":0,\"hair_color_1\":5,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"decals_1\":8,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":44,\"pants_1\":34,\"pants_2\":0,\"decals_2\":3,\"hair_color_2\":0,\"face\":21,\"helmet_2\":0,\"hair_2\":3,\"decals_1\":7,\"torso_2\":0,\"hair_color_1\":10,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"glasses_2\":1,\"shoes\":24,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}')
|
||||
('police',0,'recruit','Recruit',20,'{\"tshirt_1\":57,\"torso_1\":55,\"arms\":0,\"pants_1\":35,\"glasses\":0,\"decals_2\":0,\"hair_color_2\":0,\"helmet_2\":0,\"hair_color_1\":5,\"face\":19,\"glasses_2\":1,\"torso_2\":0,\"shoes\":24,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"pants_2\":0,\"hair_2\":0,\"decals_1\":0,\"tshirt_2\":0,\"helmet_1\":8}','{\"tshirt_1\":34,\"torso_1\":48,\"shoes\":24,\"pants_1\":34,\"torso_2\":0,\"decals_2\":0,\"hair_color_2\":0,\"glasses\":0,\"helmet_2\":0,\"hair_2\":3,\"face\":21,\"decals_1\":0,\"glasses_2\":1,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"pants_2\":0,\"arms\":14,\"hair_color_1\":10,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',1,'sergeant','Sergeant',40,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":1,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"arms\":0,\"decals_1\":8,\"torso_2\":0,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"hair_color_1\":5,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":14,\"pants_1\":34,\"pants_2\":0,\"decals_2\":1,\"hair_color_2\":0,\"shoes\":24,\"helmet_2\":0,\"hair_2\":3,\"decals_1\":7,\"torso_2\":0,\"face\":21,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"glasses_2\":1,\"hair_color_1\":10,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',2,'lieutenant','Lieutenant',65,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":2,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"glasses\":0,\"decals_1\":8,\"hair_color_1\":5,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"torso_2\":0,\"arms\":41,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":44,\"pants_1\":34,\"hair_2\":3,\"decals_2\":2,\"hair_color_2\":0,\"hair_color_1\":10,\"helmet_2\":0,\"face\":21,\"shoes\":24,\"torso_2\":0,\"glasses_2\":1,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"pants_2\":0,\"decals_1\":7,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}'),
|
||||
('police',3,'boss','Chief',80,'{\"tshirt_1\":58,\"torso_1\":55,\"shoes\":24,\"pants_1\":35,\"pants_2\":0,\"decals_2\":3,\"hair_color_2\":0,\"face\":19,\"helmet_2\":0,\"hair_2\":0,\"arms\":41,\"torso_2\":0,\"hair_color_1\":5,\"hair_1\":2,\"skin\":34,\"sex\":0,\"glasses_1\":0,\"glasses_2\":1,\"decals_1\":8,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":11}','{\"tshirt_1\":35,\"torso_1\":48,\"arms\":44,\"pants_1\":34,\"pants_2\":0,\"decals_2\":3,\"hair_color_2\":0,\"face\":21,\"helmet_2\":0,\"hair_2\":3,\"decals_1\":7,\"torso_2\":0,\"hair_color_1\":10,\"hair_1\":11,\"skin\":34,\"sex\":1,\"glasses_1\":5,\"glasses_2\":1,\"shoes\":24,\"glasses\":0,\"tshirt_2\":0,\"helmet_1\":57}')
|
||||
;
|
||||
|
||||
CREATE TABLE `fine_types` (
|
||||
|
||||
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`label` varchar(255) DEFAULT NULL,
|
||||
`amount` int(11) DEFAULT NULL,
|
||||
`category` int(11) DEFAULT NULL,
|
||||
|
||||
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
|
||||
INSERT INTO `fine_types` (label, amount, category) VALUES
|
||||
('Misuse of a horn', 30, 0),
|
||||
('Illegally Crossing a continuous Line', 40, 0),
|
||||
('Driving on the wrong side of the road', 250, 0),
|
||||
('Illegal U-Turn', 250, 0),
|
||||
('Illegally Driving Off-road', 170, 0),
|
||||
('Refusing a Lawful Command', 30, 0),
|
||||
('Illegally Stoped of a Vehicle', 150, 0),
|
||||
('Illegal Parking', 70, 0),
|
||||
('Failing to Yield to the right', 70, 0),
|
||||
('Failure to comply with Vehicle Information', 90, 0),
|
||||
('Failing to stop at a Stop Sign ', 105, 0),
|
||||
('Failing to stop at a Red Light', 130, 0),
|
||||
('Illegal Passing', 100, 0),
|
||||
('Driving an illegal Vehicle', 100, 0),
|
||||
('Driving without a License', 1500, 0),
|
||||
('Hit and Run', 800, 0),
|
||||
('Exceeding Speeds Over < 5 mph', 90, 0),
|
||||
('Exceeding Speeds Over 5-15 mph', 120, 0),
|
||||
('Exceeding Speeds Over 15-30 mph', 180, 0),
|
||||
('Exceeding Speeds Over > 30 mph', 300, 0),
|
||||
('Impeding traffic flow', 110, 1),
|
||||
('Public Intoxication', 90, 1),
|
||||
('Disorderly conduct', 90, 1),
|
||||
('Obstruction of Justice', 130, 1),
|
||||
('Insults towards Civilans', 75, 1),
|
||||
('Disrespecting of an LEO', 110, 1),
|
||||
('Verbal Threat towards a Civilan', 90, 1),
|
||||
('Verbal Threat towards an LEO', 150, 1),
|
||||
('Providing False Information', 250, 1),
|
||||
('Attempt of Corruption', 1500, 1),
|
||||
('Brandishing a weapon in city Limits', 120, 2),
|
||||
('Brandishing a Lethal Weapon in city Limits', 300, 2),
|
||||
('No Firearms License', 600, 2),
|
||||
('Possession of an Illegal Weapon', 700, 2),
|
||||
('Possession of Burglary Tools', 300, 2),
|
||||
('Grand Theft Auto', 1800, 2),
|
||||
('Intent to Sell/Distrube of an illegal Substance', 1500, 2),
|
||||
('Frabrication of an Illegal Substance', 1500, 2),
|
||||
('Possession of an Illegal Substance ', 650, 2),
|
||||
('Kidnapping of a Civilan', 1500, 2),
|
||||
('Kidnapping of an LEO', 2000, 2),
|
||||
('Robbery', 650, 2),
|
||||
('Armed Robbery of a Store', 650, 2),
|
||||
('Armed Robbery of a Bank', 1500, 2),
|
||||
('Assault on a Civilian', 2000, 3),
|
||||
('Assault of an LEO', 2500, 3),
|
||||
('Attempt of Murder of a Civilian', 3000, 3),
|
||||
('Attempt of Murder of an LEO', 5000, 3),
|
||||
('Murder of a Civilian', 10000, 3),
|
||||
('Murder of an LEO', 30000, 3),
|
||||
('Involuntary manslaughter', 1800, 3),
|
||||
('Fraud', 2000, 2);
|
||||
INSERT INTO `fine_types` (label, amount, category) VALUES
|
||||
('Misuse of a horn', 30, 0),
|
||||
('Illegally Crossing a continuous Line', 40, 0),
|
||||
('Driving on the wrong side of the road', 250, 0),
|
||||
('Illegal U-Turn', 250, 0),
|
||||
('Illegally Driving Off-road', 170, 0),
|
||||
('Refusing a Lawful Command', 30, 0),
|
||||
('Illegally Stoped of a Vehicle', 150, 0),
|
||||
('Illegal Parking', 70, 0),
|
||||
('Failing to Yield to the right', 70, 0),
|
||||
('Failure to comply with Vehicle Information', 90, 0),
|
||||
('Failing to stop at a Stop Sign ', 105, 0),
|
||||
('Failing to stop at a Red Light', 130, 0),
|
||||
('Illegal Passing', 100, 0),
|
||||
('Driving an illegal Vehicle', 100, 0),
|
||||
('Driving without a License', 1500, 0),
|
||||
('Hit and Run', 800, 0),
|
||||
('Exceeding Speeds Over < 5 mph', 90, 0),
|
||||
('Exceeding Speeds Over 5-15 mph', 120, 0),
|
||||
('Exceeding Speeds Over 15-30 mph', 180, 0),
|
||||
('Exceeding Speeds Over > 30 mph', 300, 0),
|
||||
('Impeding traffic flow', 110, 1),
|
||||
('Public Intoxication', 90, 1),
|
||||
('Disorderly conduct', 90, 1),
|
||||
('Obstruction of Justice', 130, 1),
|
||||
('Insults towards Civilans', 75, 1),
|
||||
('Disrespecting of an LEO', 110, 1),
|
||||
('Verbal Threat towards a Civilan', 90, 1),
|
||||
('Verbal Threat towards an LEO', 150, 1),
|
||||
('Providing False Information', 250, 1),
|
||||
('Attempt of Corruption', 1500, 1),
|
||||
('Brandishing a weapon in city Limits', 120, 2),
|
||||
('Brandishing a Lethal Weapon in city Limits', 300, 2),
|
||||
('No Firearms License', 600, 2),
|
||||
('Possession of an Illegal Weapon', 700, 2),
|
||||
('Possession of Burglary Tools', 300, 2),
|
||||
('Grand Theft Auto', 1800, 2),
|
||||
('Intent to Sell/Distrube of an illegal Substance', 1500, 2),
|
||||
('Frabrication of an Illegal Substance', 1500, 2),
|
||||
('Possession of an Illegal Substance ', 650, 2),
|
||||
('Kidnapping of a Civilan', 1500, 2),
|
||||
('Kidnapping of an LEO', 2000, 2),
|
||||
('Robbery', 650, 2),
|
||||
('Armed Robbery of a Store', 650, 2),
|
||||
('Armed Robbery of a Bank', 1500, 2),
|
||||
('Assault on a Civilian', 2000, 3),
|
||||
('Assault of an LEO', 2500, 3),
|
||||
('Attempt of Murder of a Civilian', 3000, 3),
|
||||
('Attempt of Murder of an LEO', 5000, 3),
|
||||
('Murder of a Civilian', 10000, 3),
|
||||
('Murder of an LEO', 30000, 3),
|
||||
('Involuntary manslaughter', 1800, 3),
|
||||
('Fraud', 2000, 2);
|
||||
;
|
||||
|
||||
+286
-286
@@ -3,7 +3,7 @@ ESX = nil
|
||||
TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)
|
||||
|
||||
if Config.MaxInService ~= -1 then
|
||||
TriggerEvent('esx_service:activateService', 'police', Config.MaxInService)
|
||||
TriggerEvent('esx_service:activateService', 'police', Config.MaxInService)
|
||||
end
|
||||
|
||||
TriggerEvent('esx_phone:registerNumber', 'police', _U('alert_police'), true, true)
|
||||
@@ -11,64 +11,64 @@ TriggerEvent('esx_society:registerSociety', 'police', 'Police', 'society_police'
|
||||
|
||||
RegisterServerEvent('esx_policejob:giveWeapon')
|
||||
AddEventHandler('esx_policejob:giveWeapon', function(weapon, ammo)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
xPlayer.addWeapon(weapon, ammo)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
xPlayer.addWeapon(weapon, ammo)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx_policejob:confiscatePlayerItem')
|
||||
AddEventHandler('esx_policejob:confiscatePlayerItem', function(target, itemType, itemName, amount)
|
||||
|
||||
local sourceXPlayer = ESX.GetPlayerFromId(source)
|
||||
local targetXPlayer = ESX.GetPlayerFromId(target)
|
||||
|
||||
if itemType == 'item_standard' then
|
||||
local sourceXPlayer = ESX.GetPlayerFromId(source)
|
||||
local targetXPlayer = ESX.GetPlayerFromId(target)
|
||||
|
||||
local label = sourceXPlayer.getInventoryItem(itemName).label
|
||||
if itemType == 'item_standard' then
|
||||
|
||||
targetXPlayer.removeInventoryItem(itemName, amount)
|
||||
sourceXPlayer.addInventoryItem(itemName, amount)
|
||||
local label = sourceXPlayer.getInventoryItem(itemName).label
|
||||
|
||||
TriggerClientEvent('esx:showNotification', sourceXPlayer.source, _U('you_have_confinv') .. amount .. ' ' .. label .. _U('from') .. targetXPlayer.name)
|
||||
TriggerClientEvent('esx:showNotification', targetXPlayer.source, '~b~' .. targetXPlayer.name .. _U('confinv') .. amount .. ' ' .. label )
|
||||
targetXPlayer.removeInventoryItem(itemName, amount)
|
||||
sourceXPlayer.addInventoryItem(itemName, amount)
|
||||
|
||||
end
|
||||
TriggerClientEvent('esx:showNotification', sourceXPlayer.source, _U('you_have_confinv') .. amount .. ' ' .. label .. _U('from') .. targetXPlayer.name)
|
||||
TriggerClientEvent('esx:showNotification', targetXPlayer.source, '~b~' .. targetXPlayer.name .. _U('confinv') .. amount .. ' ' .. label )
|
||||
|
||||
if itemType == 'item_account' then
|
||||
end
|
||||
|
||||
targetXPlayer.removeAccountMoney(itemName, amount)
|
||||
sourceXPlayer.addAccountMoney(itemName, amount)
|
||||
if itemType == 'item_account' then
|
||||
|
||||
TriggerClientEvent('esx:showNotification', sourceXPlayer.source, _U('you_have_confdm') .. amount .. _U('from') .. targetXPlayer.name)
|
||||
TriggerClientEvent('esx:showNotification', targetXPlayer.source, '~b~' .. targetXPlayer.name .. _U('confdm') .. amount)
|
||||
targetXPlayer.removeAccountMoney(itemName, amount)
|
||||
sourceXPlayer.addAccountMoney(itemName, amount)
|
||||
|
||||
end
|
||||
TriggerClientEvent('esx:showNotification', sourceXPlayer.source, _U('you_have_confdm') .. amount .. _U('from') .. targetXPlayer.name)
|
||||
TriggerClientEvent('esx:showNotification', targetXPlayer.source, '~b~' .. targetXPlayer.name .. _U('confdm') .. amount)
|
||||
|
||||
if itemType == 'item_weapon' then
|
||||
end
|
||||
|
||||
targetXPlayer.removeWeapon(itemName)
|
||||
sourceXPlayer.addWeapon(itemName, amount)
|
||||
if itemType == 'item_weapon' then
|
||||
|
||||
TriggerClientEvent('esx:showNotification', sourceXPlayer.source, _U('you_have_confweapon') .. ESX.GetWeaponLabel(itemName) .. _U('from') .. targetXPlayer.name)
|
||||
TriggerClientEvent('esx:showNotification', targetXPlayer.source, '~b~' .. targetXPlayer.name .. _U('confweapon') .. ESX.GetWeaponLabel(itemName))
|
||||
targetXPlayer.removeWeapon(itemName)
|
||||
sourceXPlayer.addWeapon(itemName, amount)
|
||||
|
||||
end
|
||||
TriggerClientEvent('esx:showNotification', sourceXPlayer.source, _U('you_have_confweapon') .. ESX.GetWeaponLabel(itemName) .. _U('from') .. targetXPlayer.name)
|
||||
TriggerClientEvent('esx:showNotification', targetXPlayer.source, '~b~' .. targetXPlayer.name .. _U('confweapon') .. ESX.GetWeaponLabel(itemName))
|
||||
|
||||
end
|
||||
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx_policejob:handcuff')
|
||||
AddEventHandler('esx_policejob:handcuff', function(target)
|
||||
TriggerClientEvent('esx_policejob:handcuff', target)
|
||||
TriggerClientEvent('esx_policejob:handcuff', target)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx_policejob:drag')
|
||||
AddEventHandler('esx_policejob:drag', function(target)
|
||||
local _source = source
|
||||
TriggerClientEvent('esx_policejob:drag', target, _source)
|
||||
local _source = source
|
||||
TriggerClientEvent('esx_policejob:drag', target, _source)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx_policejob:putInVehicle')
|
||||
AddEventHandler('esx_policejob:putInVehicle', function(target)
|
||||
TriggerClientEvent('esx_policejob:putInVehicle', target)
|
||||
TriggerClientEvent('esx_policejob:putInVehicle', target)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx_policejob:OutVehicle')
|
||||
@@ -79,380 +79,380 @@ end)
|
||||
RegisterServerEvent('esx_policejob:getStockItem')
|
||||
AddEventHandler('esx_policejob:getStockItem', function(itemName, count)
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
|
||||
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
|
||||
|
||||
local item = inventory.getItem(itemName)
|
||||
local item = inventory.getItem(itemName)
|
||||
|
||||
if item.count >= count then
|
||||
inventory.removeItem(itemName, count)
|
||||
xPlayer.addInventoryItem(itemName, count)
|
||||
else
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('quantity_invalid'))
|
||||
end
|
||||
if item.count >= count then
|
||||
inventory.removeItem(itemName, count)
|
||||
xPlayer.addInventoryItem(itemName, count)
|
||||
else
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('quantity_invalid'))
|
||||
end
|
||||
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('have_withdrawn') .. count .. ' ' .. item.label)
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('have_withdrawn') .. count .. ' ' .. item.label)
|
||||
|
||||
end)
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx_policejob:putStockItems')
|
||||
AddEventHandler('esx_policejob:putStockItems', function(itemName, count)
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
|
||||
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
|
||||
|
||||
local item = inventory.getItem(itemName)
|
||||
local item = inventory.getItem(itemName)
|
||||
|
||||
if item.count >= 0 then
|
||||
xPlayer.removeInventoryItem(itemName, count)
|
||||
inventory.addItem(itemName, count)
|
||||
else
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('quantity_invalid'))
|
||||
end
|
||||
if item.count >= 0 then
|
||||
xPlayer.removeInventoryItem(itemName, count)
|
||||
inventory.addItem(itemName, count)
|
||||
else
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('quantity_invalid'))
|
||||
end
|
||||
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('added') .. count .. ' ' .. item.label)
|
||||
TriggerClientEvent('esx:showNotification', xPlayer.source, _U('added') .. count .. ' ' .. item.label)
|
||||
|
||||
end)
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:getOtherPlayerData', function(source, cb, target)
|
||||
|
||||
if Config.EnableESXIdentity then
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(target)
|
||||
|
||||
local identifier = GetPlayerIdentifiers(target)[1]
|
||||
|
||||
local result = MySQL.Sync.fetchAll("SELECT * FROM characters WHERE identifier = @identifier", {
|
||||
['@identifier'] = identifier
|
||||
})
|
||||
|
||||
local user = result[1]
|
||||
local firstname = user['firstname']
|
||||
local lastname = user['lastname']
|
||||
local sex = user['sex']
|
||||
local dob = user['dateofbirth']
|
||||
local heightInit = user['height']
|
||||
local heightFeet = tonumber(string.format("%.0f",heightInit / 12, 0))
|
||||
local heightInches = tonumber(string.format("%.0f",heightInit % 12, 0))
|
||||
local height = heightFeet .. "\' " .. heightInches .. "\""
|
||||
|
||||
local data = {
|
||||
name = GetPlayerName(target),
|
||||
job = xPlayer.job,
|
||||
inventory = xPlayer.inventory,
|
||||
accounts = xPlayer.accounts,
|
||||
weapons = xPlayer.loadout,
|
||||
firstname = firstname,
|
||||
lastname = lastname,
|
||||
sex = sex,
|
||||
dob = dob,
|
||||
height = height
|
||||
}
|
||||
|
||||
TriggerEvent('esx_status:getStatus', source, 'drunk', function(status)
|
||||
if Config.EnableESXIdentity then
|
||||
|
||||
if status ~= nil then
|
||||
data.drunk = math.floor(status.percent)
|
||||
end
|
||||
|
||||
end)
|
||||
local xPlayer = ESX.GetPlayerFromId(target)
|
||||
|
||||
if Config.EnableLicenses then
|
||||
local identifier = GetPlayerIdentifiers(target)[1]
|
||||
|
||||
TriggerEvent('esx_license:getLicenses', source, function(licenses)
|
||||
data.licenses = licenses
|
||||
cb(data)
|
||||
end)
|
||||
local result = MySQL.Sync.fetchAll("SELECT * FROM characters WHERE identifier = @identifier", {
|
||||
['@identifier'] = identifier
|
||||
})
|
||||
|
||||
else
|
||||
cb(data)
|
||||
end
|
||||
|
||||
else
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(target)
|
||||
local user = result[1]
|
||||
local firstname = user['firstname']
|
||||
local lastname = user['lastname']
|
||||
local sex = user['sex']
|
||||
local dob = user['dateofbirth']
|
||||
local heightInit = user['height']
|
||||
local heightFeet = tonumber(string.format("%.0f",heightInit / 12, 0))
|
||||
local heightInches = tonumber(string.format("%.0f",heightInit % 12, 0))
|
||||
local height = heightFeet .. "\' " .. heightInches .. "\""
|
||||
|
||||
local data = {
|
||||
name = GetPlayerName(target),
|
||||
job = xPlayer.job,
|
||||
inventory = xPlayer.inventory,
|
||||
accounts = xPlayer.accounts,
|
||||
weapons = xPlayer.loadout
|
||||
}
|
||||
|
||||
TriggerEvent('esx_status:getStatus', _source, 'drunk', function(status)
|
||||
local data = {
|
||||
name = GetPlayerName(target),
|
||||
job = xPlayer.job,
|
||||
inventory = xPlayer.inventory,
|
||||
accounts = xPlayer.accounts,
|
||||
weapons = xPlayer.loadout,
|
||||
firstname = firstname,
|
||||
lastname = lastname,
|
||||
sex = sex,
|
||||
dob = dob,
|
||||
height = height
|
||||
}
|
||||
|
||||
if status ~= nil then
|
||||
data.drunk = status.getPercent()
|
||||
end
|
||||
|
||||
end)
|
||||
TriggerEvent('esx_status:getStatus', source, 'drunk', function(status)
|
||||
|
||||
TriggerEvent('esx_license:getLicenses', _source, function(licenses)
|
||||
data.licenses = licenses
|
||||
end)
|
||||
if status ~= nil then
|
||||
data.drunk = math.floor(status.percent)
|
||||
end
|
||||
|
||||
cb(data)
|
||||
|
||||
end
|
||||
end)
|
||||
|
||||
if Config.EnableLicenses then
|
||||
|
||||
TriggerEvent('esx_license:getLicenses', source, function(licenses)
|
||||
data.licenses = licenses
|
||||
cb(data)
|
||||
end)
|
||||
|
||||
else
|
||||
cb(data)
|
||||
end
|
||||
|
||||
else
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(target)
|
||||
|
||||
local data = {
|
||||
name = GetPlayerName(target),
|
||||
job = xPlayer.job,
|
||||
inventory = xPlayer.inventory,
|
||||
accounts = xPlayer.accounts,
|
||||
weapons = xPlayer.loadout
|
||||
}
|
||||
|
||||
TriggerEvent('esx_status:getStatus', _source, 'drunk', function(status)
|
||||
|
||||
if status ~= nil then
|
||||
data.drunk = status.getPercent()
|
||||
end
|
||||
|
||||
end)
|
||||
|
||||
TriggerEvent('esx_license:getLicenses', _source, function(licenses)
|
||||
data.licenses = licenses
|
||||
end)
|
||||
|
||||
cb(data)
|
||||
|
||||
end
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:getFineList', function(source, cb, category)
|
||||
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM fine_types WHERE category = @category',
|
||||
{
|
||||
['@category'] = category
|
||||
},
|
||||
function(fines)
|
||||
cb(fines)
|
||||
end
|
||||
)
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM fine_types WHERE category = @category',
|
||||
{
|
||||
['@category'] = category
|
||||
},
|
||||
function(fines)
|
||||
cb(fines)
|
||||
end
|
||||
)
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:getVehicleInfos', function(source, cb, plate)
|
||||
|
||||
if Config.EnableESXIdentity then
|
||||
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM owned_vehicles',
|
||||
{},
|
||||
function(result)
|
||||
|
||||
local foundIdentifier = nil
|
||||
if Config.EnableESXIdentity then
|
||||
|
||||
for i=1, #result, 1 do
|
||||
|
||||
local vehicleData = json.decode(result[i].vehicle)
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM owned_vehicles',
|
||||
{},
|
||||
function(result)
|
||||
|
||||
if vehicleData.plate == plate then
|
||||
foundIdentifier = result[i].owner
|
||||
break
|
||||
end
|
||||
local foundIdentifier = nil
|
||||
|
||||
end
|
||||
for i=1, #result, 1 do
|
||||
|
||||
if foundIdentifier ~= nil then
|
||||
local vehicleData = json.decode(result[i].vehicle)
|
||||
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM characters WHERE identifier = @identifier',
|
||||
{
|
||||
['@identifier'] = foundIdentifier
|
||||
},
|
||||
function(result)
|
||||
|
||||
local ownerName = result[1].firstname .. " " .. result[1].lastname
|
||||
if vehicleData.plate == plate then
|
||||
foundIdentifier = result[i].owner
|
||||
break
|
||||
end
|
||||
|
||||
local infos = {
|
||||
plate = plate,
|
||||
owner = ownerName
|
||||
}
|
||||
end
|
||||
|
||||
cb(infos)
|
||||
if foundIdentifier ~= nil then
|
||||
|
||||
end
|
||||
)
|
||||
|
||||
else
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM characters WHERE identifier = @identifier',
|
||||
{
|
||||
['@identifier'] = foundIdentifier
|
||||
},
|
||||
function(result)
|
||||
|
||||
local infos = {
|
||||
plate = plate
|
||||
}
|
||||
local ownerName = result[1].firstname .. " " .. result[1].lastname
|
||||
|
||||
cb(infos)
|
||||
local infos = {
|
||||
plate = plate,
|
||||
owner = ownerName
|
||||
}
|
||||
|
||||
end
|
||||
cb(infos)
|
||||
|
||||
end
|
||||
)
|
||||
|
||||
else
|
||||
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM owned_vehicles',
|
||||
{},
|
||||
function(result)
|
||||
|
||||
local foundIdentifier = nil
|
||||
end
|
||||
)
|
||||
|
||||
for i=1, #result, 1 do
|
||||
|
||||
local vehicleData = json.decode(result[i].vehicle)
|
||||
else
|
||||
|
||||
if vehicleData.plate == plate then
|
||||
foundIdentifier = result[i].owner
|
||||
break
|
||||
end
|
||||
local infos = {
|
||||
plate = plate
|
||||
}
|
||||
|
||||
end
|
||||
cb(infos)
|
||||
|
||||
if foundIdentifier ~= nil then
|
||||
end
|
||||
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM users WHERE identifier = @identifier',
|
||||
{
|
||||
['@identifier'] = foundIdentifier
|
||||
},
|
||||
function(result)
|
||||
end
|
||||
)
|
||||
|
||||
local infos = {
|
||||
plate = plate,
|
||||
owner = result[1].name
|
||||
}
|
||||
else
|
||||
|
||||
cb(infos)
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM owned_vehicles',
|
||||
{},
|
||||
function(result)
|
||||
|
||||
end
|
||||
)
|
||||
|
||||
else
|
||||
local foundIdentifier = nil
|
||||
|
||||
local infos = {
|
||||
plate = plate
|
||||
}
|
||||
for i=1, #result, 1 do
|
||||
|
||||
cb(infos)
|
||||
local vehicleData = json.decode(result[i].vehicle)
|
||||
|
||||
end
|
||||
if vehicleData.plate == plate then
|
||||
foundIdentifier = result[i].owner
|
||||
break
|
||||
end
|
||||
|
||||
end
|
||||
)
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
if foundIdentifier ~= nil then
|
||||
|
||||
MySQL.Async.fetchAll(
|
||||
'SELECT * FROM users WHERE identifier = @identifier',
|
||||
{
|
||||
['@identifier'] = foundIdentifier
|
||||
},
|
||||
function(result)
|
||||
|
||||
local infos = {
|
||||
plate = plate,
|
||||
owner = result[1].name
|
||||
}
|
||||
|
||||
cb(infos)
|
||||
|
||||
end
|
||||
)
|
||||
|
||||
else
|
||||
|
||||
local infos = {
|
||||
plate = plate
|
||||
}
|
||||
|
||||
cb(infos)
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
)
|
||||
|
||||
end
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:getArmoryWeapons', function(source, cb)
|
||||
|
||||
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
|
||||
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
|
||||
|
||||
local weapons = store.get('weapons')
|
||||
local weapons = store.get('weapons')
|
||||
|
||||
if weapons == nil then
|
||||
weapons = {}
|
||||
end
|
||||
if weapons == nil then
|
||||
weapons = {}
|
||||
end
|
||||
|
||||
cb(weapons)
|
||||
cb(weapons)
|
||||
|
||||
end)
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:addArmoryWeapon', function(source, cb, weaponName)
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
xPlayer.removeWeapon(weaponName)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
|
||||
xPlayer.removeWeapon(weaponName)
|
||||
|
||||
local weapons = store.get('weapons')
|
||||
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
|
||||
|
||||
if weapons == nil then
|
||||
weapons = {}
|
||||
end
|
||||
local weapons = store.get('weapons')
|
||||
|
||||
local foundWeapon = false
|
||||
if weapons == nil then
|
||||
weapons = {}
|
||||
end
|
||||
|
||||
for i=1, #weapons, 1 do
|
||||
if weapons[i].name == weaponName then
|
||||
weapons[i].count = weapons[i].count + 1
|
||||
foundWeapon = true
|
||||
end
|
||||
end
|
||||
local foundWeapon = false
|
||||
|
||||
if not foundWeapon then
|
||||
table.insert(weapons, {
|
||||
name = weaponName,
|
||||
count = 1
|
||||
})
|
||||
end
|
||||
for i=1, #weapons, 1 do
|
||||
if weapons[i].name == weaponName then
|
||||
weapons[i].count = weapons[i].count + 1
|
||||
foundWeapon = true
|
||||
end
|
||||
end
|
||||
|
||||
store.set('weapons', weapons)
|
||||
if not foundWeapon then
|
||||
table.insert(weapons, {
|
||||
name = weaponName,
|
||||
count = 1
|
||||
})
|
||||
end
|
||||
|
||||
cb()
|
||||
store.set('weapons', weapons)
|
||||
|
||||
end)
|
||||
cb()
|
||||
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:removeArmoryWeapon', function(source, cb, weaponName)
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
xPlayer.addWeapon(weaponName, 1000)
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
|
||||
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
|
||||
xPlayer.addWeapon(weaponName, 1000)
|
||||
|
||||
local weapons = store.get('weapons')
|
||||
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
|
||||
|
||||
if weapons == nil then
|
||||
weapons = {}
|
||||
end
|
||||
local weapons = store.get('weapons')
|
||||
|
||||
local foundWeapon = false
|
||||
if weapons == nil then
|
||||
weapons = {}
|
||||
end
|
||||
|
||||
for i=1, #weapons, 1 do
|
||||
if weapons[i].name == weaponName then
|
||||
weapons[i].count = (weapons[i].count > 0 and weapons[i].count - 1 or 0)
|
||||
foundWeapon = true
|
||||
end
|
||||
end
|
||||
local foundWeapon = false
|
||||
|
||||
if not foundWeapon then
|
||||
table.insert(weapons, {
|
||||
name = weaponName,
|
||||
count = 0
|
||||
})
|
||||
end
|
||||
for i=1, #weapons, 1 do
|
||||
if weapons[i].name == weaponName then
|
||||
weapons[i].count = (weapons[i].count > 0 and weapons[i].count - 1 or 0)
|
||||
foundWeapon = true
|
||||
end
|
||||
end
|
||||
|
||||
store.set('weapons', weapons)
|
||||
if not foundWeapon then
|
||||
table.insert(weapons, {
|
||||
name = weaponName,
|
||||
count = 0
|
||||
})
|
||||
end
|
||||
|
||||
cb()
|
||||
store.set('weapons', weapons)
|
||||
|
||||
end)
|
||||
cb()
|
||||
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:buy', function(source, cb, amount)
|
||||
|
||||
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_police', function(account)
|
||||
|
||||
if account.money >= amount then
|
||||
account.removeMoney(amount)
|
||||
cb(true)
|
||||
else
|
||||
cb(false)
|
||||
end
|
||||
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_police', function(account)
|
||||
|
||||
end)
|
||||
if account.money >= amount then
|
||||
account.removeMoney(amount)
|
||||
cb(true)
|
||||
else
|
||||
cb(false)
|
||||
end
|
||||
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:getStockItems', function(source, cb)
|
||||
|
||||
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
|
||||
cb(inventory.items)
|
||||
end)
|
||||
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
|
||||
cb(inventory.items)
|
||||
end)
|
||||
|
||||
end)
|
||||
|
||||
ESX.RegisterServerCallback('esx_policejob:getPlayerInventory', function(source, cb)
|
||||
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
local items = xPlayer.inventory
|
||||
local xPlayer = ESX.GetPlayerFromId(source)
|
||||
local items = xPlayer.inventory
|
||||
|
||||
cb({
|
||||
items = items
|
||||
})
|
||||
cb({
|
||||
items = items
|
||||
})
|
||||
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user