diff --git a/README.md b/README.md index 8eca241e..adb07de1 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,7 @@ FXServer ESX Police Job ``` git clone https://github.com/FXServer-ESX/fxserver-esx_policejob esx_policejob ``` -3) * Auto mode : Import esx_policejob_minimal.sql in your database - * Player / Armory management : Import esx_policejob_full.sql in your database +3) Import esx_policejob.sql in your database 4) Add this in your server.cfg : diff --git a/de_esx_policejob_minimal.sql b/de_esx_policejob_minimal.sql deleted file mode 100644 index 0a4e0d61..00000000 --- a/de_esx_policejob_minimal.sql +++ /dev/null @@ -1,79 +0,0 @@ -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}') -; - -INSERT INTO `addon_inventory` (name, label, shared) VALUES - ('society_police', 'Polizei', 1) -; - -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` VALUES ('1', 'Missbrauchen der Hupe', '30', '0'); -INSERT INTO `fine_types` VALUES ('2', 'Vorfahrtstraße missachtet', '40', '0'); -INSERT INTO `fine_types` VALUES ('3', 'Gegenverkehr', '250', '0'); -INSERT INTO `fine_types` VALUES ('4', 'Unbefugtes Wenden', '250', '0'); -INSERT INTO `fine_types` VALUES ('5', 'Off-Road fahren', '170', '0'); -INSERT INTO `fine_types` VALUES ('6', 'Sicherheitsrichtlinien missachtet', '30', '0'); -INSERT INTO `fine_types` VALUES ('7', 'Gefährliches halten', '150', '0'); -INSERT INTO `fine_types` VALUES ('8', 'Nicht erlaubtes parken', '70', '0'); -INSERT INTO `fine_types` VALUES ('9', 'Nicht respektieren des Rechtsfahrgebotes', '70', '0'); -INSERT INTO `fine_types` VALUES ('10', 'Nicht einhaltender Priorität eines Rettungsfahrzeuges', '90', '0'); -INSERT INTO `fine_types` VALUES ('11', 'Nicht angehalten nach Aufforderung', '105', '0'); -INSERT INTO `fine_types` VALUES ('12', 'Bei Rot über die Ampel', '130', '0'); -INSERT INTO `fine_types` VALUES ('13', 'gefährliches Überholmanöver', '100', '0'); -INSERT INTO `fine_types` VALUES ('14', 'Fahrzeug nicht Verkehrstauglich', '100', '0'); -INSERT INTO `fine_types` VALUES ('15', 'Fahren ohne Lizenz', '1500', '0'); -INSERT INTO `fine_types` VALUES ('16', 'Hit and Run', '800', '0'); -INSERT INTO `fine_types` VALUES ('17', 'zu schnell < 5 kmh', '90', '0'); -INSERT INTO `fine_types` VALUES ('18', 'zu schnell 5-15 kmh', '120', '0'); -INSERT INTO `fine_types` VALUES ('19', 'zu schnell 15-30 kmh', '180', '0'); -INSERT INTO `fine_types` VALUES ('20', 'zu schnell > 30 kmh', '300', '0'); -INSERT INTO `fine_types` VALUES ('21', 'Verkehrsbehinderung', '110', '1'); -INSERT INTO `fine_types` VALUES ('22', 'Nicht Benutzung öffentlicher Straßen', '90', '1'); -INSERT INTO `fine_types` VALUES ('23', 'Störung der öffentlichen Ordnung', '90', '1'); -INSERT INTO `fine_types` VALUES ('24', 'Polizeieinsatz behindern', '130', '1'); -INSERT INTO `fine_types` VALUES ('25', 'Beildigung an Zivilist', '75', '1'); -INSERT INTO `fine_types` VALUES ('26', 'Polizist geringschätzen', '110', '1'); -INSERT INTO `fine_types` VALUES ('27', 'verbale Bedrohung an Zivilist', '90', '1'); -INSERT INTO `fine_types` VALUES ('28', 'verbale Bedrohung an Polizist', '150', '1'); -INSERT INTO `fine_types` VALUES ('29', 'Illegale Demonstration', '250', '1'); -INSERT INTO `fine_types` VALUES ('30', 'versuchte Bestechung', '1500', '1'); -INSERT INTO `fine_types` VALUES ('31', 'Mit Messer in der Stadt bewaffnet', '120', '2'); -INSERT INTO `fine_types` VALUES ('32', 'Mit tötlicher Waffe bewaffnet', '300', '2'); -INSERT INTO `fine_types` VALUES ('33', 'Unbefugter Besitz einer Waffe (Standard-Lizenz)', '600', '2'); -INSERT INTO `fine_types` VALUES ('34', 'Illegale Waffe', '700', '2'); -INSERT INTO `fine_types` VALUES ('35', 'Einbruch/Aufbruch', '300', '2'); -INSERT INTO `fine_types` VALUES ('36', 'Autodiebstahl', '1800', '2'); -INSERT INTO `fine_types` VALUES ('37', 'Drogenverkauf', '1500', '2'); -INSERT INTO `fine_types` VALUES ('38', 'Drogen herstellen', '1500', '2'); -INSERT INTO `fine_types` VALUES ('39', 'Drogenbesitz', '650', '2'); -INSERT INTO `fine_types` VALUES ('40', 'Zivile Geisel genommen', '1500', '2'); -INSERT INTO `fine_types` VALUES ('41', 'Geiselnahme', '2000', '2'); -INSERT INTO `fine_types` VALUES ('42', 'Waghalsiges Lenken', '650', '2'); -INSERT INTO `fine_types` VALUES ('43', 'Ladenraub', '650', '2'); -INSERT INTO `fine_types` VALUES ('44', 'Bankraub', '1500', '2'); -INSERT INTO `fine_types` VALUES ('45', 'Schießen auf Zivilisten', '2000', '3'); -INSERT INTO `fine_types` VALUES ('46', 'Schießen auf Beamten', '2500', '3'); -INSERT INTO `fine_types` VALUES ('47', 'versuchterMord an Zivilisten', '3000', '3'); -INSERT INTO `fine_types` VALUES ('48', 'versuchter Mord an einem Beamten', '5000', '3'); -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'); -; \ No newline at end of file diff --git a/esx_policejob_full.sql b/esx_policejob.sql similarity index 100% rename from esx_policejob_full.sql rename to esx_policejob.sql diff --git a/esx_policejob_en_minimal.sql b/esx_policejob_en_minimal.sql deleted file mode 100644 index f28257d6..00000000 --- a/esx_policejob_en_minimal.sql +++ /dev/null @@ -1,80 +0,0 @@ -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','Recrue',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}') -; - -INSERT INTO `addon_inventory` (name, label, shared) VALUES - ('society_police', 'Police', 1) -; - -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); -; \ No newline at end of file diff --git a/esx_policejob_minimal.sql b/esx_policejob_minimal.sql deleted file mode 100644 index ee413e4c..00000000 --- a/esx_policejob_minimal.sql +++ /dev/null @@ -1,80 +0,0 @@ -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','Recrue',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}') -; - -INSERT INTO `addon_inventory` (name, label, shared) VALUES - ('society_police', 'Police', 1) -; - -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 - ('Usage abusif du klaxon',30,0), - ('Franchir une ligne continue',40,0), - ('Circulation à contresens',250,0), - ('Demi-tour non autorisé',250,0), - ('Circulation hors-route',170,0), - ('Non-respect des distances de sécurité',30,0), - ('Arrêt dangereux / interdit',150,0), - ('Stationnement gênant / interdit',70,0), - ('Non respect de la priorité à droite',70,0), - ('Non-respect à un véhicule prioritaire',90,0), - ('Non-respect d\'un stop',105,0), - ('Non-respect d\'un feu rouge',130,0), - ('Dépassement dangereux',100,0), - ('Véhicule non en état',100,0), - ('Conduite sans permis',1500,0), - ('Délit de fuite',800,0), - ('Excès de vitesse < 5 kmh',90,0), - ('Excès de vitesse 5-15 kmh',120,0), - ('Excès de vitesse 15-30 kmh',180,0), - ('Excès de vitesse > 30 kmh',300,0), - ('Entrave de la circulation',110,1), - ('Dégradation de la voie publique',90,1), - ('Trouble à l\'ordre publique',90,1), - ('Entrave opération de police',130,1), - ('Insulte envers / entre civils',75,1), - ('Outrage à agent de police',110,1), - ('Menace verbale ou intimidation envers civil',90,1), - ('Menace verbale ou intimidation envers policier',150,1), - ('Manifestation illégale',250,1), - ('Tentative de corruption',1500,1), - ('Arme blanche sortie en ville',120,2), - ('Arme léthale sortie en ville',300,2), - ('Port d\'arme non autorisé (défaut de license)',600,2), - ('Port d\'arme illégal',700,2), - ('Pris en flag lockpick',300,2), - ('Vol de voiture',1800,2), - ('Vente de drogue',1500,2), - ('Fabriquation de drogue',1500,2), - ('Possession de drogue',650,2), - ('Prise d\'ôtage civil',1500,2), - ('Prise d\'ôtage agent de l\'état',2000,2), - ('Braquage particulier',650,2), - ('Braquage magasin',650,2), - ('Braquage de banque',1500,2), - ('Tir sur civil',2000,3), - ('Tir sur agent de l\'état',2500,3), - ('Tentative de meurtre sur civil',3000,3), - ('Tentative de meurtre sur agent de l\'état',5000,3), - ('Meurtre sur civil',10000,3), - ('Meurte sur agent de l\'état',30000,3), - ('Meurtre involontaire',1800,3), - ('Escroquerie à l\'entreprise',2000,2) -; \ No newline at end of file diff --git a/de_config.lua b/localization/de_config.lua similarity index 100% rename from de_config.lua rename to localization/de_config.lua diff --git a/de_esx_policejob_full.sql b/localization/de_esx_policejob.sql similarity index 100% rename from de_esx_policejob_full.sql rename to localization/de_esx_policejob.sql diff --git a/en_config.lua b/localization/en_config.lua similarity index 96% rename from en_config.lua rename to localization/en_config.lua index f1340a9f..4990c8e7 100644 --- a/en_config.lua +++ b/localization/en_config.lua @@ -1,261 +1,261 @@ -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.EnablePlayerManagement = false -Config.EnableArmoryManagement = false -Config.EnableGCIdentity = false -Config.EnableNonFreemodePeds = false -- turn this on if you want custom peds -Config.EnableSocietyOwnedVehicles = false -Config.MaxInService = -1 -Config.Locale = 'en' - -Config.PoliceStations = { - - 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}, - }, - - 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} - }, - - 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 - } - }, - - 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} - }, - - BossActions = { - {x = 448.417, y = -973.208, z = 29.689} - } - - }, - - 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}, - }, - - 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 - }, - - 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 - } - }, - - 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 - }, - - 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 - }, - - 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'}, - }, - - Cloakrooms = { - {x = -450.2878112793, y = 6016.482421875, 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 - } - }, - - 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 }, - }, - - BossActions = { - {x = -441.80764770508, y = 6012.5131835938, z = 31.716369628906 }, - } - - }, - - 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}, - }, - - 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 - }, - - 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 - } - }, - - 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 - }, - - BossActions = { - {x = 1851.0972900391, y = 3683.7622070313, z = 34.26708984375 }, --state pd - } - - }, - -} +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.EnablePlayerManagement = false +Config.EnableArmoryManagement = false +Config.EnableGCIdentity = false +Config.EnableNonFreemodePeds = false -- turn this on if you want custom peds +Config.EnableSocietyOwnedVehicles = false +Config.MaxInService = -1 +Config.Locale = 'en' + +Config.PoliceStations = { + + 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}, + }, + + 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} + }, + + 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 + } + }, + + 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} + }, + + BossActions = { + {x = 448.417, y = -973.208, z = 29.689} + } + + }, + + 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}, + }, + + 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 + }, + + 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 + } + }, + + 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 + }, + + 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 + }, + + 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'}, + }, + + Cloakrooms = { + {x = -450.2878112793, y = 6016.482421875, 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 + } + }, + + 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 }, + }, + + BossActions = { + {x = -441.80764770508, y = 6012.5131835938, z = 31.716369628906 }, + } + + }, + + 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}, + }, + + 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 + }, + + 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 + } + }, + + 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 + }, + + BossActions = { + {x = 1851.0972900391, y = 3683.7622070313, z = 34.26708984375 }, --state pd + } + + }, + +} diff --git a/esx_policejob_en_full.sql b/localization/esx_policejob_en.sql similarity index 100% rename from esx_policejob_en_full.sql rename to localization/esx_policejob_en.sql