mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 17:01:14 +00:00
Squashed commit of the following:
commitfffe62c047Merge:35899761b7e5351fAuthor: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Wed Jan 18 14:16:02 2023 +0100 Merge pull request #838 from Rav3n95/develop refactor(esx_banking) commit35899761baMerge:b09776b41d06e246Author: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Wed Jan 18 13:56:51 2023 +0100 Merge pull request #834 from lexinor/patch-2 refactor(esx_service/server/main.lua): Added some new globalstate stuff and fixed stuff commitb09776b4c5Merge:3c4f81f918c4d704Author: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Wed Jan 18 13:51:46 2023 +0100 Merge pull request #837 from esx-framework/esx_phone_removing build: remove esx_phone commit3c4f81f989Merge:3bc649d7935eb8f2Author: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Wed Jan 18 13:40:43 2023 +0100 Merge pull request #843 from PoPoGH/main Create fr.lua commit935eb8f2d6Author: PoPo <76515395+PoPoGH@users.noreply.github.com> Date: Wed Jan 18 00:07:23 2023 +0100 Update fr.lua commit06d17a6ddfAuthor: PoPo <76515395+PoPoGH@users.noreply.github.com> Date: Wed Jan 18 00:06:03 2023 +0100 add french locale some improvements commit811636cb58Author: PoPo <76515395+PoPoGH@users.noreply.github.com> Date: Tue Jan 17 19:35:14 2023 +0100 Add French Language commit3b7e4281dcAuthor: PoPo <76515395+PoPoGH@users.noreply.github.com> Date: Tue Jan 17 15:09:10 2023 +0100 Create fr.lua commitb7e5351fcbAuthor: Csoki <feketetibi71@gmail.com> Date: Mon Jan 16 13:38:55 2023 +0100 fix(esx_banking/client): cant open if player death add 'esx:onPlayerDeath' event commit618eafc9a1Author: Csoki <feketetibi71@gmail.com> Date: Mon Jan 16 13:26:22 2023 +0100 Update README.md -remove: ox target support -format commit81c95b1a2bMerge:472f33bc2e8871ccAuthor: Csoki <feketetibi71@gmail.com> Date: Mon Jan 16 13:22:33 2023 +0100 Merge branch 'develop' of https://github.com/Rav3n95/esx-legacy into pr/838 commit472f33bcafAuthor: Csoki <feketetibi71@gmail.com> Date: Mon Jan 16 13:21:31 2023 +0100 refactor(esx_banking/client): refactor some if conditions commit8258d3fb6eAuthor: P Gergő <paldi95@gmail.com> Date: Sat Jan 14 22:48:06 2023 +0100 or 10 fix: distance condition commit2e8871cc95Author: P Gergő <paldi95@gmail.com> Date: Sat Jan 14 22:48:06 2023 +0100 or 10 commitc70cd30922Author: P Gergő <paldi95@gmail.com> Date: Sat Jan 14 22:39:06 2023 +0100 refactor(esx_banking) commit3bc649d76bMerge:3568d2bfd300c1f0Author: Gellipapa <gellerthorvath0@gmail.com> Date: Sat Jan 14 19:36:08 2023 +0100 Merge pull request #832 from Flambaa/feat/tr-locale feat(esx_accsessories): Add tr locales/translation commit18c4d704e1Author: Jean-Baptiste Devic <jean.baptiste.d06@gmail.com> Date: Sat Jan 14 13:52:41 2023 +0100 build: remove esx_phone commit3568d2bf07Merge:00c0006ec503b078Author: Csoki <feketetibi71@gmail.com> Date: Sat Jan 14 10:59:55 2023 +0100 Merge pull request #835 from esx-framework/tony-stark-17-patch-1 Send lastJob data to client commitc503b07805Author: Tony Stark <76168122+tony-stark-17@users.noreply.github.com> Date: Sat Jan 14 13:24:55 2023 +0530 Send lastJob data to client commit1d06e246abAuthor: Alessandro Alterno <28725795+lexinor@users.noreply.github.com> Date: Fri Jan 13 22:47:26 2023 +0100 Added some new globalstate stuff and fixed stuff - esx:playerDropped event was not working properly, source was not working, changed it to playerId - Added GlobalState[name] to make it easier to track onduty counters commitd300c1f09aAuthor: Flamba <denizakgxll@gmail.com> Date: Thu Jan 12 23:06:46 2023 +1100 feat(esx_accsessories): Add tr locales/translation commit00c0006e93Merge:cef3d217d822a902Author: Gellipapa <gellerthorvath0@gmail.com> Date: Wed Jan 11 00:41:02 2023 +0100 Merge pull request #830 from fivemland/fix-779-2 fix(esx_property): some fixes and refactor commitd822a90273Author: Csoki <feketetibi71@gmail.com> Date: Wed Dec 28 23:27:40 2022 +0100 fix(esx_multicharacter): update 'hu' locales # add missing locales # add new locales PR #777 commit58360836e7Author: Csoki <feketetibi71@gmail.com> Date: Wed Dec 28 23:13:09 2022 +0100 feat(esx_property): remove unused variables commit5ad4c1b2c0Author: Csoki <feketetibi71@gmail.com> Date: Wed Dec 28 23:03:45 2022 +0100 fix(esx_property): move 'es' locales to correct location commitd1e64919ffAuthor: Csoki <feketetibi71@gmail.com> Date: Wed Dec 28 22:56:50 2022 +0100 feat(esx_property): update native names commitcef3d2172fMerge:8030c9f999c8d116Author: Gellipapa <gellerthorvath0@gmail.com> Date: Mon Jan 9 23:31:05 2023 +0100 Merge pull request #794 from fivemland/society-refactor refactor(esx_society) commit8030c9f98fMerge:fda6249178200ceeAuthor: Gellipapa <gellerthorvath0@gmail.com> Date: Mon Jan 9 22:51:56 2023 +0100 Merge pull request #829 from Gellipapa/fix-2 fix(ex_extended locales.lua) fix nil value if change locales commit99c8d116b7Author: Csoki <feketetibi71@gmail.com> Date: Mon Jan 9 22:51:27 2023 +0100 fix commit78200cee9fAuthor: Gellipapa <gellerthorvath0@gmail.com> Date: Mon Jan 9 22:47:23 2023 +0100 fix nil value if change locales commit83833eb20cMerge:25016e8bfda62491Author: Csoki <feketetibi71@gmail.com> Date: Mon Jan 9 22:44:46 2023 +0100 Merge branch 'develop' into society-refactor commitfda62491f4Merge:e10494a3163dd3b0Author: Gellipapa <gellerthorvath0@gmail.com> Date: Mon Jan 9 22:27:09 2023 +0100 Merge pull request #799 from TheFantomas/main New year licenses 🎈 🎈 🎈 commite10494a382Merge:24d4556053d2aa56Author: Gellipapa <gellerthorvath0@gmail.com> Date: Mon Jan 9 22:08:00 2023 +0100 Merge pull request #601 from AstroNext/AstroNext refactor(esx_menu_default/client/main.lua): Change isControlePress to ESX.RegisterInput commit24d4556019Merge:191088c8f5e0115eAuthor: Jean-Baptiste <jean.baptiste.d06@gmail.com> Date: Mon Jan 9 19:41:21 2023 +0100 Merge pull request #823 from TheFantomas/main Add Feature Request and General Support commit191088c818Merge:58e48df521535af0Author: Jean-Baptiste <jean.baptiste.d06@gmail.com> Date: Mon Jan 9 19:36:46 2023 +0100 Merge pull request #827 from esx-framework/main make dev up to date commit58e48df514Author: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Mon Jan 9 11:25:42 2023 +0100 Revert "Only show Default Inventory if Config enabled." This reverts commit1abd1fb5b4. commitee09e06f1dMerge:aa3032cf23705a13Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Mon Jan 9 10:09:29 2023 +0000 Merge pull request #824 from Rav3n95/develop Fix for #821 commitaa3032cf23Merge:b62be9eac75e3a14Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Mon Jan 9 10:08:40 2023 +0000 Merge pull request #826 from iSentrie/patch-8 fix(esx_lscustom): Added 5th engine level commitc75e3a1400Author: iSentrie <xvender7@gmail.com> Date: Mon Jan 9 11:29:25 2023 +0200 Added 5th engine level Fix for vehicles that has 5 engine upgrades, example `shinobi` Prevents errors commit23705a135fAuthor: P Gergő <69343477+Rav3n95@users.noreply.github.com> Date: Sun Jan 8 18:31:48 2023 +0100 Forgotten print commitdd634b66ccAuthor: P Gergő <69343477+Rav3n95@users.noreply.github.com> Date: Sun Jan 8 18:30:58 2023 +0100 Fixes commitf5e0115e1eAuthor: TheFarFantomas <thefarfantomas@gmail.com> Date: Sun Jan 8 17:55:09 2023 +0100 Add tag commit8b9fb47eb0Author: TheFarFantomas <thefarfantomas@gmail.com> Date: Sun Jan 8 17:53:29 2023 +0100 Support commit15d8a337a9Author: TheFarFantomas <thefarfantomas@gmail.com> Date: Sun Jan 8 17:50:40 2023 +0100 Feature request commit163dd3b01cMerge:ff5d728db62be9eaAuthor: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Sun Jan 8 17:33:26 2023 +0100 Merge branch 'develop' into main commitb62be9ea91Merge:13be75143ce03968Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 16:09:36 2023 +0000 Merge pull request #813 from zinzin92/main Create fr.lua commit13be751437Merge:ddd19d0feffd9858Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 16:07:54 2023 +0000 Merge pull request #778 from johnsoul777/main Fix Translate Saving commitddd19d0ff1Merge:c501f3f5c4cc9843Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 16:04:27 2023 +0000 Merge pull request #811 from BeansFL/patch-3 Update de.lua commitc501f3f565Merge:86d03e7b56992cd8Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 16:03:55 2023 +0000 Merge pull request #810 from BeansFL/patch-1 Update de.lua commit86d03e7bc9Merge:ae8d408be9e761b0Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 16:02:40 2023 +0000 Merge pull request #816 from Zan1456/patch-3 Create ui_hu.html commitae8d408b2fMerge:7f53c705de666f1bAuthor: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 16:01:08 2023 +0000 Merge pull request #815 from Zan1456/patch-2 Create questions_hu.js commit7f53c70502Merge:63c06c0bba4820c0Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 15:58:58 2023 +0000 Merge pull request #814 from Zan1456/patch-1 Update hu.lua commit63c06c0b96Merge:8c47f5fa36d05607Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 15:56:01 2023 +0000 Merge pull request #812 from BeansFL/patch-4 Update de.lua commit8c47f5fa56Merge:46fc5f4381306d50Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 15:51:11 2023 +0000 Merge pull request #789 from Cartman117/patch-1 fix(esx_mechanicjob): Translation & Spawn vehicle from garage commit46fc5f4326Merge:ba08825e842f221bAuthor: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 15:49:02 2023 +0000 Merge pull request #798 from Mojito-Fivem/patch-1 Update readme.md commitba08825eefMerge:a8c424f72a659184Author: JackDUpModZ <83776161+JackDUpModZ@users.noreply.github.com> Date: Sun Jan 8 15:48:49 2023 +0000 Merge pull request #793 from fivemland/vehicleshop-refactor refactor(esx_vehicleshop) commita8c424f738Merge:90c977791abd1fb5Author: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Sun Jan 8 10:56:03 2023 +0100 Merge pull request #818 from Kuuzoo/patch-1 Only show Default Inventory if Config enabled. commit90c97779cbMerge:5362966877de399bAuthor: Benzo <102178921+Benzo00@users.noreply.github.com> Date: Sun Jan 8 10:55:38 2023 +0100 Merge pull request #808 from QB-Extended/main feat(es_extended): add message to event commit1abd1fb5b4Author: Kuuzoo <81863846+Kuuzoo@users.noreply.github.com> Date: Fri Jan 6 23:01:10 2023 +0100 Only show Default Inventory if Config enabled. On Itme Remove/Add the Default Inventory will now only show if enabled in the es_extended Config! commite9e761b065Author: Zan <62830223+Zan1456@users.noreply.github.com> Date: Fri Jan 6 11:46:26 2023 +0100 Create ui_hu.html commitde666f1b92Author: Zan <62830223+Zan1456@users.noreply.github.com> Date: Fri Jan 6 11:46:02 2023 +0100 Create questions_hu.js commitba4820c0a2Author: Zan <62830223+Zan1456@users.noreply.github.com> Date: Fri Jan 6 11:42:08 2023 +0100 Update hu.lua commit3ce03968dbAuthor: Zinzin92 <kevin-descours@outlook.fr> Date: Thu Jan 5 12:16:02 2023 +0100 Create fr.lua commit36d05607ebAuthor: BeansFL <106496863+BeansFL@users.noreply.github.com> Date: Thu Jan 5 03:26:47 2023 +0100 Update de.lua commitc4cc9843d5Author: BeansFL <106496863+BeansFL@users.noreply.github.com> Date: Thu Jan 5 03:09:31 2023 +0100 Update de.lua commit56992cd8bcAuthor: BeansFL <106496863+BeansFL@users.noreply.github.com> Date: Thu Jan 5 02:57:03 2023 +0100 Update de.lua commit77de399b99Author: Mycroft <kaseyfitton@hotmail.co.uk> Date: Wed Jan 4 19:58:43 2023 +0000 fix: more race condition fixing commit3892aa9b8fAuthor: Mycroft <kaseyfitton@hotmail.co.uk> Date: Wed Jan 4 18:59:30 2023 +0000 fix: society race conditions commit43fe788a2bAuthor: Mycroft <kaseyfitton@hotmail.co.uk> Date: Wed Jan 4 18:52:48 2023 +0000 refactor(esx_society): allow registering society with exports commitc732d79263Author: Mycroft <kaseyfitton@hotmail.co.uk> Date: Wed Jan 4 18:50:34 2023 +0000 tweak(esx_society): better readme commite9e4fa0205Author: Mycroft <kaseyfitton@hotmail.co.uk> Date: Wed Jan 4 00:17:51 2023 +0000 fix(es_extended): print formatting commit5b2509b2faAuthor: Mycroft <kaseyfitton@hotmail.co.uk> Date: Tue Jan 3 23:14:27 2023 +0000 feat(es_extended): add message to event commitff5d728d29Merge:63215f7ee0f55fc5Author: TheFantomas <117121911+TheFantomas@users.noreply.github.com> Date: Mon Jan 2 21:01:20 2023 +0100 Merge branch 'develop' into main commit63215f7e2dAuthor: TheFarFantomas <thefarfantomas@gmail.com> Date: Mon Jan 2 19:00:01 2023 +0100 Edit date in esx_identity commit25441de8b3Author: TheFarFantomas <thefarfantomas@gmail.com> Date: Mon Jan 2 18:57:43 2023 +0100 New year licenses commit842f221b34Author: Liam Dormon <66041893+Mojito-Fivem@users.noreply.github.com> Date: Mon Jan 2 17:06:59 2023 +0000 Update readme.md commiteffd985898Author: AL1ƎN <72218928+johnsoul777@users.noreply.github.com> Date: Fri Dec 30 15:56:21 2022 +0100 Create es.js commit0bc5589679Merge:92b111cb17f96a74Author: AL1ƎN <72218928+johnsoul777@users.noreply.github.com> Date: Fri Dec 30 15:55:12 2022 +0100 Merge branch 'esx-framework:main' into main commit25016e8b4dAuthor: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 12:06:18 2022 +0100 refactor(esx_society): main/server.lua commita759b4d74bAuthor: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 12:06:00 2022 +0100 fix(esx_society): invalid job bug commit93d8a11aafAuthor: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 11:28:11 2022 +0100 feat(esx_policejob): add esx_proprty dependency commit88bbaa1282Author: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 11:27:10 2022 +0100 fix(esx_society): fix invalid job bug commitd572f1acb0Author: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 11:15:36 2022 +0100 feat(esx_society): add missing locales commit2a659184d6Author: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 10:41:57 2022 +0100 refactor(esx_vehicleshop): main/client.lua commit6212076bd4Author: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 10:24:19 2022 +0100 fix(esx_vehicleshop): 'hu' locales commitfbbd6eb66aAuthor: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 10:01:51 2022 +0100 refactor(esx_vehicleshop): server/main.lua commit43f44a052fAuthor: Csoki <feketetibi71@gmail.com> Date: Fri Dec 30 09:43:27 2022 +0100 refactor(esx_vehicleshop): GeneratePlate(), IsPlateTaken() commit81306d503bAuthor: Cartman117 <121615906+Cartman117@users.noreply.github.com> Date: Thu Dec 29 14:02:01 2022 +0100 fix(esx_mechanicjob): French translation commite6481e106eAuthor: Cartman117 <121615906+Cartman117@users.noreply.github.com> Date: Thu Dec 29 13:42:48 2022 +0100 fix(esx_mechanicjob): Spawn vehicule from garage If Config.EnableSocietyOwnedVehicles = true, spawning vehicule from garage wasn't possible because element.value = 'vehicle_list' but we want vehicule's informations (element2.value) commit92b111cbc0Author: AL1ƎN <72218928+johnsoul777@users.noreply.github.com> Date: Wed Dec 28 12:44:39 2022 +0100 Fix Translate Saving Fix Translate Saving commit53d2aa56eeAuthor: Amir_Lynx <60301485+AmirLynx@users.noreply.github.com> Date: Sat Oct 29 17:26:49 2022 +0330 change isControlePress to registerInput
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: General Support
|
||||
url: http://discord.esx-framework.org/
|
||||
about: Please ask general questions on our Discord!
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
name: Feature Request
|
||||
about: Help us improve esx with your ideas
|
||||
title: "[Feature Request] - esx_script - Add better configuration"
|
||||
labels: enhancement
|
||||
assignees: Benzo00
|
||||
|
||||
---
|
||||
|
||||
**Describe the Feature**
|
||||
A simple description of the new feature.
|
||||
|
||||
**Screenshots**
|
||||
You can also add some screenshots.
|
||||
|
||||
**Additional context**
|
||||
If you want to add something more.
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx-legacy
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx-legacy Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx-legacy Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
+2
-21
@@ -907,25 +907,7 @@ ALTER TABLE `users`
|
||||
--
|
||||
ALTER TABLE `user_licenses`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
-- ESX Phone
|
||||
--
|
||||
CREATE TABLE `user_contacts` (
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`identifier` VARCHAR(60) NOT NULL,
|
||||
`name` VARCHAR(100) NOT NULL,
|
||||
`number` INT(11) NOT NULL,
|
||||
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX `index_user_contacts_identifier_name_number` (`identifier`, `name`, `number`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
|
||||
ALTER TABLE `users`
|
||||
ADD COLUMN `phone_number` INT(11) NULL,
|
||||
ADD UNIQUE INDEX `index_users_phone_number` (`phone_number`);
|
||||
|
||||
|
||||
--
|
||||
-- Fine Types
|
||||
--
|
||||
@@ -1028,5 +1010,4 @@ CREATE TABLE IF NOT EXISTS `banking` (
|
||||
PRIMARY KEY (`ID`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
ALTER TABLE `users` ADD COLUMN `pincode` INT NULL;
|
||||
|
||||
ALTER TABLE `users` ADD COLUMN `pincode` INT NULL;
|
||||
+2
-2
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
async
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
async Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
async Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -6,7 +6,7 @@ A very Simple resource that allows resources to run tasks asynchronously.
|
||||
|
||||
async - asynchronous tasks.
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
+2
-2
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
cron
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
cron Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
cron Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -28,7 +28,7 @@ TriggerEvent('cron:runAt', 18, 30, CronTask)
|
||||
|
||||
cron - run tasks at specific intervals!
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
es_extended
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
es_extended Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
es_extended Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -5,3 +5,8 @@ end)
|
||||
if GetResourceState('ox_inventory') ~= 'missing' then
|
||||
Config.OxInventory = true
|
||||
end
|
||||
|
||||
AddEventHandler("esx:getSharedObject", function()
|
||||
local Invoke = GetInvokingResource()
|
||||
print(("[^1ERROR^7] Resource ^5%s^7 Used the ^5getSharedObject^7 Event, this event ^1no longer exists!^7 Visit https://documentation.esx-framework.org/tutorials/sharedevent for how to fix!"):format(Invoke))
|
||||
end)
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
Locales = {}
|
||||
|
||||
function Translate(str, ...) -- Translate string
|
||||
|
||||
if Locales[Config.Locale] then
|
||||
if Locales[Config.Locale][str] then
|
||||
return string.format(Locales[Config.Locale][str], ...)
|
||||
elseif Config.Locale ~= 'en' and Locales['en'][str] then
|
||||
elseif Config.Locale ~= 'en' and Locales['en'] and Locales['en'][str] then
|
||||
return string.format(Locales['en'][str], ...)
|
||||
else
|
||||
return 'Translation [' .. Config.Locale .. '][' .. str .. '] does not exist'
|
||||
@@ -22,4 +21,4 @@ function TranslateCap(str, ...) -- Translate string first char uppercase
|
||||
end
|
||||
|
||||
_ = Translate
|
||||
_U = TranslateCap
|
||||
_U = TranslateCap
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
Locales['de'] = {
|
||||
-- Inventory
|
||||
['inventory'] = 'inventar %s / %s',
|
||||
['inventory'] = 'Inventar %s / %s',
|
||||
['use'] = 'benutzen',
|
||||
['give'] = 'geben',
|
||||
['remove'] = 'entfernen',
|
||||
['return'] = 'zurück',
|
||||
['give_to'] = 'geben an',
|
||||
['amount'] = 'betrag',
|
||||
['giveammo'] = 'munition geben',
|
||||
['amountammo'] = 'anzahl der munition',
|
||||
['noammo'] = 'du hast keine munition!',
|
||||
['amount'] = 'Betrag',
|
||||
['giveammo'] = 'Munition geben',
|
||||
['amountammo'] = 'Anzahl der Munition',
|
||||
['noammo'] = 'du hast keine Munition!',
|
||||
['gave_item'] = 'du gibst %sx %s an %s',
|
||||
['received_item'] = 'du empfängst %sx %s von %s',
|
||||
['gave_weapon'] = 'du gibst %s an %s',
|
||||
@@ -26,9 +26,9 @@ Locales['de'] = {
|
||||
['received_account_money'] = 'du empfängst $%s (%s) von %s',
|
||||
['amount_invalid'] = 'ungültiger Betrag',
|
||||
['players_nearby'] = 'keine Spieler in der Nähe',
|
||||
['ex_inv_lim'] = 'aktion nicht möglich, Inventarlimit überschritten für %s',
|
||||
['imp_invalid_quantity'] = 'aktion nicht möglich, ungültige Anzahl',
|
||||
['imp_invalid_amount'] = 'aktion nicht möglich, ungültiger Betrag',
|
||||
['ex_inv_lim'] = 'Aktion nicht möglich, Inventarlimit überschritten für %s',
|
||||
['imp_invalid_quantity'] = 'Aktion nicht möglich, ungültige Anzahl',
|
||||
['imp_invalid_amount'] = 'Aktion nicht möglich, ungültiger Betrag',
|
||||
['threw_standard'] = 'du wirfst %sx %s',
|
||||
['threw_account'] = 'du wirfst $%s %s weg',
|
||||
['threw_weapon'] = 'du wirfst %s weg',
|
||||
@@ -38,71 +38,71 @@ Locales['de'] = {
|
||||
['threw_pickup_prompt'] = 'drücke E um aufzuheben',
|
||||
|
||||
-- Key mapping
|
||||
['keymap_showinventory'] = 'inventar anzeigen',
|
||||
['keymap_showinventory'] = 'Inventar anzeigen',
|
||||
|
||||
-- Salary related
|
||||
['received_salary'] = 'du hast dein Gehalt erhalten: $%s',
|
||||
['received_help'] = 'du hast deine Sozialhilfe erhalten: $%s',
|
||||
['company_nomoney'] = 'die Firma in der du angestellt bist, ist zu arm um dein Gehalt zu zahlen',
|
||||
['company_nomoney'] = 'die Firma in der du angestellt bist, ist zu arm um dir dein Gehalt zu zahlen',
|
||||
['received_paycheck'] = 'erhaltener Gehaltsscheck',
|
||||
['bank'] = 'bank',
|
||||
['account_bank'] = 'bank',
|
||||
['account_black_money'] = 'schwarzgeld',
|
||||
['account_money'] = 'geld',
|
||||
['bank'] = 'Bank',
|
||||
['account_bank'] = 'Bank',
|
||||
['account_black_money'] = 'Schwarzgeld',
|
||||
['account_money'] = 'Geld',
|
||||
|
||||
['act_imp'] = 'Aktion nicht möglich',
|
||||
['in_vehicle'] = 'du kannst keine Items in einem Fahrzeug weitergeben',
|
||||
|
||||
-- Commands
|
||||
['command_car'] = 'fahrzeug spawnen',
|
||||
['command_car_car'] = 'fahrzeug spawn name oder hash',
|
||||
['command_cardel'] = 'fahrzeuge in der nähe löschen',
|
||||
['command_cardel_radius'] = 'optional, jedes fahrzeug innerhalb des angegebenen radius löschen',
|
||||
['command_clear'] = 'chat leeren',
|
||||
['command_clearall'] = 'chat leeren für alle spieler',
|
||||
['command_clearinventory'] = 'spieler inventar leeren',
|
||||
['command_clearloadout'] = 'spieler ausstattung löschen',
|
||||
['command_giveaccountmoney'] = 'gebe guthaben',
|
||||
['command_giveaccountmoney_account'] = 'gültiger account name',
|
||||
['command_giveaccountmoney_amount'] = 'anzahl zum hinzufügen',
|
||||
['command_giveaccountmoney_invalid'] = 'ungültiger account name',
|
||||
['command_giveitem'] = 'gebe ein item zu einem spieler',
|
||||
['command_giveitem_item'] = 'item name',
|
||||
['command_giveitem_count'] = 'item anzahl',
|
||||
['command_giveweapon'] = 'gebe waffe zu einem spieler',
|
||||
['command_giveweapon_weapon'] = 'waffen name',
|
||||
['command_giveweapon_ammo'] = 'munition anzahl',
|
||||
['command_giveweapon_hasalready'] = 'spieler hat bereits diese waffe',
|
||||
['command_giveweaponcomponent'] = 'gebe waffen component',
|
||||
['command_giveweaponcomponent_component'] = 'component name',
|
||||
['command_giveweaponcomponent_invalid'] = 'ungültiges waffen component',
|
||||
['command_giveweaponcomponent_hasalready'] = 'spieler hat bereits dieses waffen komponent',
|
||||
['command_giveweaponcomponent_missingweapon'] = 'spieler hat diese waffe nicht',
|
||||
['command_save'] = 'spieler in die datenbank sichern',
|
||||
['command_saveall'] = 'alle spieler in die datenbank sichern',
|
||||
['command_setaccountmoney'] = 'guthaben für den spieler setzen',
|
||||
['command_setaccountmoney_amount'] = 'guthaben zum setzen',
|
||||
['command_setcoords'] = 'teleportieren zu koordinaten',
|
||||
['command_setcoords_x'] = 'x axis',
|
||||
['command_setcoords_y'] = 'y axis',
|
||||
['command_setcoords_z'] = 'z axis',
|
||||
['command_setjob'] = 'job für einen spieler setzen',
|
||||
['command_setjob_job'] = 'job name',
|
||||
['command_setjob_grade'] = 'job rang',
|
||||
['command_setjob_invalid'] = 'der job, rang oder beides ist ungültig',
|
||||
['command_setgroup'] = 'setze spieler gruppe',
|
||||
['command_setgroup_group'] = 'gruppen name',
|
||||
['commanderror_argumentmismatch'] = 'argumentanzahl stimmt nicht überein (übergeben %s, gesucht %s)',
|
||||
['command_car'] = 'Fahrzeug spawnen',
|
||||
['command_car_car'] = 'Fahrzeug spawnname oder hash',
|
||||
['command_cardel'] = 'Fahrzeuge in der nähe löschen',
|
||||
['command_cardel_radius'] = 'Optional, jedes Fahrzeug innerhalb des angegebenen Radius löschen',
|
||||
['command_clear'] = 'Chat leeren',
|
||||
['command_clearall'] = 'Chat leeren für alle spieler',
|
||||
['command_clearinventory'] = 'Spielerinventar leeren',
|
||||
['command_clearloadout'] = 'Spielerausstattung löschen',
|
||||
['command_giveaccountmoney'] = 'Geld aufs Konto laden',
|
||||
['command_giveaccountmoney_account'] = 'gültiger Kontoname',
|
||||
['command_giveaccountmoney_amount'] = 'Anzahl zum hinzufügen',
|
||||
['command_giveaccountmoney_invalid'] = 'Ungültiger Kontoname',
|
||||
['command_giveitem'] = 'Item an Spieler geben',
|
||||
['command_giveitem_item'] = 'Itemname',
|
||||
['command_giveitem_count'] = 'item Anzahl',
|
||||
['command_giveweapon'] = 'Spieler eine Waffe geben',
|
||||
['command_giveweapon_weapon'] = 'Waffenname',
|
||||
['command_giveweapon_ammo'] = 'Munitionsanzahl',
|
||||
['command_giveweapon_hasalready'] = 'Spieler bereits im Besitz dieser Waffe',
|
||||
['command_giveweaponcomponent'] = 'Spieler Waffenaufsatz geben',
|
||||
['command_giveweaponcomponent_component'] = 'Waffenaufsatz Name',
|
||||
['command_giveweaponcomponent_invalid'] = 'ungültiger Waffenaufsatz',
|
||||
['command_giveweaponcomponent_hasalready'] = 'Spieler hat bereits diesen Waffenaufsatz',
|
||||
['command_giveweaponcomponent_missingweapon'] = 'Der Spieler besitzt diese Waffe nicht',
|
||||
['command_save'] = 'Spieler in der Datenbank sichern',
|
||||
['command_saveall'] = 'Sichern von allen Spielern auf der Datenbank',
|
||||
['command_setaccountmoney'] = 'Kontosumme des Spielers setzen',
|
||||
['command_setaccountmoney_amount'] = 'Summe',
|
||||
['command_setcoords'] = 'Zu den Koordinaten Teleportieren',
|
||||
['command_setcoords_x'] = 'x Position',
|
||||
['command_setcoords_y'] = 'y Position',
|
||||
['command_setcoords_z'] = 'z Position',
|
||||
['command_setjob'] = 'Dem Spieler einen Job setzen',
|
||||
['command_setjob_job'] = 'Name des Jobs',
|
||||
['command_setjob_grade'] = 'Rang des Jobs',
|
||||
['command_setjob_invalid'] = 'Der Rang oder der Job ist nicht gültigt.',
|
||||
['command_setgroup'] = 'Spielergruppe setzen',
|
||||
['command_setgroup_group'] = 'Gruppenname',
|
||||
['commanderror_argumentmismatch'] = 'Die Anzahl der Argumente stimmen nicht überein (übergeben %s, gesucht %s)',
|
||||
['commanderror_argumentmismatch_number'] = 'argument #%s typ stimmt nicht überein (übergeben string, gewünscht zahl)',
|
||||
['commanderror_invaliditem'] = 'falscher item name',
|
||||
['commanderror_invalidweapon'] = 'ungültige waffe',
|
||||
['commanderror_console'] = 'der command kann nicht von der konsole ausgeführt werden',
|
||||
['commanderror_invalidcommand'] = '/%s ist kein verfügbarer command!',
|
||||
['commanderror_invalidplayerid'] = 'kein spieler ist online mit dieser id',
|
||||
['commandgeneric_playerid'] = 'spieler id',
|
||||
['command_giveammo_noweapon_found'] = '%s does not have that weapon',
|
||||
['command_giveammo_weapon'] = 'Weapon name',
|
||||
['command_giveammo_ammo'] = 'Ammo Quantity',
|
||||
['commanderror_invaliditem'] = 'falscher Itemname',
|
||||
['commanderror_invalidweapon'] = 'ungültige Waffe',
|
||||
['commanderror_console'] = 'Der Befehl kann nicht in der Konsole genutzt werden',
|
||||
['commanderror_invalidcommand'] = '/%s ist kein verfügbarer Befehl!',
|
||||
['commanderror_invalidplayerid'] = 'Kein Spieler mit dieser ID scheint online zu sein',
|
||||
['commandgeneric_playerid'] = 'Spieler ID',
|
||||
['command_giveammo_noweapon_found'] = '%s besitzt diese Waffe nicht',
|
||||
['command_giveammo_weapon'] = 'Waffenname',
|
||||
['command_giveammo_ammo'] = 'Munitionsanzahl',
|
||||
|
||||
-- Locale settings
|
||||
['locale_digit_grouping_symbol'] = ' ',
|
||||
@@ -187,34 +187,34 @@ Locales['de'] = {
|
||||
-- Weapon Components
|
||||
['component_clip_default'] = 'standart Griff',
|
||||
['component_clip_extended'] = 'erweiterter Griff',
|
||||
['component_clip_drum'] = 'trommelmagazin',
|
||||
['component_clip_box'] = 'kastenmagazin',
|
||||
['component_flashlight'] = 'taschenlampe',
|
||||
['component_scope'] = 'zielfernrohr',
|
||||
['component_clip_drum'] = 'Trommelmagazin',
|
||||
['component_clip_box'] = 'Kastenmagazin',
|
||||
['component_flashlight'] = 'Taschenlampe',
|
||||
['component_scope'] = 'Zielfernrohr',
|
||||
['component_scope_advanced'] = 'erweitertes Zielfernrohr',
|
||||
['component_suppressor'] = 'schalldämpfer',
|
||||
['component_grip'] = 'griff',
|
||||
['component_luxary_finish'] = 'luxus Waffen Design',
|
||||
['component_suppressor'] = 'Schalldämpfer',
|
||||
['component_grip'] = 'Griff',
|
||||
['component_luxary_finish'] = 'luxus Waffendesign',
|
||||
|
||||
-- Weapon Ammo
|
||||
['ammo_rounds'] = 'kugel(n)',
|
||||
['ammo_shells'] = 'schrotpatrone(n)',
|
||||
['ammo_charge'] = 'ladung',
|
||||
['ammo_petrol'] = 'liter Benzin',
|
||||
['ammo_firework'] = 'feuerwerksrakete(n)',
|
||||
['ammo_rockets'] = 'rakete(n)',
|
||||
['ammo_grenadelauncher'] = 'granate(n)',
|
||||
['ammo_grenade'] = 'granate(n)',
|
||||
['ammo_stickybomb'] = 'bombe(n)',
|
||||
['ammo_pipebomb'] = 'bombe(n)',
|
||||
['ammo_smokebomb'] = 'bombe(n)',
|
||||
['ammo_molotov'] = 'cocktail(s)',
|
||||
['ammo_proxmine'] = 'mine(n)',
|
||||
['ammo_bzgas'] = 'can(n)',
|
||||
['ammo_ball'] = 'ball',
|
||||
['ammo_snowball'] = 'schneebälle',
|
||||
['ammo_flare'] = 'signalfackel(n)',
|
||||
['ammo_flaregun'] = 'signalfackeln(munition)',
|
||||
['ammo_rounds'] = 'Kugel(n)',
|
||||
['ammo_shells'] = 'Schrotpatrone(n)',
|
||||
['ammo_charge'] = 'Ladung',
|
||||
['ammo_petrol'] = 'Benzinkanister',
|
||||
['ammo_firework'] = 'Feuerwerksrakete(n)',
|
||||
['ammo_rockets'] = 'Rakete(n)',
|
||||
['ammo_grenadelauncher'] = 'Granate(n)',
|
||||
['ammo_grenade'] = 'Granate(n)',
|
||||
['ammo_stickybomb'] = 'C4(s)',
|
||||
['ammo_pipebomb'] = 'Rohrbombe(n)',
|
||||
['ammo_smokebomb'] = 'Rauchgranate(n)',
|
||||
['ammo_molotov'] = 'Molotovcocktail(s)',
|
||||
['ammo_proxmine'] = 'Annäherungsmine(n)',
|
||||
['ammo_bzgas'] = 'Bzgas',
|
||||
['ammo_ball'] = 'Ball',
|
||||
['ammo_snowball'] = 'Schneebälle',
|
||||
['ammo_flare'] = 'Signalfackel(n)',
|
||||
['ammo_flaregun'] = 'Signalfackeln(munition)',
|
||||
|
||||
-- Weapon Tints
|
||||
['tint_default'] = 'standard',
|
||||
|
||||
@@ -386,7 +386,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
|
||||
end
|
||||
|
||||
TriggerEvent('esx:setJob', self.source, self.job, lastJob)
|
||||
self.triggerEvent('esx:setJob', self.job)
|
||||
self.triggerEvent('esx:setJob', self.job, lastJob)
|
||||
Player(self.source).state:set("job", self.job, true)
|
||||
else
|
||||
print(('[es_extended] [^3WARNING^7] Ignoring invalid ^5.setJob()^7 usage for ID: ^5%s^7, Job: ^5%s^7'):format(self.source, job))
|
||||
|
||||
@@ -14,6 +14,10 @@ Core.Pickups = {}
|
||||
Core.PickupId = 0
|
||||
Core.PlayerFunctionOverrides = {}
|
||||
|
||||
AddEventHandler("esx:getSharedObject", function()
|
||||
local Invoke = GetInvokingResource()
|
||||
print(("[^1ERROR^7] Resource ^5%s^7 Used the ^5getSharedObject^7 Event, this event ^1no longer exists!^7 Visit https://documentation.esx-framework.org/tutorials/sharedevent for how to fix!"):format(Invoke))
|
||||
end)
|
||||
|
||||
exports('getSharedObject', function()
|
||||
return ESX
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_boat
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_boat Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_boat Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_identity
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_identity Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_identity Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -21,7 +21,7 @@ A Core Resource that Allows the player to Pick their characters, Name, Gender, H
|
||||
|
||||
esx_identity - Make your Character a Person!
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ Config.MaxNameLength = 20 -- Max Name Length.
|
||||
Config.MinHeight = 120 -- 120 cm lowest height
|
||||
Config.MaxHeight = 220 -- 220 cm max height.
|
||||
Config.LowestYear = 1900 -- 112 years old is the oldest you can be.
|
||||
Config.HighestYear = 2003 -- 18 years old is the youngest you can be.
|
||||
Config.HighestYear = 2005 -- 18 years old is the youngest you can be.
|
||||
|
||||
Config.FullCharDelete = true -- Delete all reference to character.
|
||||
Config.EnableDebugging = ESX.GetConfig().EnableDebug -- prints for debugging :)
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_menu_default
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_menu_default Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_menu_default Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -6,7 +6,7 @@ A simple but beautiful Loading Screen for your server!
|
||||
|
||||
esx_loadingscreen - Loading in style!
|
||||
|
||||
Copyright (C) 2022 ESX-Framework
|
||||
Copyright (C) 2023 ESX-Framework
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_menu_default
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_menu_default Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_menu_default Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -9,7 +9,7 @@ A defualt List type menu for ESX.
|
||||
|
||||
esx_menu_defualt - Default Menu!
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
local GUI, MenuType, OpenedMenus = {}, 'default', 0
|
||||
local GUI, MenuType, OpenedMenus, CurrentNameSpace = {}, 'default', 0, nil
|
||||
GUI.Time = 0
|
||||
|
||||
local function openMenu(namespace, name, data)
|
||||
CurrentNameSpace = namespace
|
||||
OpenedMenus += 1
|
||||
SendNUIMessage({
|
||||
action = 'openMenu',
|
||||
@@ -12,6 +13,7 @@ local function openMenu(namespace, name, data)
|
||||
end
|
||||
|
||||
local function closeMenu(namespace, name)
|
||||
CurrentNameSpace = namespace
|
||||
OpenedMenus -= 1
|
||||
SendNUIMessage({
|
||||
action = 'closeMenu',
|
||||
@@ -20,6 +22,14 @@ local function closeMenu(namespace, name)
|
||||
})
|
||||
end
|
||||
|
||||
AddEventHandler('onResourceStop', function(resource)
|
||||
if GetCurrentResourceName() == resource and OpenedMenus > 0 then
|
||||
ESX.UI.Menu.CloseAll()
|
||||
elseif CurrentNameSpace ~= nil and CurrentNameSpace == resource and OpenedMenus > 0 then
|
||||
ESX.UI.Menu.CloseAll()
|
||||
end
|
||||
end)
|
||||
|
||||
ESX.UI.Menu.RegisterType(MenuType, openMenu, closeMenu)
|
||||
|
||||
RegisterNUICallback('menu_submit', function(data, cb)
|
||||
@@ -58,60 +68,62 @@ RegisterNUICallback('menu_change', function(data, cb)
|
||||
cb('OK')
|
||||
end)
|
||||
|
||||
CreateThread(function()
|
||||
while true do
|
||||
local Sleep = 500
|
||||
|
||||
if OpenedMenus > 0 then
|
||||
Sleep = 10
|
||||
if IsControlPressed(0, 18) and IsUsingKeyboard(0) and (GetGameTimer() - GUI.Time) > 200 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'ENTER'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
|
||||
if IsControlPressed(0, 177) and IsUsingKeyboard(0) and (GetGameTimer() - GUI.Time) > 200 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'BACKSPACE'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
|
||||
if IsControlPressed(0, 27) and IsUsingKeyboard(0) and (GetGameTimer() - GUI.Time) > 200 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'TOP'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
|
||||
if IsControlPressed(0, 173) and IsUsingKeyboard(0) and (GetGameTimer() - GUI.Time) > 200 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'DOWN'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
|
||||
if IsControlPressed(0, 174) and IsUsingKeyboard(0) and (GetGameTimer() - GUI.Time) > 200 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'LEFT'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
|
||||
if IsControlPressed(0, 175) and IsUsingKeyboard(0) and (GetGameTimer() - GUI.Time) > 200 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'RIGHT'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
end
|
||||
Wait(Sleep)
|
||||
ESX.RegisterInput('menu_default_enter', 'Submit menu item', 'keyboard', 'RETURN', function()
|
||||
if OpenedMenus > 0 and (GetGameTimer() - GUI.Time) > 200 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'ENTER'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
end)
|
||||
|
||||
ESX.RegisterInput('menu_default_backspace', 'Close menu', 'keyboard', 'BACK', function()
|
||||
if OpenedMenus > 0 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'BACKSPACE'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
end)
|
||||
|
||||
ESX.RegisterInput('menu_default_top', 'Change menu focus to top item', 'keyboard', 'UP', function()
|
||||
if OpenedMenus > 0 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'TOP'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
end)
|
||||
|
||||
ESX.RegisterInput('menu_default_down', 'Change menu focus to down item', 'keyboard', 'DOWN', function()
|
||||
if OpenedMenus > 0 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'DOWN'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
end)
|
||||
|
||||
ESX.RegisterInput('menu_default_left', 'Change menu slider to left', 'keyboard', 'LEFT', function()
|
||||
if OpenedMenus > 0 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'LEFT'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
end)
|
||||
|
||||
ESX.RegisterInput('menu_default_right', 'Change menu slider to right', 'keyboard', 'RIGHT', function()
|
||||
if OpenedMenus > 0 then
|
||||
SendNUIMessage({
|
||||
action = 'controlPressed',
|
||||
control = 'RIGHT'
|
||||
})
|
||||
GUI.Time = GetGameTimer()
|
||||
end
|
||||
end)
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_menu_dialog
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_menu_dialog Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_menu_dialog Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -29,7 +29,7 @@ start esx_menu_dialog
|
||||
### License
|
||||
esx_menu_dialog - input dialog for ESX
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_menu_list
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_menu_list Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_menu_list Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -29,7 +29,7 @@ start esx_menu_list
|
||||
### License
|
||||
esx_menu_list - advanced menu inputs for ESX
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
const translate = new Object();
|
||||
|
||||
translate.name = "Nombre";
|
||||
translate.job = "Trabajo";
|
||||
translate.bank = "Banco";
|
||||
translate.money = "Dinero";
|
||||
translate.gender = "Género";
|
||||
translate.dob = "Fecha de nacimiento";
|
||||
@@ -1,15 +1,22 @@
|
||||
Locales["hu"] = {
|
||||
["male"] = "Férfi",
|
||||
["female"] = "Nő",
|
||||
["delete_label"] = "Törlés %s %s?",
|
||||
["select_char"] = "Karakter kiválasztása",
|
||||
["select_char_description"] = "Select a character to play as.",
|
||||
["select_char_description"] = "Karakter kiválasztása a játékhoz.",
|
||||
["create_char"] = "Új karakter létrehozása",
|
||||
["char_play"] = "Karakter kiválasztása",
|
||||
["char_play_description"] = "Visszatérés a városba.",
|
||||
["char_disabled"] = "Karakter le van tiltva",
|
||||
["char_disabled_description"] = "Ez a karakter nem használható.",
|
||||
["char_delete"] = "Karakter törlése",
|
||||
["cancel"] = "Mégsem",
|
||||
["confirm"] = "Megerősítés",
|
||||
["char_delete_description"] = "Karakter végleges törlése.",
|
||||
["char_delete_confirmation"] = "Törlés megerősítés",
|
||||
["char_delete_confirmation_description"] = "Biztosan törölni szeretnéd a kiválasztott karaktert?",
|
||||
["char_delete_yes_description"] = "Igen, törölni szeretném",
|
||||
["char_delete_no_description"] = "Nem, vissza a karakter opciókhoz",
|
||||
["character"] = "Karakter: %s",
|
||||
["return"] = "Vissza",
|
||||
["return_description"] = "Vissza a karakter választáshoz.",
|
||||
["command_setslots"] = "Játékos karakter slotok számának beállítása",
|
||||
["command_remslots"] = "Játékos karakter slotok számának eltávolítása",
|
||||
["command_enablechar"] = "Játékos karakterének engedélyezése",
|
||||
|
||||
@@ -23,7 +23,7 @@ A Simple, Easy to Use resource, that allows Players to have multiple Characters,
|
||||
|
||||
## Notice
|
||||
|
||||
Copyright © 2022 [Linden](https://github.com/thelindat/), ESX-Framework (fournier Brice & Jérémie N'gadi) and KASH
|
||||
Copyright © 2023 [Linden](https://github.com/thelindat/), ESX-Framework (fournier Brice & Jérémie N'gadi) and KASH
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_menu_default
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_menu_default Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_menu_default Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -55,7 +55,7 @@ ESX.ShowNotification("I i ~r~love~s~ donuts", "success", 3000)
|
||||
|
||||
esx_notify- Notify!
|
||||
|
||||
Copyright (C) 2022 ESX-Framework
|
||||
Copyright (C) 2023 ESX-Framework
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_skin
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_skin Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_skin Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -32,7 +32,7 @@ start esx_skin
|
||||
### License
|
||||
esx_skin - skin selector for ESX
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_menu_default
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_menu_default Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_menu_default Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -43,7 +43,7 @@ ESX.TextUI("i ~r~love~s~ donuts", "error")
|
||||
|
||||
esx_textui - Persistant Notifications!
|
||||
|
||||
Copyright (C) 2022 ESX-Framework
|
||||
Copyright (C) 2023 ESX-Framework
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
skinchanger
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
skinchanger Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
skinchanger Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -73,7 +73,7 @@ end)
|
||||
|
||||
skinchanger - Own your skin!
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_accessories
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-20202322 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_accessories Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_accessories Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -13,7 +13,7 @@ Shops with accessories (hat/helmet, glasses, masks, ears accessories). You can p
|
||||
|
||||
esx_accessories - accessories 4 you!
|
||||
|
||||
Copyright (C) 2015-2022 ESX-Framework
|
||||
Copyright (C) 2015-2023 ESX-Framework
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Locales ['tr'] = {
|
||||
['valid_purchase'] = 'Bunu satın almak istiyor musun?',
|
||||
['yes'] = 'evet (<span style="color: green;">$%s</span>)',
|
||||
['no'] = 'hayır',
|
||||
['helmet'] = 'kask / şapka',
|
||||
['glasses'] = 'gözlük',
|
||||
['mask'] = 'maske',
|
||||
['ears'] = 'kulak aksesuarları',
|
||||
['shop'] = '%s Dükkan',
|
||||
['set_unset'] = 'Giy / çıkar',
|
||||
['not_enough_money'] = 'yeterli paran yok',
|
||||
['press_access'] = 'menüye erişmek için [E] tuşuna basın',
|
||||
['accessories_blip'] = 'Aksesuarlar',
|
||||
['no_ears'] = 'kulak aksesuarların yok',
|
||||
['no_glasses'] = 'senin gözlüğün yok',
|
||||
['no_helmet'] = 'senin kaskın yok',
|
||||
['no_mask'] = 'senin masken yok',
|
||||
['you_paid'] = 'sen $%s ödedin',
|
||||
}
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_addonaccount
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_addonaccount Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_addonaccount Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -31,7 +31,7 @@ end)
|
||||
|
||||
esx_addonaccount - addon account for ESX
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_addoninventory
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_addoninventory Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_addoninventory Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -52,7 +52,7 @@ end)
|
||||
### License
|
||||
esx_addoninventory - inventories!
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_whitelist
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_whitelist Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_whitelist Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -7,7 +7,7 @@ This Script allows you to block all players from joining and specify the only pl
|
||||
|
||||
esx_allowlist- block those evil intruders!
|
||||
|
||||
Copyright (C) 2022 ESX-Framework
|
||||
Copyright (C) 2023 ESX-Framework
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_ambulancejob
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_ambulancejob Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_ambulancejob Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -22,7 +22,7 @@ ESX Ambulance Job is an plugin for ESX with features:
|
||||
|
||||
esx_ambulancejob - ambulance script for fivem
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -344,14 +344,6 @@ function RespawnPed(ped, coords, heading)
|
||||
TriggerEvent('playerSpawned') -- compatibility with old scripts, will be removed soon
|
||||
end
|
||||
|
||||
RegisterNetEvent('esx_phone:loaded')
|
||||
AddEventHandler('esx_phone:loaded', function(phoneNumber, contacts)
|
||||
local specialContact = {name = 'Ambulance', number = 'ambulance',
|
||||
base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAABp5JREFUWIW1l21sFNcVhp/58npn195de23Ha4Mh2EASSvk0CPVHmmCEI0RCTQMBKVVooxYoalBVCVokICWFVFVEFeKoUdNECkZQIlAoFGMhIkrBQGxHwhAcChjbeLcsYHvNfsx+zNz+MBDWNrYhzSvdP+e+c973XM2cc0dihFi9Yo6vSzN/63dqcwPZcnEwS9PDmYoE4IxZIj+ciBb2mteLwlZdfji+dXtNU2AkeaXhCGteLZ/X/IS64/RoR5mh9tFVAaMiAldKQUGiRzFp1wXJPj/YkxblbfFLT/tjq9/f1XD0sQyse2li7pdP5tYeLXXMMGUojAiWKeOodE1gqpmNfN2PFeoF00T2uLGKfZzTwhzqbaEmeYWAQ0K1oKIlfPb7t+7M37aruXvEBlYvnV7xz2ec/2jNs9kKooKNjlksiXhJfLqf1PXOIU9M8fmw/XgRu523eTNyhhu6xLjbSeOFC6EX3t3V9PmwBla9Vv7K7u85d3bpqlwVcvHn7B8iVX+IFQoNKdwfstuFtWoFvwp9zj5XL7nRlPXyudjS9z+u35tmuH/lu6dl7+vSVXmDUcpbX+skP65BxOOPJA4gjDicOM2PciejeTwcsYek1hyl6me5nhNnmwPXBhjYuGC699OpzoaAO0PbYJSy5vgt4idOPrJwf6QuX2FO0oOtqIgj9pDU5dCWrMlyvXf86xsGgHyPeLos83Brns1WFXLxxgVBorHpW4vfQ6KhkbUtCot6srns1TLPjNVr7+1J0PepVc92H/Eagkb7IsTWd4ZMaN+yCXv5zLRY9GQ9xuYtQz4nfreWGdH9dNlkfnGq5/kdO88ekwGan1B3mDJsdMxCqv5w2Iq0khLs48vSllrsG/Y5pfojNugzScnQXKBVA8hrX51ddHq0o6wwIlgS8Y7obZdUZVjOYLC6e3glWkBBVHC2RJ+w/qezCuT/2sV6Q5VYpowjvnf/iBJJqvpYBgBS+w6wVB5DLEOiTZHWy36nNheg0jUBs3PoJnMfyuOdAECqrZ3K7KcACGQp89RAtlysCphqZhPtRzYlcPx+ExklJUiq0le5omCfOGFAYn3qFKS/fZAWS7a3Y2wa+GJOEy4US+B3aaPUYJamj4oI5LA/jWQBt5HIK5+JfXzZsJVpXi/ac8+mxWIXWzAG4Wb4g/jscNMp63I4U5FcKaVvsNyFALokSA47Kx8PVk83OabCHZsiqwAKEpjmfUJIkoh/R+L9oTpjluhRkGSPG4A7EkS+Y3HZk0OXYpIVNy01P5yItnptDsvtIwr0SunqoVP1GG1taTHn1CloXm9aLBEIEDl/IS2W6rg+qIFEYR7+OJTesqJqYa95/VKBNOHLjDBZ8sDS2998a0Bs/F//gvu5Z9NivadOc/U3676pEsizBIN1jCYlhClL+ELJDrkobNUBfBZqQfMN305HAgnIeYi4OnYMh7q/AsAXSdXK+eH41sykxd+TV/AsXvR/MeARAttD9pSqF9nDNfSEoDQsb5O31zQFprcaV244JPY7bqG6Xd9K3C3ALgbfk3NzqNE6CdplZrVFL27eWR+UASb6479ULfhD5AzOlSuGFTE6OohebElbcb8fhxA4xEPUgdTK19hiNKCZgknB+Ep44E44d82cxqPPOKctCGXzTmsBXbV1j1S5XQhyHq6NvnABPylu46A7QmVLpP7w9pNz4IEb0YyOrnmjb8bjB129fDBRkDVj2ojFbYBnCHHb7HL+OC7KQXeEsmAiNrnTqLy3d3+s/bvlVmxpgffM1fyM5cfsPZLuK+YHnvHELl8eUlwV4BXim0r6QV+4gD9Nlnjbfg1vJGktbI5UbN/TcGmAAYDG84Gry/MLLl/zKouO2Xukq/YkCyuWYV5owTIGjhVFCPL6J7kLOTcH89ereF1r4qOsm3gjSevl85El1Z98cfhB3qBN9+dLp1fUTco+0OrVMnNjFuv0chYbBYT2HcBoa+8TALyWQOt/ImPHoFS9SI3WyRajgdt2mbJgIlbREplfveuLf/XXemjXX7v46ZxzPlfd8YlZ01My5MUEVdIY5rueYopw4fQHkbv7/rZkTw6JwjyalBCHur9iD9cI2mU0UzD3P9H6yZ1G5dt7Gwe96w07dl5fXj7vYqH2XsNovdTI6KMrlsAXhRyz7/C7FBO/DubdVq4nBLPaohcnBeMr3/2k4fhQ+Uc8995YPq2wMzNjww2X+vwNt1p00ynrd2yKDJAVN628sBX1hZIdxXdStU9G5W2bd9YHR5L3f/CNmJeY9G8WAAAAAElFTkSuQmCC'}
|
||||
|
||||
TriggerEvent('esx_phone:addSpecialContact', specialContact.name, specialContact.number, specialContact.base64Icon)
|
||||
end)
|
||||
|
||||
AddEventHandler('esx:onPlayerDeath', function(data)
|
||||
OnPlayerDeath()
|
||||
end)
|
||||
|
||||
@@ -29,5 +29,6 @@ client_scripts {
|
||||
dependencies {
|
||||
'es_extended',
|
||||
'esx_skin',
|
||||
'esx_society',
|
||||
'esx_vehicleshop'
|
||||
}
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['br'] = {
|
||||
['ems_menu_small'] = 'curar pequenas feridas',
|
||||
['ems_menu_big'] = 'tratando lesões graves',
|
||||
['ems_menu_search'] = 'paciente não encontrado',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'alerta socorrista',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'você irar reviver em %s minutos %s segundos',
|
||||
['respawn_bleedout_in'] = 'você vai sangrar %s minutos %s segundos\n',
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['cs'] = {
|
||||
['ems_menu_small'] = 'ošetřit malé zranění',
|
||||
['ems_menu_big'] = 'ošetřit vážné zranění',
|
||||
['ems_menu_search'] = 'pacient nebyl nalezen',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'zdravotnický poplach',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'oživení dostupné za %s minut a %s sekund\n',
|
||||
['respawn_bleedout_in'] = 'vykrvácíte za %s minut a %s sekund\n',
|
||||
|
||||
@@ -60,8 +60,6 @@ Locales['de'] = {
|
||||
['ems_menu_putincar'] = 'In Fahrzeug stecken',
|
||||
['ems_menu_small'] = 'Kleine Wunden behandeln',
|
||||
['ems_menu_big'] = 'Ernsthafte Verletzungen behandeln',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'Rettungsdienst alarmieren',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'Respawn in %s Minuten %s Sekundenrfügbar',
|
||||
['respawn_bleedout_in'] = 'Du wirst in %s Minuten %s Sekundensbluten\n',
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['en'] = {
|
||||
['ems_menu_small'] = 'Heal small wounds',
|
||||
['ems_menu_big'] = 'Treat serious injuries',
|
||||
['ems_menu_search'] = 'Patient not found',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'Alert Ambulance',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'Respawn available in %s minutes %s seconds',
|
||||
['respawn_bleedout_in'] = 'You will bleed out in %s minutes %s seconds\n',
|
||||
|
||||
@@ -63,8 +63,6 @@ Locales['es'] = {
|
||||
['ems_menu_small'] = 'Curar pequeñas heridas',
|
||||
['ems_menu_big'] = 'Tratar lesiones graves',
|
||||
['ems_menu_search'] = 'Paciente no encontrado',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'Alerta de ambulancia',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'Reaparición disponible en %s minutes %s seconds',
|
||||
['respawn_bleedout_in'] = 'te desangrarás en %s minutes %s seconds\n',
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['et'] = {
|
||||
['ems_menu_small'] = 'Ravi väikseid haavi',
|
||||
['ems_menu_big'] = 'Ravi tõsiseid haavu',
|
||||
['ems_menu_search'] = 'Patsienti ei leitud',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'Kiirabi teadaanded',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'Sul on võimalik haiglas ärgata %s minuti ka %s sekundi pärast',
|
||||
['respawn_bleedout_in'] = 'Sa jooksed verest tühjak %s minuti ja %s sekundi pärast\n',
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['fi'] = {
|
||||
['ems_menu_small'] = 'hoida pieniä haavoja',
|
||||
['ems_menu_big'] = 'hoida isoja haavoja',
|
||||
['ems_menu_search'] = 'potilasta ei löydy',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'hälyytys Ensihoidolle',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'respawn available in %s minutes %s seconds',
|
||||
['respawn_bleedout_in'] = 'you will bleed out in %s minutes %s seconds\n',
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['fr'] = {
|
||||
['ems_menu_small'] = 'soigner petites blessures',
|
||||
['ems_menu_big'] = 'soigner blessures graves',
|
||||
['ems_menu_search'] = 'patient introuvable',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'alerte Ambulance',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'réanimation possible dans %s minutes %s secondes',
|
||||
['respawn_bleedout_in'] = 'vous allez souffrir d\'une hémorragie dans %s minutes %s secondes\n',
|
||||
|
||||
@@ -5,54 +5,54 @@ Locales['hu'] = {
|
||||
['ems_clothes_ems'] = 'Munkaruha',
|
||||
-- Vehicles
|
||||
['ambulance'] = 'Mentőautó',
|
||||
['helicopter_prompt'] = ' [Információ]:omd meg az [E] gombot a helikopter listához.',
|
||||
['garage_prompt'] = ' [Információ]:omd meg az [E] gombot a kocsi listához.',
|
||||
['helicopter_prompt'] = 'Nyomd meg az [E] gombot a helikopter listához.',
|
||||
['garage_prompt'] = 'Nyomd meg az [E] gombot a kocsi listához.',
|
||||
['garage_title'] = 'Autó funkciók',
|
||||
['garage_stored'] = 'Garázsba',
|
||||
['garage_notstored'] = 'Ismeretlen helyen',
|
||||
['garage_storing'] = 'Próbáljuk betteni a kocsid a garázsodba, de előtte nézz körül, hogy biztos nincs melletted senki',
|
||||
['garage_has_stored'] = ' [Információ]:keresen tároltad a garázsba!',
|
||||
['garage_has_notstored'] = ' máció]:ncs a közeledben semmi!',
|
||||
['garage_notavailable'] = ' máció]:m tárolhatod a garázsba!',
|
||||
['garage_blocked'] = ' máció]:lami gátolja a kocsi lehívását!',
|
||||
['garage_empty'] = ' máció]:m teheted a garázsba!',
|
||||
['garage_released'] = ' [Információ]:keresen kivetted!',
|
||||
['garage_store_nearby'] = ' máció]:ncs a közeledben semmi!',
|
||||
['garage_has_stored'] = ' Sikeresen tároltad a garázsba!',
|
||||
['garage_has_notstored'] = 'Nincs a közeledben semmi!',
|
||||
['garage_notavailable'] = 'Nemm tárolhatod a garázsba!',
|
||||
['garage_blocked'] = 'Valami gátolja a kocsi lehívását!',
|
||||
['garage_empty'] = 'Nem teheted a garázsba!',
|
||||
['garage_released'] = 'Sikeresen kivetted!',
|
||||
['garage_store_nearby'] = 'Nincs a közeledben semmi!',
|
||||
['garage_storeditem'] = 'Garázs megnyitása',
|
||||
['garage_storeitem'] = 'Kocsi berakása a garázsba',
|
||||
['garage_buyitem'] = 'Kocsi igénylés',
|
||||
['shop_item'] = '$%s',
|
||||
['vehicleshop_title'] = 'Autókereskedés',
|
||||
['vehicleshop_confirm'] = 'Megszeretnéd venni ezt a járművet?',
|
||||
['vehicleshop_bought'] = ' [Információ]:keresen igényeltél egy %s enért: ',
|
||||
['vehicleshop_money'] = ' máció]:t most nem tudod megtenni!',
|
||||
['vehicleshop_bought'] = 'Sikeresen igényeltél egy %s ennyiért: ',
|
||||
['vehicleshop_money'] = 'Ezt most nem tudod megtenni!',
|
||||
['vehicleshop_awaiting_model'] = 'Betöltés..',
|
||||
['confirm_no'] = 'Vissza',
|
||||
['confirm_yes'] = 'Igényel',
|
||||
-- Action Menu
|
||||
['revive_inprogress'] = ' [Információ]:kezdted az újraélesztést!',
|
||||
['revive_complete'] = ' [Információ]:raélesztetted: %s',
|
||||
['revive_complete_award'] = ' [Információ]:raélesztetted: %s jáost.',
|
||||
['revive_inprogress'] = 'Elkezdted az újraélesztést!',
|
||||
['revive_complete'] = 'Újraélesztetted: %s',
|
||||
['revive_complete_award'] = 'Újraélesztetted: %s játékost.',
|
||||
['revive_fail_offline'] = 'A játékos nem elérhető',
|
||||
['heal_inprogress'] = ' [Információ]:kezdted a gyógyítást!',
|
||||
['heal_complete'] = ' [Információ]:ggyógyítottad: %s jáost.',
|
||||
['no_players'] = ' máció]:ncs a közeledben senki!',
|
||||
['player_not_unconscious'] = ' [Információ]:játékos nincs öntudatánál!',
|
||||
['player_not_conscious'] = ' [Információ]:játékos nincs öntudatánál!',
|
||||
['heal_inprogress'] = 'Elkezdted a gyógyítást!',
|
||||
['heal_complete'] = 'Meggyógyítottad: %s játékost.',
|
||||
['no_players'] = 'Nincs a közeledben senki!',
|
||||
['player_not_unconscious'] = 'A játékos nincs öntudatánál!',
|
||||
['player_not_conscious'] = 'A játékos nincs öntudatánál!',
|
||||
-- Boss Menu
|
||||
['boss_actions'] = 'Leader panel',
|
||||
-- Misc
|
||||
['invalid_amount'] = ' telen mennyiség',
|
||||
['actions_prompt'] = ' [Információ]:omd meg az [E] gombot a panel megnyitásához.',
|
||||
['invalid_amount'] = 'Érvénytelen mennyiség',
|
||||
['actions_prompt'] = 'Nyomd meg az [E] gombot a panel megnyitásához.',
|
||||
['deposit_amount'] = 'Összeg betétele',
|
||||
['money_withdraw'] = 'Összeg kivétele',
|
||||
['fast_travel'] = 'Nyomj [E] hogy használd a liftet',
|
||||
['open_pharmacy'] = ' [Információ]:omd meg az [E] gombot a gyógyszer kivételéhez.',
|
||||
['open_pharmacy'] = 'Nyomd meg az [E] gombot a gyógyszer kivételéhez.',
|
||||
['pharmacy_menu_title'] = 'Kellékek',
|
||||
['pharmacy_take'] = 'Kivétel: <span style="color:red;">%s</span>',
|
||||
['medikit'] = 'Elsősegély készlet',
|
||||
['bandage'] = 'Kötszer',
|
||||
['max_item'] = ' máció]:m fér már el nálad!',
|
||||
['max_item'] = 'Nem fér már el nálad!',
|
||||
-- F6 Menu
|
||||
['ems_menu'] = 'EMS menü',
|
||||
['ems_menu_title'] = 'EMS Menu',
|
||||
@@ -61,24 +61,22 @@ Locales['hu'] = {
|
||||
['ems_menu_small'] = 'Kis sebek meggyógyítása',
|
||||
['ems_menu_big'] = 'Súlyos sérülések kezelése',
|
||||
['ems_menu_search'] = 'Civil megkeresése',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'EMS értesités',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'Újraéledés: %s',
|
||||
['respawn_bleedout_in'] = 'Elfogsz vérezni %s perc %s másodperclva...\n',
|
||||
['respawn_bleedout_prompt'] = 'Nyomd meg az [E]mbot az újraéledéshez',
|
||||
['respawn_bleedout_in'] = 'Elfogsz vérezni %s perc %s másodperc múlva...\n',
|
||||
['respawn_bleedout_prompt'] = 'Nyomd meg az [E] gombot az újraéledéshez',
|
||||
['respawn_bleedout_fine'] = 'Újraéledéshez: [E]',
|
||||
['respawn_bleedout_fine_msg'] = '[Információ]:Ennyit fizettél, hogy újraéledj',
|
||||
['distress_send'] = 'Nyomd meg a gombot a segítségkéréshez',
|
||||
['distress_sent'] = ' [Információ]:y civil értesítette az illetékes szervezetet!',
|
||||
['respawn_bleedout_fine_msg'] = 'Ennyit fizettél, hogy újraéledj',
|
||||
['distress_send'] = 'Nyomd meg a G gombot a segítségkéréshez',
|
||||
['distress_sent'] = 'Egy civil értesítette az illetékes szervezetet!',
|
||||
-- Revive
|
||||
['revive_help'] = 'újraéleszteni egy játékos',
|
||||
['revive_help'] = 'újraéleszteni egy játékost',
|
||||
-- Item
|
||||
['used_medikit'] = ' [Információ]:használtál 1x segélytáskát.',
|
||||
['used_bandage'] = ' [Információ]:használtál 1x kötszert.',
|
||||
['not_enough_medikit'] = '[Információ]:ncs nálad: Defibrillátor.',
|
||||
['not_enough_bandage'] = '[Információ]:ncs nálad: Kötszer.',
|
||||
['healed'] = ' [Információ]:ggyógyítottak!',
|
||||
['used_medikit'] = 'Elhasználtál 1x segélytáskát.',
|
||||
['used_bandage'] = 'Elhasználtál 1x kötszert.',
|
||||
['not_enough_medikit'] = 'Nincs nálad: Defibrillátor.',
|
||||
['not_enough_bandage'] = 'Nincs nálad: Kötszer.',
|
||||
['healed'] = 'Meggyógyítottak!',
|
||||
-- Blips
|
||||
['blip_hospital'] = 'Korház',
|
||||
['blip_dead'] = 'Eszméletlen játékos',
|
||||
|
||||
@@ -60,8 +60,6 @@ Locales['nl'] = {
|
||||
['ems_menu_putincar'] = 'Zet in voertuig',
|
||||
['ems_menu_small'] = 'Behandel kleine verwondingen',
|
||||
['ems_menu_big'] = 'Behandel grote verwondingen',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'alert Ambulance',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'Respawn beschikbaar in %s minuten en %s seconden',
|
||||
['respawn_bleedout_in'] = 'Je zal doodbloeden in %s minuten %s seconden\n',
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['pl'] = {
|
||||
['ems_menu_small'] = 'ulecz małe rany',
|
||||
['ems_menu_big'] = 'ulecz poważne obrażenia',
|
||||
['ems_menu_search'] = 'nie znaleziono pacjenta',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'wezwij ambulans',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'respawn available in %s minutes %s seconds',
|
||||
['respawn_bleedout_in'] = 'you will bleed out in %s minutes %s seconds\n',
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['si'] = {
|
||||
['ems_menu_small'] = 'Heal small wounds',
|
||||
['ems_menu_big'] = 'Treat serious injuries',
|
||||
['ems_menu_search'] = 'Patient not found',
|
||||
-- Telefon
|
||||
['alert_ambulance'] = 'Alert Ambulance',
|
||||
-- Smrt
|
||||
['respawn_available_in'] = 'Ponovna obnova je na voljo čez %s minut %s sekund',
|
||||
['respawn_bleedout_in'] = 'Izkrvavel boš v %s minutah %s sekundah\n',
|
||||
|
||||
@@ -61,8 +61,6 @@ Locales['sv'] = {
|
||||
['ems_menu_small'] = 'behandla mindre skador',
|
||||
['ems_menu_big'] = 'behandla svåra skador',
|
||||
['ems_menu_search'] = 'patienten hittades inte',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'ambulanssamtal',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'respawn tillgänglig om %s:%s',
|
||||
['respawn_bleedout_in'] = 'du kommer att förblöda om %s:%s\n',
|
||||
|
||||
@@ -60,8 +60,6 @@ Locales['tr'] = {
|
||||
['ems_menu_putincar'] = 'araca koy',
|
||||
['ems_menu_small'] = 'küçük yaraları tedavi et',
|
||||
['ems_menu_big'] = 'ciddi yaraları tedavi et',
|
||||
-- Phone
|
||||
['alert_ambulance'] = 'hastane Acil Durum',
|
||||
-- Death
|
||||
['respawn_available_in'] = 'yeniden canlanmana %s dakika %s saniye kaldı',
|
||||
['respawn_bleedout_in'] = 'kanama %s dakika %s saniye boyunca devam edecek\n',
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
local playersHealing, deadPlayers = {}, {}
|
||||
|
||||
if GetResourceState("esx_phone") ~= 'missing' then
|
||||
TriggerEvent('esx_phone:registerNumber', 'ambulance', TranslateCap('alert_ambulance'), true, true)
|
||||
end
|
||||
|
||||
if GetResourceState("esx_society") ~= 'missing' then
|
||||
TriggerEvent('esx_society:registerSociety', 'ambulance', 'Ambulance', 'society_ambulance', 'society_ambulance', 'society_ambulance', {type = 'public'})
|
||||
end
|
||||
CreateThread(function()
|
||||
exports["esx_society"]:registerSociety('ambulance', 'Ambulance', 'society_ambulance', 'society_ambulance', 'society_ambulance', {type = 'public'})
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx_ambulancejob:revive')
|
||||
AddEventHandler('esx_ambulancejob:revive', function(playerId)
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_animations
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_animations Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_animations Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -28,7 +28,7 @@ start esx_animations
|
||||
### License
|
||||
esx_animations - play anims!
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_bankerjob
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_bankerjob Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_bankerjob Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -35,7 +35,7 @@ start esx_bankerjob
|
||||
### License
|
||||
esx_bankerjob - bank script
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -254,14 +254,3 @@ CreateThread(function()
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx_phone:loaded')
|
||||
AddEventHandler('esx_phone:loaded', function (phoneNumber, contacts)
|
||||
local specialContact = {
|
||||
name = TranslateCap('phone_label'),
|
||||
number = 'banker',
|
||||
base64Icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAABGdBTUEAALGPC/xhBQAAAwBQTFRFAAAAJUO2JUS4JkW7Jka+L0y5M0+7O1e9J0fBKEjEKEnHKUrJKUvMKk3PK07SK0/VLFHaLVLeLVPgLlTjOl7kO1/lQFu/RmDBTmbEU2vHXHLIR2jmSGnnVHPoVXToaX7NYX7pYn/qbIHPd4rReYzTbojre5PtfZTuhZbWh5jYiJ7vkqHblqnwl6rxoK3fpLXzsb/1u8Xovsr2ydHty9X419zy5Oj25ur88vT78vT88/X9////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAATuU7PwAAAQB0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AFP3ByUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAYdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjEuNv1OCegAAAUoSURBVHhe5ZvrdtQ2FEZjoCmFltsQ2gYCA4VA06GUhktK3v+5ppK8bUu2jnTk26zV7l+JbH1nR7Y0QglH+zHstpsBb7hWSLHAjnpxttylp0zgKXWSXHCzjgKBxxRQcE4XBVqBc6LV0C+LTqDgh+/Y0TmNRoDAcjRPIi8w6qdvyI9CTiAy4csgRyQjQMoUHhMlkBSYNPodpMVJCdB/OqlBkAXO6D0LZEYQBeg5F+L6LAnQbz7OCO4jCNBrVojuERUoXvh1kB4SE1ioftwgIjDr6x9CBZ+hwGI/v4UaHgOBRetHDAYC3LgYlGnpC3DbcvSX5Z4Ady1Jb+McCnDPslALAoEFJ6AP1WoCAW5YHMo5fAEuL4//GngCM+1/NFDR4glwcRUoaegEuFTEp+vr6298XUS3P2kFRuy/X5rylvd8XwJVPQEu6Dn5Rn3Dc9r0PKVsK1D8BtrR7yh/DtRtBWjWckHhjr+5oobCCNCo5BlFQ95yVUldeJTAVyoOOOEGFXws1gIlb8AHqsX4yj0qXGUEaFLQTD2JgilZTwQnoN6G+VNP4iX35ukEaMgSTj0J9ZQsFRhOPYlP9MjRCKhewfjUk9BNyUaAb5OIU0/iGR1T2EMsncBfpJagmZK1QPb8NTf1JD7QX6YW4BuJE+LGkJuSGgHd1JP4hxQJK5A+f1esPGkeEBTHCvClADHjOb5HUpQVBE6rH4iKsYJAVVU3yIpwlhV4Tg58NnnwhCbLFW0WmuCjayMswv4o/Q5agvfQ5TmuaHHQZvhIi+MJjdUjsgbsj/LbccJqCDQElWgzvKPFcUpjVUmTYX/EFwn8legX8izeEPxGk+UzbYZLmix3SeuhEbC4PKJ8CppvERWyokB8MuxWFIhOhu2qAtVD4jrO1hWohuvyygLVHQJb1haobpLYsLpA/1U8gEC4Lh9CIFiXDyJQ/USs4TAC1W1yDybQrssrr4Q+dfD54QTqybDuh1GP+yZ4zY/jIWZd3h+9oUQamzi/gNmkZHfFYBMXEKiq/73Aq0ML2H+aqc7pbeJSAqohsIn/RYFfDy1QH9FcUCSFTVxMQDMENnF+ge8OLWBqOwHFYblNXE5AMQQ2cXaB77UC3hGJ/y/+L7QZvtBkuaTN4J/cRLCla4G0QXBU2Z1Q/EGL4x2NVXVKi6M+IZJwpRUC70lz0NcQVGoPg6pjWhwvaIziKiOQOKl6O+ms9PKYahFcZQTkISBoPOIgvK4rIyDORGImQL0BdeFGQBwCUiZAvT6/U7gRkN4CUsbjz1Af6rYC0hBMPq4X3kKqegKSATlj+ZOCfSjqC0i/vBvzC6uGq259CKGmoROQp+I9es2H2Qk1eAKywSP6zQYFLb5A4jeoN+g5D9Rz+ALyEGw2d+g7B6yBNYFAyuABvadjN2IdoUByf0r/yVALQoH0H/TdImEaVGroCaQewmbzIxlToE5LXyBt8JCU8TSfQS0DgbTB1BfhFUU6hgIZg9tEjcJbARsiAhmD+4SN4GcK+MQEMgajF+bh+BuiAhmDkQvz4P1zxAVyf1hzl8wSSO4jCOQObsoXZnIHSALZx0CuknD995EFcgYlC3Pw+ReSEMg9Bv1GibwoKYGZ5mNk9fFIC+TOjzTzkSSJjEDu76yyGyVSZLICmeeQno/xtSdAIZBZlqgVQVFeKZB+EMJ8pGcOpYCBchEiGyV3/qRCL5A4ROhtlORlL0KJgIWSfShtSM/6IaUCltjW2W2Uoh/4GcYI1Oy2rcj2XPe/rIfs9/8CuOBqaLBm2ZcAAAAASUVORK5CYII='
|
||||
}
|
||||
|
||||
TriggerEvent('esx_phone:addSpecialContact', specialContact.name, specialContact.number, specialContact.base64Icon)
|
||||
end)
|
||||
|
||||
@@ -24,4 +24,7 @@ client_scripts {
|
||||
'client/main.lua'
|
||||
}
|
||||
|
||||
dependency 'es_extended'
|
||||
dependencies {
|
||||
'es_extended',
|
||||
'esx_society'
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['br'] = {
|
||||
['press_input_context_to_open_menu'] = 'pressione [E] para abrir o menu',
|
||||
['withdraw'] = 'sacar',
|
||||
['boss_actions'] = 'boss Actions',
|
||||
['phone_receive'] = 'bank Customer',
|
||||
['phone_label'] = 'bank',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['de'] = {
|
||||
['press_input_context_to_open_menu'] = 'Drücke [E] um das Bank Menü zu öffnen',
|
||||
['withdraw'] = 'Abheben',
|
||||
['boss_actions'] = 'boss Actions',
|
||||
['phone_receive'] = 'Bankkunde',
|
||||
['phone_label'] = 'bank',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['en'] = {
|
||||
['press_input_context_to_open_menu'] = 'press [E] to open the Bank Menu.',
|
||||
['withdraw'] = 'withdraw',
|
||||
['boss_actions'] = 'boss Actions',
|
||||
['phone_receive'] = 'bank Customer',
|
||||
['phone_label'] = 'bank',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['es'] = {
|
||||
['press_input_context_to_open_menu'] = 'presione [E] para abrir el Menú del banc .',
|
||||
['withdraw'] = 'retirar',
|
||||
['boss_actions'] = 'Acciones del jefe',
|
||||
['phone_receive'] = 'Cliente bancario',
|
||||
['phone_label'] = 'banco',
|
||||
}
|
||||
@@ -13,6 +13,4 @@ Locales['et'] = {
|
||||
['press_input_context_to_open_menu'] = 'Vajuta [E], et avada panga menüü.',
|
||||
['withdraw'] = 'Võta välja',
|
||||
['boss_actions'] = 'Bossi tegevused',
|
||||
['phone_receive'] = 'Panga klient',
|
||||
['phone_label'] = 'Pank',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['fi'] = {
|
||||
['press_input_context_to_open_menu'] = 'Paina [E] avataksesi valikon',
|
||||
['withdraw'] = 'nosta',
|
||||
['boss_actions'] = 'pomo valinnat',
|
||||
['phone_receive'] = 'pankin asiakas',
|
||||
['phone_label'] = 'bank',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['fr'] = {
|
||||
['press_input_context_to_open_menu'] = 'appuyez sur [E] pour ouvrir le menu',
|
||||
['withdraw'] = 'retrait',
|
||||
['boss_actions'] = 'action Patron',
|
||||
['phone_receive'] = 'client Banque',
|
||||
['phone_label'] = 'banque',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['hu'] = {
|
||||
['press_input_context_to_open_menu'] = 'Nyomj [E] hogy megnyisd a bankot.',
|
||||
['withdraw'] = 'Kivétel',
|
||||
['boss_actions'] = 'Főnöki menü',
|
||||
['phone_receive'] = 'banki ügyfél',
|
||||
['phone_label'] = 'bank',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['it'] = {
|
||||
['press_input_context_to_open_menu'] = 'premi [E] per aprire il menu della banca.',
|
||||
['withdraw'] = 'ritira',
|
||||
['boss_actions'] = 'azioni boss',
|
||||
['phone_receive'] = 'cliente bancario',
|
||||
['phone_label'] = 'banca',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['nl'] = {
|
||||
['press_input_context_to_open_menu'] = 'druk op [E] om het Bank Menute openen.',
|
||||
['withdraw'] = 'opnemen',
|
||||
['boss_actions'] = 'baas acties',
|
||||
['phone_receive'] = 'bank klant',
|
||||
['phone_label'] = 'bank',
|
||||
}
|
||||
|
||||
@@ -13,6 +13,4 @@ Locales['si'] = {
|
||||
['press_input_context_to_open_menu'] = 'pritisnite [E] za odprtje menija banke Bank.',
|
||||
['withdraw'] = 'umakni',
|
||||
['boss_actions'] = 'boss Actions',
|
||||
['phone_receive'] = 'bančna stranka',
|
||||
['phone_label'] = 'bank',
|
||||
}
|
||||
@@ -13,6 +13,4 @@ Locales['sv'] = {
|
||||
['press_input_context_to_open_menu'] = 'Tryck [E] för att öppna Bankmenyn.',
|
||||
['withdraw'] = 'Ta ut',
|
||||
['boss_actions'] = 'Chef handlingar',
|
||||
['phone_receive'] = 'Bank meddelande mottaget',
|
||||
['phone_label'] = 'Bank',
|
||||
}
|
||||
|
||||
@@ -13,7 +13,5 @@ Locales['tr'] = {
|
||||
['press_input_context_to_open_menu'] = 'Banka Menüsünü açmak için [E] tuşuna basın.',
|
||||
['withdraw'] = 'para çek',
|
||||
['boss_actions'] = 'patron Hareketleri',
|
||||
['phone_receive'] = 'banka Müşterisi',
|
||||
['phone_label'] = 'banka',
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
TriggerEvent('esx_phone:registerNumber', 'banker', _('phone_receive'), false, false)
|
||||
TriggerEvent('esx_society:registerSociety', 'banker', TranslateCap('phone_label'), 'society_banker', 'society_banker', 'society_banker', {type = 'public'})
|
||||
CreateThread(function()
|
||||
exports["esx_society"]:registerSociety('banker', TranslateCap('bank'), 'society_banker', 'society_banker', 'society_banker', {type = 'public'})
|
||||
end)
|
||||
|
||||
RegisterServerEvent('esx_bankerjob:customerDeposit')
|
||||
AddEventHandler('esx_bankerjob:customerDeposit', function (target, amount)
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_banking
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_banking Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_banking Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
<h1 align='center'>[ESX] Banking</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://esx-framework.org/'>Website</a> - <a href='https://docs.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
|
||||
|
||||
A beautiful and Easy-To-Use Banking & ATM system for ESX, with optional OX Target Support
|
||||
|
||||
A beautiful and Easy-To-Use Banking & ATM system for ESX
|
||||
|
||||
## BANK UI
|
||||
|
||||

|
||||
|
||||
## ATM UI
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
## Special thanks: Gellipapa#9186,Rav3n95#2849,Csoki, csontvazharcos, Füsti, Pécé
|
||||
|
||||
## Download & Installation
|
||||
@@ -18,6 +19,7 @@ A beautiful and Easy-To-Use Banking & ATM system for ESX, with optional OX Targe
|
||||
- Put it in the `[esx-addons]` directory
|
||||
|
||||
## Installation
|
||||
|
||||
- Add this to your `server.cfg`:
|
||||
|
||||
```
|
||||
@@ -25,11 +27,13 @@ ensure esx_banking
|
||||
```
|
||||
|
||||
# Database
|
||||
|
||||
```
|
||||
Run the banking.sql into your database. Done.
|
||||
```
|
||||
|
||||
# If you want to create a bank log in another script, you can do it this way! Only server side!
|
||||
|
||||
```
|
||||
exports["esx_banking"]:logTransaction(source,logType,amount)
|
||||
|
||||
@@ -41,10 +45,12 @@ For example: exports["esx_banking"]:logTransaction(source,"WITHDRAW",200)
|
||||
```
|
||||
|
||||
# Legal
|
||||
|
||||
### License
|
||||
|
||||
esx_banking - banking script for ESX
|
||||
|
||||
Copyright (C) 2022 ESX-Framework
|
||||
Copyright (C) 2023 ESX-Framework
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -1,253 +1,260 @@
|
||||
local ActivateBlips = {}
|
||||
local PlayerLoaded = true
|
||||
local isInMarker, isInAtmMarker, isInMenu, isMarkerShowed = false, false, false, false
|
||||
local _GetEntityCoords, _PlayerPedId
|
||||
|
||||
-- Functions
|
||||
|
||||
-- Listen for keypress while player inside the marker
|
||||
local function Listen4Key()
|
||||
CreateThread(function()
|
||||
while (isInMarker or isInAtmMarker) and not isInMenu do
|
||||
if IsControlJustReleased(0, 38) then
|
||||
OpenUi(isInAtmMarker)
|
||||
end
|
||||
Wait(0)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
-- Create Blips
|
||||
local function CreateBlips()
|
||||
local tmpActiveBlips = {}
|
||||
for i = 1, #Config.Banks do
|
||||
if type(Config.Banks[i].Blip) == 'table' and Config.Banks[i].Blip.Enabled then
|
||||
local blip = AddBlipForCoord(Config.Banks[i].Position.xy)
|
||||
SetBlipSprite(blip, Config.Banks[i].Blip.Sprite)
|
||||
SetBlipScale(blip, Config.Banks[i].Blip.Scale)
|
||||
SetBlipColour(blip, Config.Banks[i].Blip.Color)
|
||||
SetBlipAsShortRange(blip, true)
|
||||
BeginTextCommandSetBlipName('STRING')
|
||||
AddTextComponentSubstringPlayerName(Config.Banks[i].Blip.Label)
|
||||
EndTextCommandSetBlipName(blip)
|
||||
tmpActiveBlips[#tmpActiveBlips + 1] = blip
|
||||
end
|
||||
end
|
||||
|
||||
ActivateBlips = tmpActiveBlips
|
||||
end
|
||||
|
||||
-- Remove blips
|
||||
local function RemoveBlips()
|
||||
for i = 1, #ActivateBlips do
|
||||
if DoesBlipExist(ActivateBlips[i]) then
|
||||
RemoveBlip(ActivateBlips[i])
|
||||
end
|
||||
end
|
||||
ActivateBlips = {}
|
||||
end
|
||||
|
||||
function OpenUi(atm)
|
||||
atm = atm or false
|
||||
isInMenu = true
|
||||
ESX.HideUI()
|
||||
ESX.TriggerServerCallback('esx_banking:getPlayerData', function(data)
|
||||
SendNUIMessage({
|
||||
showMenu = true,
|
||||
openATM = atm,
|
||||
datas = {
|
||||
your_money_panel = {
|
||||
accountsData = {{
|
||||
name = "cash",
|
||||
amount = data.money
|
||||
}, {
|
||||
name = "bank",
|
||||
amount = data.bankMoney
|
||||
}}
|
||||
},
|
||||
bankCardData = {
|
||||
bankName = TranslateCap('bank_name'),
|
||||
cardNumber = "2232 2222 2222 2222",
|
||||
createdDate = "08/08",
|
||||
name = data.playerName
|
||||
},
|
||||
transactionsData = data.transactionHistory
|
||||
}
|
||||
})
|
||||
end)
|
||||
SetNuiFocus(true, true)
|
||||
end
|
||||
|
||||
local function CloseUi()
|
||||
SetNuiFocus(false, false)
|
||||
isInMenu = false
|
||||
SendNUIMessage({
|
||||
showMenu = false
|
||||
})
|
||||
|
||||
if (isInMarker or isInAtmMarker) then
|
||||
ESX.TextUI(TranslateCap('press_e_banking'))
|
||||
Listen4Key()
|
||||
end
|
||||
end
|
||||
|
||||
local function ShowMarker(coord)
|
||||
CreateThread(function()
|
||||
while isMarkerShowed do
|
||||
DrawMarker(20, coord.x, coord.y, coord.z, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3, 0.2, 0.2, 187, 255, 0, 255, false, true, 2, false, nil, nil, false)
|
||||
Wait(0)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
local function StartThread()
|
||||
CreateThread(function()
|
||||
CreateBlips()
|
||||
|
||||
while PlayerLoaded do
|
||||
_PlayerPedId = PlayerPedId()
|
||||
_GetEntityCoords = GetEntityCoords(_PlayerPedId)
|
||||
|
||||
if IsPedOnFoot(PlayerPedId()) then
|
||||
local closestBank = {}
|
||||
|
||||
for i = 1, #Config.AtmModels do
|
||||
local atm = GetClosestObjectOfType(_GetEntityCoords, 8.0, Config.AtmModels[i], false)
|
||||
if atm ~= 0 then
|
||||
local atmOffset = GetOffsetFromEntityInWorldCoords(atm, 0.0, -0.7, 0.0)
|
||||
local atmDistance = #(_GetEntityCoords - atmOffset)
|
||||
if not isInAtmMarker and atmDistance <= 1.5 then
|
||||
isInAtmMarker = true
|
||||
ESX.TextUI(TranslateCap('press_e_banking'))
|
||||
Listen4Key()
|
||||
elseif isInAtmMarker and atmDistance > 1.5 then
|
||||
isInAtmMarker = false
|
||||
ESX.HideUI()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
for i = 1, #Config.Banks do
|
||||
local bankDistance = #(_GetEntityCoords - Config.Banks[i].Position.xyz)
|
||||
|
||||
if bankDistance <= Config.DrawMarker then
|
||||
closestBank = {Config.Banks[i].Position, bankDistance}
|
||||
end
|
||||
end
|
||||
|
||||
if not isMarkerShowed and next(closestBank) then
|
||||
isMarkerShowed = true
|
||||
ShowMarker(closestBank[1].xyz)
|
||||
elseif isMarkerShowed and not next(closestBank) then
|
||||
isMarkerShowed = false
|
||||
end
|
||||
|
||||
if next(closestBank) then
|
||||
if not isInMarker and closestBank[2] <= 1.0 then
|
||||
isInMarker = true
|
||||
ESX.TextUI(TranslateCap('press_e_banking'))
|
||||
Listen4Key()
|
||||
elseif isInMarker and closestBank[2] > 1.0 then
|
||||
isInMarker = false
|
||||
ESX.HideUI()
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
Wait(1000)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
-- NuiCallbacks
|
||||
RegisterNUICallback('close', function(data, cb)
|
||||
CloseUi()
|
||||
cb('ok')
|
||||
end)
|
||||
|
||||
RegisterNUICallback('clickButton', function(data, cb)
|
||||
if data ~= nil and isInMenu then
|
||||
TriggerServerEvent("esx_banking:doingType", data)
|
||||
end
|
||||
cb('ok')
|
||||
end)
|
||||
|
||||
RegisterNUICallback('checkPincode', function(data, cb)
|
||||
if data ~= nil and isInMenu then
|
||||
ESX.TriggerServerCallback("esx_banking:checkPincode", function(pincode)
|
||||
if pincode then
|
||||
cb({
|
||||
success = true
|
||||
})
|
||||
ESX.ShowNotification(TranslateCap('pincode_found'), "success")
|
||||
|
||||
else
|
||||
cb({
|
||||
error = true
|
||||
})
|
||||
ESX.ShowNotification(TranslateCap('pincode_not_found'), "error")
|
||||
end
|
||||
end, data)
|
||||
end
|
||||
end)
|
||||
|
||||
-- Events
|
||||
RegisterNetEvent('esx_banking:closebanking', function()
|
||||
CloseUi()
|
||||
end)
|
||||
|
||||
local function loadNPC(index, netID)
|
||||
CreateThread(function()
|
||||
while not NetworkDoesEntityExistWithNetworkId(netID) do
|
||||
Wait(200)
|
||||
end
|
||||
local npc = NetworkGetEntityFromNetworkId(netID)
|
||||
|
||||
TaskStartScenarioInPlace(npc, Config.Peds[index].Scenario, 0, true)
|
||||
SetEntityProofs(npc, true, true, true, true, true, true, true, true)
|
||||
SetBlockingOfNonTemporaryEvents(npc, true)
|
||||
FreezeEntityPosition(npc, true)
|
||||
SetPedCanRagdollFromPlayerImpact(npc, false)
|
||||
SetPedCanRagdoll(npc, false)
|
||||
SetEntityAsMissionEntity(npc, true, true)
|
||||
SetEntityDynamic(npc, false)
|
||||
end)
|
||||
end
|
||||
|
||||
RegisterNetEvent('esx_banking:PedHandler', function(netIdTable)
|
||||
for i = 1, #netIdTable do
|
||||
loadNPC(i, netIdTable[i])
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx_banking:updateMoneyInUI')
|
||||
AddEventHandler('esx_banking:updateMoneyInUI', function(doingType, bankMoney, money)
|
||||
SendNUIMessage({
|
||||
updateData = true,
|
||||
data = {
|
||||
type = doingType,
|
||||
bankMoney = bankMoney,
|
||||
money = money
|
||||
}
|
||||
})
|
||||
end)
|
||||
|
||||
-- Resource starting
|
||||
AddEventHandler('onResourceStart', function(resource)
|
||||
if resource ~= GetCurrentResourceName() then return end
|
||||
StartThread()
|
||||
end)
|
||||
|
||||
-- Enables it on player loaded
|
||||
RegisterNetEvent('esx:playerLoaded', function()
|
||||
StartThread()
|
||||
end)
|
||||
|
||||
-- Resource stopping
|
||||
AddEventHandler('onResourceStop', function(resource)
|
||||
if resource ~= GetCurrentResourceName() then return end
|
||||
RemoveBlips()
|
||||
if isInMenu then
|
||||
CloseUi()
|
||||
end
|
||||
end)
|
||||
local BANK = {
|
||||
Data = {}
|
||||
}
|
||||
|
||||
local activeBlips, bankPoints, atmPoints, markerPoints = {}, {}, {}, {}
|
||||
local playerLoaded, uiActive, inMenu = false, false, false
|
||||
|
||||
--Functions
|
||||
-- General data collecting thread
|
||||
function BANK:Thread()
|
||||
self:CreateBlips()
|
||||
local data = self.Data
|
||||
data.ped = PlayerPedId()
|
||||
data.coord = GetEntityCoords(data.Ped)
|
||||
playerLoaded = true
|
||||
|
||||
CreateThread(function ()
|
||||
while playerLoaded do
|
||||
data.coord = GetEntityCoords(data.ped)
|
||||
data.ped = PlayerPedId()
|
||||
bankPoints, atmPoints, markerPoints = {}, {}, {}
|
||||
|
||||
if (IsPedOnFoot(data.ped) and not ESX.PlayerData.dead) and not inMenu then
|
||||
for i = 1, #Config.AtmModels do
|
||||
local atm = GetClosestObjectOfType(data.coord.x, data.coord.y, data.coord.z, 0.7, Config.AtmModels[i], false, false, false)
|
||||
if atm ~= 0 then
|
||||
atmPoints[#atmPoints+1] = GetEntityCoords(atm)
|
||||
end
|
||||
end
|
||||
|
||||
for i = 1, #Config.Banks do
|
||||
local bankDistance = #(data.coord - Config.Banks[i].Position.xyz)
|
||||
if bankDistance <= 0.7 then
|
||||
bankPoints[#bankPoints+1] = Config.Banks[i].Position.xyz
|
||||
end
|
||||
if Config.ShowMarker and bankDistance <= (Config.DrawMarker or 10) then
|
||||
markerPoints[#markerPoints+1] = Config.Banks[i].Position.xyz
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if next(bankPoints) and not uiActive then
|
||||
self:TextUi(true)
|
||||
end
|
||||
|
||||
if next(atmPoints) and not uiActive then
|
||||
self:TextUi(true, true)
|
||||
end
|
||||
|
||||
if not next(bankPoints) and not next(atmPoints) and uiActive then
|
||||
self:TextUi(false)
|
||||
end
|
||||
|
||||
Wait(1000)
|
||||
end
|
||||
end)
|
||||
|
||||
if not Config.ShowMarker then return end
|
||||
|
||||
CreateThread(function()
|
||||
local wait = 1000
|
||||
while playerLoaded do
|
||||
if next(markerPoints) then
|
||||
for i = 1, #markerPoints do
|
||||
DrawMarker(20, markerPoints[i].x, markerPoints[i].y, markerPoints[i].z, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.3, 0.2, 0.2, 187, 255, 0, 255, false, true, 2, false, nil, nil, false)
|
||||
end
|
||||
wait = 0
|
||||
end
|
||||
Wait(wait)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
-- Handle text ui / Keypress
|
||||
function BANK:TextUi(state, atm)
|
||||
uiActive = state
|
||||
if not state then
|
||||
return ESX.HideUI()
|
||||
end
|
||||
ESX.TextUI(TranslateCap('press_e_banking'))
|
||||
CreateThread(function()
|
||||
while uiActive do
|
||||
if IsControlJustReleased(0, 38) then
|
||||
self:HandleUi(true, atm)
|
||||
self:TextUi(false)
|
||||
end
|
||||
Wait(0)
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
-- Create Blips
|
||||
function BANK:CreateBlips()
|
||||
local tmpActiveBlips = {}
|
||||
for i = 1, #Config.Banks do
|
||||
if type(Config.Banks[i].Blip) == 'table' and Config.Banks[i].Blip.Enabled then
|
||||
local position = Config.Banks[i].Position
|
||||
local bInfo = Config.Banks[i].Blip
|
||||
local blip = AddBlipForCoord(position.x, position.y, position.z)
|
||||
SetBlipSprite(blip, bInfo.Sprite)
|
||||
SetBlipScale(blip, bInfo.Scale)
|
||||
SetBlipColour(blip, bInfo.Color)
|
||||
SetBlipAsShortRange(blip, true)
|
||||
BeginTextCommandSetBlipName('STRING')
|
||||
AddTextComponentSubstringPlayerName(bInfo.Label)
|
||||
EndTextCommandSetBlipName(blip)
|
||||
tmpActiveBlips[#tmpActiveBlips + 1] = blip
|
||||
end
|
||||
end
|
||||
|
||||
activeBlips = tmpActiveBlips
|
||||
end
|
||||
|
||||
-- Remove blips
|
||||
function BANK:RemoveBlips()
|
||||
for i = 1, #activeBlips do
|
||||
if DoesBlipExist(activeBlips[i]) then
|
||||
RemoveBlip(activeBlips[i])
|
||||
end
|
||||
end
|
||||
activeBlips = {}
|
||||
end
|
||||
|
||||
-- Open / Close ui
|
||||
function BANK:HandleUi(state, atm)
|
||||
atm = atm or false
|
||||
SetNuiFocus(state, state)
|
||||
inMenu = state
|
||||
if not state then
|
||||
SendNUIMessage({
|
||||
showMenu = false
|
||||
})
|
||||
return
|
||||
end
|
||||
ESX.TriggerServerCallback('esx_banking:getPlayerData', function(data)
|
||||
SendNUIMessage({
|
||||
showMenu = true,
|
||||
openATM = atm,
|
||||
datas = {
|
||||
your_money_panel = {
|
||||
accountsData = {{
|
||||
name = "cash",
|
||||
amount = data.money
|
||||
}, {
|
||||
name = "bank",
|
||||
amount = data.bankMoney
|
||||
}}
|
||||
},
|
||||
bankCardData = {
|
||||
bankName = TranslateCap('bank_name'),
|
||||
cardNumber = "2232 2222 2222 2222",
|
||||
createdDate = "08/08",
|
||||
name = data.playerName
|
||||
},
|
||||
transactionsData = data.transactionHistory
|
||||
}
|
||||
})
|
||||
end)
|
||||
end
|
||||
|
||||
function BANK:LoadNpc(index, netID)
|
||||
CreateThread(function()
|
||||
while not NetworkDoesEntityExistWithNetworkId(netID) do
|
||||
Wait(200)
|
||||
end
|
||||
local npc = NetworkGetEntityFromNetworkId(netID)
|
||||
TaskStartScenarioInPlace(npc, Config.Peds[index].Scenario, 0, true)
|
||||
SetEntityProofs(npc, true, true, true, true, true, true, true, true)
|
||||
SetBlockingOfNonTemporaryEvents(npc, true)
|
||||
FreezeEntityPosition(npc, true)
|
||||
SetPedCanRagdollFromPlayerImpact(npc, false)
|
||||
SetPedCanRagdoll(npc, false)
|
||||
SetEntityAsMissionEntity(npc, true, true)
|
||||
SetEntityDynamic(npc, false)
|
||||
end)
|
||||
end
|
||||
|
||||
-- Events
|
||||
RegisterNetEvent('esx_banking:closebanking', function()
|
||||
BANK:HandleUi(false)
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx_banking:pedHandler', function(netIdTable)
|
||||
for i = 1, #netIdTable do
|
||||
BANK:LoadNpc(i, netIdTable[i])
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx_banking:updateMoneyInUI', function(doingType, bankMoney, money)
|
||||
SendNUIMessage({
|
||||
updateData = true,
|
||||
data = {
|
||||
type = doingType,
|
||||
bankMoney = bankMoney,
|
||||
money = money
|
||||
}
|
||||
})
|
||||
end)
|
||||
|
||||
-- Handlers
|
||||
-- Resource starting
|
||||
AddEventHandler('onResourceStart', function(resource)
|
||||
if resource ~= GetCurrentResourceName() then return end
|
||||
BANK:Thread()
|
||||
end)
|
||||
|
||||
-- Enable the script on player loaded
|
||||
RegisterNetEvent('esx:playerLoaded', function()
|
||||
BANK:Thread()
|
||||
end)
|
||||
|
||||
-- Disable the script on player logout
|
||||
RegisterNetEvent('esx:onPlayerLogout', function()
|
||||
playerLoaded = false
|
||||
end)
|
||||
|
||||
-- Resource stopping
|
||||
AddEventHandler('onResourceStop', function(resource)
|
||||
if resource ~= GetCurrentResourceName() then return end
|
||||
BANK:RemoveBlips()
|
||||
if uiActive then BANK:TextUi(false) end
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx:onPlayerDeath', function() BANK:TextUi(false) end)
|
||||
|
||||
-- Nui Callbacks
|
||||
RegisterNUICallback('close', function(data, cb)
|
||||
BANK:HandleUi(false)
|
||||
cb('ok')
|
||||
end)
|
||||
|
||||
RegisterNUICallback('clickButton', function(data, cb)
|
||||
if not data or not inMenu then
|
||||
return cb('ok')
|
||||
end
|
||||
|
||||
TriggerServerEvent("esx_banking:doingType", data)
|
||||
cb('ok')
|
||||
end)
|
||||
|
||||
RegisterNUICallback('checkPincode', function(data, cb)
|
||||
if not data or not inMenu then
|
||||
return cb('ok')
|
||||
end
|
||||
|
||||
ESX.TriggerServerCallback("esx_banking:checkPincode", function(pincode)
|
||||
if pincode then
|
||||
cb({
|
||||
success = true
|
||||
})
|
||||
ESX.ShowNotification(TranslateCap('pincode_found'), "success")
|
||||
|
||||
else
|
||||
cb({
|
||||
error = true
|
||||
})
|
||||
ESX.ShowNotification(TranslateCap('pincode_not_found'), "error")
|
||||
end
|
||||
end, data)
|
||||
end)
|
||||
@@ -1,6 +1,6 @@
|
||||
Config = {
|
||||
Debug = false,
|
||||
DrawMarker = 10,
|
||||
ShowMarker = true,
|
||||
Locale = GetConvar('esx:locale', 'en'),
|
||||
EnablePeds = true,
|
||||
AtmModels = {`prop_fleeca_atm`, `prop_atm_01`, `prop_atm_02`, `prop_atm_03`},
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
"amountLabel":"Amount",
|
||||
"timeLabel":"Time",
|
||||
"searchInputPlaceholder":"Search ...",
|
||||
"_comment": "tableFullLanguage options: English,Hungarian you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"_comment": "tableFullLanguage options: English, Hungarian, Italian, Spanish, French, you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"tableFullLanguage":"English"
|
||||
}
|
||||
}
|
||||
@@ -191,7 +191,7 @@
|
||||
"amountLabel":"Összeg",
|
||||
"timeLabel":"Idő",
|
||||
"searchInputPlaceholder":"Kereső ...",
|
||||
"_comment": "tableFullLanguage options: English,Hungarian you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"_comment": "tableFullLanguage options: English, Hungarian, Italian, Spanish, French, you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"tableFullLanguage":"Hungarian"
|
||||
}
|
||||
}
|
||||
@@ -288,7 +288,7 @@
|
||||
"amountLabel":"quantità",
|
||||
"timeLabel":"tempo",
|
||||
"searchInputPlaceholder":"Cerca ...",
|
||||
"_comment": "tabella Opzioni complete della lingua: inglese, ungherese, italiana puoi trovare qui tutte le lingue: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"_comment": "tabella Opzioni complete della lingua: inglese, ungherese, italiana, spagnolo, francese, puoi trovare qui tutte le lingue: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"tableFullLanguage":"Italian"
|
||||
}
|
||||
}
|
||||
@@ -385,9 +385,106 @@
|
||||
"amountLabel":"Importe",
|
||||
"timeLabel":"Tiempo",
|
||||
"searchInputPlaceholder":"Buscar...",
|
||||
"_comment": "tableFullLanguage options: English,Hungarian you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"_comment": "tableFullLanguage options: English, Hungarian, Italiano, Spanish, French, you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"tableFullLanguage":"Spanish"
|
||||
}
|
||||
}
|
||||
},
|
||||
"FR":{
|
||||
"DYNAMIC_FORM_DATA":[
|
||||
{
|
||||
"componentName":"moreGraph",
|
||||
"elementID":"#wrapper",
|
||||
"title":"",
|
||||
"closeButtonText":"Fermer",
|
||||
"bankTitle":"Banque Fleeca",
|
||||
"mainExitButtonText": "Déconnexion"
|
||||
},
|
||||
{
|
||||
"elementID":"#cpincode",
|
||||
"name":"cpincode",
|
||||
"buttonText":"Valider",
|
||||
"inputPlaceholder": "Entrez 4 chiffres...",
|
||||
"title":"CONFIGURATION DU PIN",
|
||||
"description": "Ici vous pouvez définir ou changer votre code PIN.",
|
||||
"type":"password"
|
||||
},
|
||||
{
|
||||
"elementID":"#withdraw",
|
||||
"name":"withdraw",
|
||||
"buttonText":"Valider",
|
||||
"inputPlaceholder": "Montant",
|
||||
"title":"RETIRER",
|
||||
"description": "Ici vous pouvez retirer votre argent de la banque.",
|
||||
"type":"number"
|
||||
},
|
||||
{
|
||||
"elementID":"#deposit",
|
||||
"name":"deposit",
|
||||
"buttonText":"Valider",
|
||||
"inputPlaceholder": "Montant",
|
||||
"title":"DEPOSIT",
|
||||
"description": "Ici, vous pouvez déposer votre argent à la banque.",
|
||||
"type":"number"
|
||||
},
|
||||
{
|
||||
"elementID":"#transfer",
|
||||
"name":"transfer",
|
||||
"buttonText":"Transférer",
|
||||
"inputPlaceholder": "Montant",
|
||||
"inputPlaceholder2": "ID du joueur",
|
||||
"title":"TRANSFERT",
|
||||
"description": "Ici, vous pouvez transférer votre argent à quelqu'un d'autre."
|
||||
},
|
||||
{
|
||||
"componentName":"trans",
|
||||
"elementID":"#third-column",
|
||||
"title":"HISTORIQUE DES TRANSACTIONS",
|
||||
"description": "Ici, vous pouvez voir votre historique de transactions.",
|
||||
"moreHistoryText": "Afficher plus d'historique",
|
||||
"moreGraphText": "Afficher plus de graphique"
|
||||
},
|
||||
{
|
||||
"componentName":"pincodePanel",
|
||||
"elementID":"#wrapper",
|
||||
"title":"Entrer le code PIN",
|
||||
"deleteButtonText": "<i class='fa-solid fa-ban'></i>",
|
||||
"loginButtonText": "<i class='fa-solid fa-right-to-bracket'></i>",
|
||||
"closeButtonText": "Fermer"
|
||||
},
|
||||
{
|
||||
"componentName":"atmComponent",
|
||||
"elementID":"#wrapper",
|
||||
"title":"Banque Fleeca",
|
||||
"closeButtonText":"Se déconnecter"
|
||||
}
|
||||
],
|
||||
"LAUNGAGE": {
|
||||
"your_money_title":"Solde",
|
||||
"your_money_desc":"Ici, vous pouvez voir votre solde actuel et votre argent en espèces.",
|
||||
"your_money_cash_label":"Votre argent en espèces",
|
||||
"your_money_bank_label":"Votre solde bancaire",
|
||||
"withdraw":"RETIRER",
|
||||
"deposit":"DÉPOSER",
|
||||
"transfer":"TRANSFERT",
|
||||
"transferReceive":"TRANSFERT REÇU",
|
||||
"moneyFormat":"$__replaceData__",
|
||||
"graphTitle":"Votre solde",
|
||||
"moreGraphTitle": "Grand graphique",
|
||||
"moreHistoryTitle":"Afficher plus",
|
||||
"inputErrorTitle":"Les données sont incorrectes",
|
||||
"inputErrorMessage":"Il ne peut pas être vide ou avoir une valeur inférieure à 1",
|
||||
"showPincodeErrorTitle":"Code PIN incorrect",
|
||||
"showPincodeErrorMessage":"Le code PIN doit avoir au moins 4 caractères!",
|
||||
"tableLang":{
|
||||
"typeLabel": "Type de transaction",
|
||||
"balanceLabel":"Solde",
|
||||
"amountLabel":"Montant",
|
||||
"timeLabel":"Temps",
|
||||
"searchInputPlaceholder":"Rechercher ...",
|
||||
"_comment": "Langue complète: Anglais, Hongrois, Italien, Espagnole Français, vous pouvez trouver ici toutes les langues: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
|
||||
"tableFullLanguage":"French"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
Locales['fr'] = {
|
||||
['invalid_amount'] = "Le montant est invalide.",
|
||||
['deposit_money'] = 'Tu as déposé $%s',
|
||||
['withdraw_money'] = 'Tu as retiré $%s',
|
||||
['pincode_money'] = 'Tu as défini un nouveau code PIN : %s',
|
||||
['transfer_money'] = 'Tu as transféré $%s à ID: %s',
|
||||
['receive_transfer'] = 'Tu as reçu $%s de ID: %s',
|
||||
['press_e_banking'] = 'Appuie sur [E] pour accéder a la banque.',
|
||||
['access_bank'] = 'Accéder à la banque',
|
||||
['banking_blip'] = 'Banque',
|
||||
['cant_do_it'] = "Tu ne peux pas faire ça!",
|
||||
['not_enough_money'] = "Tu n'as pas assez d'argent ! Tu as besoin de %s!",
|
||||
['pincode_not_found'] = "Code PIN invalide",
|
||||
['pincode_found'] = "Code PIN valide...",
|
||||
['bank_name'] = "Banque Fleeca"
|
||||
}
|
||||
@@ -24,7 +24,7 @@ end)
|
||||
|
||||
if Config.EnablePeds then
|
||||
AddEventHandler('esx:playerLoaded', function(playerId)
|
||||
TriggerClientEvent('esx_banking:PedHandler', playerId, netIdTable)
|
||||
TriggerClientEvent('esx_banking:pedHandler', playerId, netIdTable)
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_barbershop
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_barbershop Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_barbershop Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -31,7 +31,7 @@ start esx_barbershop
|
||||
### License
|
||||
esx_barbershop - barber shop!
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_basicneeds
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_basicneeds Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_basicneeds Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -34,7 +34,7 @@ start esx_basicneeds
|
||||
### License
|
||||
esx_basicneeds - thirst and hunger system
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
@@ -128,4 +128,4 @@ AddEventHandler('esx_basicneeds:onDrink', function(prop_name)
|
||||
prop_name = 'prop_ld_flow_bottle'
|
||||
end
|
||||
TriggerEvent('esx_basicneeds:onUse', 'drink', prop_name)
|
||||
end)
|
||||
end)
|
||||
@@ -632,7 +632,7 @@ state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
esx_billing
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -652,7 +652,7 @@ Also add information on how to contact you by electronic and paper mail.
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
esx_billing Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
esx_billing Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
@@ -48,7 +48,7 @@ end
|
||||
### License
|
||||
esx_billing - billing for ESX
|
||||
|
||||
Copyright (C) 2015-2022 Jérémie N'gadi
|
||||
Copyright (C) 2015-2023 Jérémie N'gadi
|
||||
|
||||
This program Is free software: you can redistribute it And/Or modify it under the terms Of the GNU General Public License As published by the Free Software Foundation, either version 3 Of the License, Or (at your option) any later version.
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user