+
+
+
+
diff --git a/[core]/esx_progressbar/nui/js/script.js b/[esx]/esx_progressbar/nui/js/script.js
similarity index 96%
rename from [core]/esx_progressbar/nui/js/script.js
rename to [esx]/esx_progressbar/nui/js/script.js
index e7acda3b..9e3fbe2a 100644
--- a/[core]/esx_progressbar/nui/js/script.js
+++ b/[esx]/esx_progressbar/nui/js/script.js
@@ -1,69 +1,69 @@
-const w = window
-const doc = document
-
-const codes = {
- "~r~": "red",
- "~b~": "#378cbf",
- "~g~": "green",
- "~y~": "yellow",
- "~p~": "purple",
- "~c~": "grey",
- "~m~": "#212121",
- "~u~": "black",
- "~o~": "orange"
-}
-
-$(function () {
- w.addEventListener('message', function(e) {
- if (e.data.type === "Progressbar") {
- var message = e.data.message
- const replaceColors = (str, obj) => {
- let strToReplace = str;
-
- for (let id in obj) {
- strToReplace = strToReplace.replace(new RegExp(id, "g"), obj[id]);
- }
-
- return strToReplace
- }
- for (color in codes) {
- if (message.includes(color)) {
- let objArr = {};
- objArr[color] = `
";
-
- let newStr = replaceColors(message, objArr);
-
- message = newStr
- }
- }
- $(".text").html(`
`)
- doc.getElementById("notifyInfo").style.display = "block";
- const start = new Date();
- const maxTime = e.data.length;
- const timeoutValue = Math.floor(maxTime/100);
- animUpdate();
-
- function updateProg(prc) {
- $("#progline").css("width", prc + "%");
- }
-
- function animUpdate() {
- const now = new Date();
- const timeoutDiff = now.getTime() - start.getTime();
- const prc = Math.round((timeoutDiff/maxTime)*100);
- if (prc <= 100) {
- updateProg(prc);
- this.timeoutID = setTimeout(animUpdate, timeoutValue);
- } else {
- doc.getElementById('notifyInfo').style.display = "none";
- }
- }
- } else {
- doc.getElementById("notifyInfo").style.display = "none"
- clearTimeout(this.timeoutID);
- timeoutValue = 0;
-
- }
- })
-})
+const w = window
+const doc = document
+
+const codes = {
+ "~r~": "red",
+ "~b~": "#378cbf",
+ "~g~": "green",
+ "~y~": "yellow",
+ "~p~": "purple",
+ "~c~": "grey",
+ "~m~": "#212121",
+ "~u~": "black",
+ "~o~": "orange"
+}
+
+$(function () {
+ w.addEventListener('message', function(e) {
+ if (e.data.type === "Progressbar") {
+ var message = e.data.message
+ const replaceColors = (str, obj) => {
+ let strToReplace = str;
+
+ for (let id in obj) {
+ strToReplace = strToReplace.replace(new RegExp(id, "g"), obj[id]);
+ }
+
+ return strToReplace
+ }
+ for (color in codes) {
+ if (message.includes(color)) {
+ let objArr = {};
+ objArr[color] = `
";
+
+ let newStr = replaceColors(message, objArr);
+
+ message = newStr
+ }
+ }
+ $(".text").html(`
`)
+ doc.getElementById("notifyInfo").style.display = "block";
+ const start = new Date();
+ const maxTime = e.data.length;
+ const timeoutValue = Math.floor(maxTime/100);
+ animUpdate();
+
+ function updateProg(prc) {
+ $("#progline").css("width", prc + "%");
+ }
+
+ function animUpdate() {
+ const now = new Date();
+ const timeoutDiff = now.getTime() - start.getTime();
+ const prc = Math.round((timeoutDiff/maxTime)*100);
+ if (prc <= 100) {
+ updateProg(prc);
+ this.timeoutID = setTimeout(animUpdate, timeoutValue);
+ } else {
+ doc.getElementById('notifyInfo').style.display = "none";
+ }
+ }
+ } else {
+ doc.getElementById("notifyInfo").style.display = "none"
+ clearTimeout(this.timeoutID);
+ timeoutValue = 0;
+
+ }
+ })
+})
diff --git a/[core]/esx_progressbar/readme.md b/[esx]/esx_progressbar/readme.md
similarity index 100%
rename from [core]/esx_progressbar/readme.md
rename to [esx]/esx_progressbar/readme.md
diff --git a/[core]/esx_skin/.editorconfig b/[esx]/esx_skin/.editorconfig
similarity index 100%
rename from [core]/esx_skin/.editorconfig
rename to [esx]/esx_skin/.editorconfig
diff --git a/[core]/esx_skin/LICENSE b/[esx]/esx_skin/LICENSE
similarity index 100%
rename from [core]/esx_skin/LICENSE
rename to [esx]/esx_skin/LICENSE
diff --git a/[core]/esx_skin/README.md b/[esx]/esx_skin/README.md
similarity index 100%
rename from [core]/esx_skin/README.md
rename to [esx]/esx_skin/README.md
diff --git a/[core]/esx_skin/client/main.lua b/[esx]/esx_skin/client/main.lua
similarity index 100%
rename from [core]/esx_skin/client/main.lua
rename to [esx]/esx_skin/client/main.lua
diff --git a/[core]/esx_skin/config.lua b/[esx]/esx_skin/config.lua
similarity index 100%
rename from [core]/esx_skin/config.lua
rename to [esx]/esx_skin/config.lua
diff --git a/[core]/esx_skin/esx_skin.sql b/[esx]/esx_skin/esx_skin.sql
similarity index 100%
rename from [core]/esx_skin/esx_skin.sql
rename to [esx]/esx_skin/esx_skin.sql
diff --git a/[core]/esx_skin/fxmanifest.lua b/[esx]/esx_skin/fxmanifest.lua
similarity index 100%
rename from [core]/esx_skin/fxmanifest.lua
rename to [esx]/esx_skin/fxmanifest.lua
diff --git a/[core]/esx_skin/locales/br.lua b/[esx]/esx_skin/locales/br.lua
similarity index 100%
rename from [core]/esx_skin/locales/br.lua
rename to [esx]/esx_skin/locales/br.lua
diff --git a/[core]/esx_skin/locales/de.lua b/[esx]/esx_skin/locales/de.lua
similarity index 100%
rename from [core]/esx_skin/locales/de.lua
rename to [esx]/esx_skin/locales/de.lua
diff --git a/[core]/esx_skin/locales/en.lua b/[esx]/esx_skin/locales/en.lua
similarity index 100%
rename from [core]/esx_skin/locales/en.lua
rename to [esx]/esx_skin/locales/en.lua
diff --git a/[core]/esx_skin/locales/es.lua b/[esx]/esx_skin/locales/es.lua
similarity index 100%
rename from [core]/esx_skin/locales/es.lua
rename to [esx]/esx_skin/locales/es.lua
diff --git a/[core]/esx_skin/locales/fi.lua b/[esx]/esx_skin/locales/fi.lua
similarity index 100%
rename from [core]/esx_skin/locales/fi.lua
rename to [esx]/esx_skin/locales/fi.lua
diff --git a/[core]/esx_skin/locales/fr.lua b/[esx]/esx_skin/locales/fr.lua
similarity index 100%
rename from [core]/esx_skin/locales/fr.lua
rename to [esx]/esx_skin/locales/fr.lua
diff --git a/[core]/esx_skin/locales/hu.lua b/[esx]/esx_skin/locales/hu.lua
similarity index 100%
rename from [core]/esx_skin/locales/hu.lua
rename to [esx]/esx_skin/locales/hu.lua
diff --git a/[core]/esx_skin/locales/it.lua b/[esx]/esx_skin/locales/it.lua
similarity index 100%
rename from [core]/esx_skin/locales/it.lua
rename to [esx]/esx_skin/locales/it.lua
diff --git a/[core]/esx_skin/locales/nl.lua b/[esx]/esx_skin/locales/nl.lua
similarity index 100%
rename from [core]/esx_skin/locales/nl.lua
rename to [esx]/esx_skin/locales/nl.lua
diff --git a/[core]/esx_skin/locales/pl.lua b/[esx]/esx_skin/locales/pl.lua
similarity index 100%
rename from [core]/esx_skin/locales/pl.lua
rename to [esx]/esx_skin/locales/pl.lua
diff --git a/[core]/esx_skin/locales/sv.lua b/[esx]/esx_skin/locales/sv.lua
similarity index 100%
rename from [core]/esx_skin/locales/sv.lua
rename to [esx]/esx_skin/locales/sv.lua
diff --git a/[core]/esx_skin/locales/tr.lua b/[esx]/esx_skin/locales/tr.lua
similarity index 100%
rename from [core]/esx_skin/locales/tr.lua
rename to [esx]/esx_skin/locales/tr.lua
diff --git a/[core]/esx_skin/server/main.lua b/[esx]/esx_skin/server/main.lua
similarity index 100%
rename from [core]/esx_skin/server/main.lua
rename to [esx]/esx_skin/server/main.lua
diff --git a/[core]/esx_textui/LICENSE b/[esx]/esx_textui/LICENSE
similarity index 100%
rename from [core]/esx_textui/LICENSE
rename to [esx]/esx_textui/LICENSE
diff --git a/[core]/esx_textui/TextUI.lua b/[esx]/esx_textui/TextUI.lua
similarity index 100%
rename from [core]/esx_textui/TextUI.lua
rename to [esx]/esx_textui/TextUI.lua
diff --git a/[core]/esx_textui/fxmanifest.lua b/[esx]/esx_textui/fxmanifest.lua
similarity index 100%
rename from [core]/esx_textui/fxmanifest.lua
rename to [esx]/esx_textui/fxmanifest.lua
diff --git a/[core]/esx_textui/nui/css/style.css b/[esx]/esx_textui/nui/css/style.css
similarity index 100%
rename from [core]/esx_textui/nui/css/style.css
rename to [esx]/esx_textui/nui/css/style.css
diff --git a/[core]/esx_textui/nui/index.html b/[esx]/esx_textui/nui/index.html
similarity index 100%
rename from [core]/esx_textui/nui/index.html
rename to [esx]/esx_textui/nui/index.html
diff --git a/[core]/esx_textui/nui/js/script.js b/[esx]/esx_textui/nui/js/script.js
similarity index 100%
rename from [core]/esx_textui/nui/js/script.js
rename to [esx]/esx_textui/nui/js/script.js
diff --git a/[core]/esx_textui/readme.md b/[esx]/esx_textui/readme.md
similarity index 100%
rename from [core]/esx_textui/readme.md
rename to [esx]/esx_textui/readme.md
diff --git a/[core]/skinchanger/LICENSE b/[esx]/skinchanger/LICENSE
similarity index 100%
rename from [core]/skinchanger/LICENSE
rename to [esx]/skinchanger/LICENSE
diff --git a/[core]/skinchanger/README.md b/[esx]/skinchanger/README.md
similarity index 100%
rename from [core]/skinchanger/README.md
rename to [esx]/skinchanger/README.md
diff --git a/[core]/skinchanger/client/main.lua b/[esx]/skinchanger/client/main.lua
similarity index 100%
rename from [core]/skinchanger/client/main.lua
rename to [esx]/skinchanger/client/main.lua
diff --git a/[core]/skinchanger/config.lua b/[esx]/skinchanger/config.lua
similarity index 100%
rename from [core]/skinchanger/config.lua
rename to [esx]/skinchanger/config.lua
diff --git a/[core]/skinchanger/fxmanifest.lua b/[esx]/skinchanger/fxmanifest.lua
similarity index 100%
rename from [core]/skinchanger/fxmanifest.lua
rename to [esx]/skinchanger/fxmanifest.lua
diff --git a/[core]/skinchanger/locales/br.lua b/[esx]/skinchanger/locales/br.lua
similarity index 100%
rename from [core]/skinchanger/locales/br.lua
rename to [esx]/skinchanger/locales/br.lua
diff --git a/[core]/skinchanger/locales/de.lua b/[esx]/skinchanger/locales/de.lua
similarity index 100%
rename from [core]/skinchanger/locales/de.lua
rename to [esx]/skinchanger/locales/de.lua
diff --git a/[core]/skinchanger/locales/en.lua b/[esx]/skinchanger/locales/en.lua
similarity index 100%
rename from [core]/skinchanger/locales/en.lua
rename to [esx]/skinchanger/locales/en.lua
diff --git a/[core]/skinchanger/locales/es.lua b/[esx]/skinchanger/locales/es.lua
similarity index 100%
rename from [core]/skinchanger/locales/es.lua
rename to [esx]/skinchanger/locales/es.lua
diff --git a/[core]/skinchanger/locales/fi.lua b/[esx]/skinchanger/locales/fi.lua
similarity index 100%
rename from [core]/skinchanger/locales/fi.lua
rename to [esx]/skinchanger/locales/fi.lua
diff --git a/[core]/skinchanger/locales/fr.lua b/[esx]/skinchanger/locales/fr.lua
similarity index 100%
rename from [core]/skinchanger/locales/fr.lua
rename to [esx]/skinchanger/locales/fr.lua
diff --git a/[core]/skinchanger/locales/hu.lua b/[esx]/skinchanger/locales/hu.lua
similarity index 100%
rename from [core]/skinchanger/locales/hu.lua
rename to [esx]/skinchanger/locales/hu.lua
diff --git a/[core]/skinchanger/locales/it.lua b/[esx]/skinchanger/locales/it.lua
similarity index 100%
rename from [core]/skinchanger/locales/it.lua
rename to [esx]/skinchanger/locales/it.lua
diff --git a/[core]/skinchanger/locales/pl.lua b/[esx]/skinchanger/locales/pl.lua
similarity index 100%
rename from [core]/skinchanger/locales/pl.lua
rename to [esx]/skinchanger/locales/pl.lua
diff --git a/[core]/skinchanger/locales/sv.lua b/[esx]/skinchanger/locales/sv.lua
similarity index 100%
rename from [core]/skinchanger/locales/sv.lua
rename to [esx]/skinchanger/locales/sv.lua
diff --git a/[core]/skinchanger/locales/tr.lua b/[esx]/skinchanger/locales/tr.lua
similarity index 100%
rename from [core]/skinchanger/locales/tr.lua
rename to [esx]/skinchanger/locales/tr.lua
diff --git a/[esx_addons]/esx_accessories/.editorconfig b/[esx_addons]/esx_accessories/.editorconfig
new file mode 100644
index 00000000..9b425256
--- /dev/null
+++ b/[esx_addons]/esx_accessories/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+indent_size = 4
+indent_style = tab
+end_of_line = crlf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
\ No newline at end of file
diff --git a/[esx_addons]/esx_accessories/.gitattributes b/[esx_addons]/esx_accessories/.gitattributes
new file mode 100644
index 00000000..eba1110b
--- /dev/null
+++ b/[esx_addons]/esx_accessories/.gitattributes
@@ -0,0 +1,2 @@
+# Auto detect text files and perform LF normalization
+* text=auto
\ No newline at end of file
diff --git a/[esx_addons]/esx_accessories/LICENSE b/[esx_addons]/esx_accessories/LICENSE
new file mode 100644
index 00000000..08caf3c7
--- /dev/null
+++ b/[esx_addons]/esx_accessories/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+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-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
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see
.
+
+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-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.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+
.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+
.
\ No newline at end of file
diff --git a/[esx_addons]/esx_accessories/README.md b/[esx_addons]/esx_accessories/README.md
new file mode 100644
index 00000000..2ed2e25f
--- /dev/null
+++ b/[esx_addons]/esx_accessories/README.md
@@ -0,0 +1,22 @@
+[ESX] Accessories
Discord - Website - Documentation
+
+Shops with accessories (hat/helmet, glasses, masks, ears accessories). You can put on or take off the accessories with a menu. Accessories saved in database.
+
+> Note: Works only with accessories purchased in the special areas of the clothing store, not via the esx_clotheshop script.
+
+## Requirements
+
+- [esx_skin](https://github.com/esx-framework/esx-legacy/tree/main/%5Besx%5D/esx_skin)
+- [esx_datastore](https://github.com/esx-framework/esx-legacy/tree/main/%5Besx_addons%5D/esx_datastore)
+
+## Legal
+
+esx_accessories - accessories 4 you!
+
+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.
+
+This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
+
+You should have received a copy Of the GNU General Public License along with this program. If Not, see .
diff --git a/[esx_addons]/esx_accessories/client/main.lua b/[esx_addons]/esx_accessories/client/main.lua
new file mode 100644
index 00000000..47305223
--- /dev/null
+++ b/[esx_addons]/esx_accessories/client/main.lua
@@ -0,0 +1,234 @@
+local HasAlreadyEnteredMarker = false
+local LastZone, CurrentAction, CurrentActionMsg
+local CurrentActionData = {}
+
+function OpenAccessoryMenu()
+ local elements = {
+ {unselectable = true, icon = "fas fa-user", title = TranslateCap('set_unset')},
+ {icon = "fas fa-hat-cowboy", title = TranslateCap("helmet"), value = "Helmet"},
+ {icon = "fas fa-deaf", title = TranslateCap("ears"), value = "Ears"},
+ {icon = "fas fa-mask", title = TranslateCap("mask"), value = "Mask"},
+ {icon = "fas fa-glasses", title = TranslateCap("glasses"), value = "Glasses"}
+ }
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ SetUnsetAccessory(element.value)
+ end)
+end
+
+function SetUnsetAccessory(accessory)
+ ESX.TriggerServerCallback('esx_accessories:get', function(hasAccessory, accessorySkin)
+ local _accessory = string.lower(accessory)
+
+ if hasAccessory then
+ TriggerEvent('skinchanger:getSkin', function(skin)
+ local mAccessory = -1
+ local mColor = 0
+
+ if _accessory == "mask" then
+ mAccessory = 0
+ end
+
+ if skin[_accessory .. '_1'] == mAccessory then
+ mAccessory = accessorySkin[_accessory .. '_1']
+ mColor = accessorySkin[_accessory .. '_2']
+ end
+
+ local accessorySkin = {}
+ accessorySkin[_accessory .. '_1'] = mAccessory
+ accessorySkin[_accessory .. '_2'] = mColor
+ TriggerEvent('skinchanger:loadClothes', skin, accessorySkin)
+ end)
+ else
+ ESX.ShowNotification(TranslateCap('no_' .. _accessory))
+ end
+ end, accessory)
+end
+
+function OpenShopMenu(accessory)
+ local _accessory = string.lower(accessory)
+ local restrict = {}
+
+ restrict = { _accessory .. '_1', _accessory .. '_2' }
+
+ TriggerEvent('esx_skin:openRestrictedMenu', function(data, menu)
+
+ menu.close()
+ local elements = {
+ {unselectable = true, icon = "fas fa-check-double", title = TranslateCap('valid_purchase')},
+ {icon = "fas fa-check-circle", title = TranslateCap("yes", ESX.Math.GroupDigits(Config.Price)), value = "yes"},
+ {icon = "fas fa-window-close", title = TranslateCap("no"), value = "no"}
+ }
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.value == "yes" then
+ ESX.TriggerServerCallback('esx_accessories:checkMoney', function(hasEnoughMoney)
+ if hasEnoughMoney then
+ ESX.CloseContext()
+ TriggerServerEvent('esx_accessories:pay')
+ TriggerEvent('skinchanger:getSkin', function(skin)
+ TriggerServerEvent('esx_accessories:save', skin, accessory)
+ end)
+ else
+ ESX.CloseContext()
+ local player = PlayerPedId()
+ TriggerEvent('esx_skin:getLastSkin', function(skin)
+ TriggerEvent('skinchanger:loadSkin', skin)
+ end)
+ if accessory == "Ears" then
+ ClearPedProp(player, 2)
+ elseif accessory == "Mask" then
+ SetPedComponentVariation(player, 1, 0 ,0, 2)
+ elseif accessory == "Helmet" then
+ ClearPedProp(player, 0)
+ elseif accessory == "Glasses" then
+ SetPedPropIndex(player, 1, -1, 0, 0)
+ end
+ ESX.ShowNotification(TranslateCap('not_enough_money'))
+ end
+ end)
+ elseif element.value == "no" then
+ local player = PlayerPedId()
+ TriggerEvent('esx_skin:getLastSkin', function(skin)
+ TriggerEvent('skinchanger:loadSkin', skin)
+ end)
+ if accessory == "Ears" then
+ ClearPedProp(player, 2)
+ elseif accessory == "Mask" then
+ SetPedComponentVariation(player, 1, 0 ,0, 2)
+ elseif accessory == "Helmet" then
+ ClearPedProp(player, 0)
+ elseif accessory == "Glasses" then
+ SetPedPropIndex(player, 1, -1, 0, 0)
+ end
+
+ ESX.CloseContext()
+ end
+ CurrentAction = 'shop_menu'
+ CurrentActionMsg = TranslateCap('press_access')
+ CurrentActionData = {}
+ end, function(menu)
+ CurrentAction = 'shop_menu'
+ CurrentActionMsg = TranslateCap('press_access')
+ CurrentActionData = {}
+ end)
+ end, function(data, menu)
+ menu.close()
+ CurrentAction = 'shop_menu'
+ CurrentActionMsg = TranslateCap('press_access')
+ CurrentActionData = {}
+ end, restrict)
+end
+
+AddEventHandler('esx_accessories:hasEnteredMarker', function(zone)
+ CurrentAction = 'shop_menu'
+ CurrentActionMsg = TranslateCap('press_access')
+ CurrentActionData = { accessory = zone }
+end)
+
+AddEventHandler('esx_accessories:hasExitedMarker', function(zone)
+ ESX.CloseContext()
+ CurrentAction = nil
+end)
+
+-- Create Blips --
+CreateThread(function()
+ for k,v in pairs(Config.ShopsBlips) do
+ if v.Pos then
+ for i=1, #v.Pos, 1 do
+ local blip = AddBlipForCoord(v.Pos[i])
+
+ SetBlipSprite (blip, v.Blip.sprite)
+ SetBlipDisplay(blip, 4)
+ SetBlipScale (blip, 1.0)
+ SetBlipColour (blip, v.Blip.color)
+ SetBlipAsShortRange(blip, true)
+
+ BeginTextCommandSetBlipName("STRING")
+ AddTextComponentSubstringPlayerName(TranslateCap('shop', TranslateCap(string.lower(k))))
+ EndTextCommandSetBlipName(blip)
+ end
+ end
+ end
+end)
+
+local nearMarker = false
+-- Display markers
+CreateThread(function()
+ while true do
+ local sleep = 1500
+ local coords = GetEntityCoords(PlayerPedId())
+ for k,v in pairs(Config.Zones) do
+ for i = 1, #v.Pos, 1 do
+ if(Config.Type ~= -1 and #(coords - v.Pos[i]) < Config.DrawDistance) then
+ DrawMarker(Config.Type, v.Pos[i], 0.0, 0.0, 0.0, 0, 0.0, 0.0, Config.Size.x, Config.Size.y, Config.Size.z, Config.Color.r, Config.Color.g, Config.Color.b, 255, true, false, 2, true, false, false, false)
+ sleep = 0
+ break
+ end
+ end
+ end
+ if sleep == 0 then nearMarker = true else nearMarker = false end
+ Wait(sleep)
+ end
+end)
+
+CreateThread(function()
+ while true do
+ local sleep = 1500
+ if nearMarker then
+ sleep = 0
+ local coords = GetEntityCoords(PlayerPedId())
+ local isInMarker = false
+ local currentZone = nil
+ for k,v in pairs(Config.Zones) do
+ for i = 1, #v.Pos, 1 do
+ if #(coords - v.Pos[i]) < Config.Size.x then
+ isInMarker = true
+ currentZone = k
+ break
+ end
+ end
+ end
+
+ if (isInMarker and not HasAlreadyEnteredMarker) or (isInMarker and LastZone ~= currentZone) then
+ HasAlreadyEnteredMarker = true
+ LastZone = currentZone
+ TriggerEvent('esx_accessories:hasEnteredMarker', currentZone)
+ end
+
+ if not isInMarker and HasAlreadyEnteredMarker then
+ HasAlreadyEnteredMarker = false
+ TriggerEvent('esx_accessories:hasExitedMarker', LastZone)
+ end
+ end
+ Wait(sleep)
+ end
+end)
+
+-- Key controls
+CreateThread(function()
+ while true do
+ local Sleep = 1500
+
+ if CurrentAction then
+ Sleep = 0
+ ESX.ShowHelpNotification(CurrentActionMsg)
+
+ if IsControlJustReleased(0, 38) and CurrentActionData.accessory then
+ OpenShopMenu(CurrentActionData.accessory)
+ CurrentAction = nil
+ end
+ end
+ Wait(Sleep)
+ end
+end)
+
+if Config.EnableControls then
+ RegisterCommand("accessory", function(src)
+ if not ESX.PlayerData.dead then
+ OpenAccessoryMenu()
+ end
+ end)
+
+ RegisterKeyMapping("accessory", "Open Accessory Menu", "keyboard", "k")
+end
diff --git a/[esx_addons]/esx_accessories/config.lua b/[esx_addons]/esx_accessories/config.lua
new file mode 100644
index 00000000..2cf115df
--- /dev/null
+++ b/[esx_addons]/esx_accessories/config.lua
@@ -0,0 +1,97 @@
+Config = {}
+
+Config.Locale = GetConvar('esx:locale', 'en')
+
+Config.Price = 100
+
+Config.EnableControls = true
+
+Config.DrawDistance = 10
+Config.Size = {x = 1.5, y = 1.5, z = 1.0}
+Config.Color = {r = 50, g = 200, b = 50}
+Config.Type = 1
+
+-- Fill this if you want to see the blips,
+-- If you have esx_clothesshop you should not fill this
+-- more than it's already filled.
+Config.ShopsBlips = {
+ -- Ears = {
+ -- Pos = nil,
+ -- Blip = nil
+ -- },
+ Mask = {
+ Pos = {
+ vector3(-1338.1, -1278.2, 3.8),
+ },
+ Blip = {sprite = 362, color = 2}
+ },
+ -- Helmet = {
+ -- Pos = nil,
+ -- Blip = nil
+ -- },
+ -- Glasses = {
+ -- Pos = nil,
+ -- Blip = nil
+ -- }
+}
+
+Config.Zones = {
+ Ears = {
+ Pos = {
+ vector3(80.3, -1389.4, 28.4),
+ vector3(-163.0, -302.0, 38.8),
+ vector3(-163.0,-302.0, 38.8),
+ vector3(420.7, -809.6, 28.6),
+ vector3(-817.0, -1075.9, 10.4),
+ vector3(-1451.3, -238.2, 48.9),
+ vector3(-0.7, 6513.6, 30.9),
+ vector3(123.4, -208.0, 53.6),
+ vector3(1687.3, 4827.6, 41.1),
+ vector3(622.8, 2749.2, 41.2),
+ vector3(1200.0, 2705.4, 37.3),
+ vector3(-1199.9, -782.5, 16.4),
+ vector3(-3171.8, 1059.6, 19.9),
+ vector3(-1095.6, 2709.2, 18.2),
+ }},
+
+ Mask = {
+ Pos = {
+ vector3(-1338.1, -1278.2, 3.8),
+ }},
+
+ Helmet = {
+ Pos = {
+ vector3(81.5, -1400.6, 28.4),
+ vector3(-705.8, -159.0, 36.5),
+ vector3(-161.3, -295.7, 38.8),
+ vector3(419.3, -800.6, 28.6),
+ vector3(-824.3, -1081.7, 10.4),
+ vector3(-1454.8, -242.9, 48.9),
+ vector3(4.7, 6520.9, 30.9),
+ vector3(121.0, -223.2, 53.3),
+ vector3(1689.6, 4818.8, 41.1),
+ vector3(613.9, 2749.9, 41.2),
+ vector3(1189.5, 2703.9, 37.3),
+ vector3(-1204.0, -774.4, 16.4),
+ vector3(-3164.2, 1054.7, 19.9),
+ vector3(-1103.1, 2700.5, 18.2),
+ }},
+
+ Glasses = {
+ Pos = {
+ vector3(75.2, -1391.1, 28.4),
+ vector3(-713.1, -160.1, 36.5),
+ vector3(-156.1, -300.5, 38.8),
+ vector3(425.4, -807.8, 28.6),
+ vector3(-820.8, -1072.9, 10.4),
+ vector3(-1458.0, -236.7, 48.9),
+ vector3(3.5, 6511.5, 30.9),
+ vector3(131.3, -212.3, 53.6),
+ vector3(1694.9, 4820.8, 41.1),
+ vector3(613.9, 2768.8, 41.2),
+ vector3(1198.6, 2711.0, 37.3),
+ vector3(-1188.2, -764.5, 16.4),
+ vector3(-3173.1, 1038.2, 19.9),
+ vector3(-1100.4, 2712.4, 18.2),
+ }}
+}
diff --git a/[esx_addons]/esx_accessories/esx_accessories.sql b/[esx_addons]/esx_accessories/esx_accessories.sql
new file mode 100644
index 00000000..9b48fc80
--- /dev/null
+++ b/[esx_addons]/esx_accessories/esx_accessories.sql
@@ -0,0 +1,6 @@
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('user_ears', 'Ears', 0),
+ ('user_glasses', 'Glasses', 0),
+ ('user_helmet', 'Helmet', 0),
+ ('user_mask', 'Mask', 0)
+;
diff --git a/[esx_addons]/esx_accessories/fxmanifest.lua b/[esx_addons]/esx_accessories/fxmanifest.lua
new file mode 100644
index 00000000..62a23bbd
--- /dev/null
+++ b/[esx_addons]/esx_accessories/fxmanifest.lua
@@ -0,0 +1,28 @@
+fx_version 'adamant'
+
+game 'gta5'
+
+description 'ESX Accessories'
+lua54 'yes'
+version '1.9.0'
+
+shared_scripts {
+ '@es_extended/imports.lua',
+ '@es_extended/locale.lua',
+ 'locales/*.lua',
+ 'config.lua'
+}
+
+server_scripts {
+ 'server/main.lua'
+}
+
+client_scripts {
+ 'client/main.lua'
+}
+
+dependencies {
+ 'es_extended',
+ 'esx_skin',
+ 'esx_datastore'
+}
diff --git a/[esx_addons]/esx_accessories/locales/cs.lua b/[esx_addons]/esx_accessories/locales/cs.lua
new file mode 100644
index 00000000..60511d03
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/cs.lua
@@ -0,0 +1,19 @@
+Locales ['cs'] = {
+ ['valid_purchase'] = 'ověřit nákup?',
+ ['yes'] = 'ano ($%s)',
+ ['no'] = 'ne',
+ ['helmet'] = 'helma / Čepice',
+ ['glasses'] = 'brýle',
+ ['mask'] = 'maska',
+ ['ears'] = 'doplňky na uši',
+ ['shop'] = '%s obchod',
+ ['set_unset'] = 'nasadit / Sundat',
+ ['not_enough_money'] = 'nemáte dostatek peněz',
+ ['press_access'] = 'zmáčkněte [E] pro otevření menu',
+ ['accessories_blip'] = 'doplňky',
+ ['no_ears'] = 'nemáte doplňky na uši',
+ ['no_glasses'] = 'nemáte brýle',
+ ['no_helmet'] = 'nemáte helmu',
+ ['no_mask'] = 'nemáte masku',
+ ['you_paid'] = 'zaplatili jste $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/de.lua b/[esx_addons]/esx_accessories/locales/de.lua
new file mode 100644
index 00000000..65f84446
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/de.lua
@@ -0,0 +1,19 @@
+Locales ['de'] = {
+ ['valid_purchase'] = 'Diesen Kauf bestätigen?',
+ ['yes'] = 'Ja ($%s)',
+ ['no'] = 'Nein',
+ ['helmet'] = 'Helm / Hut',
+ ['glasses'] = 'Brillen',
+ ['mask'] = 'Maske',
+ ['ears'] = 'Zubehör für die Ohren',
+ ['shop'] = '%s Laden',
+ ['set_unset'] = 'Anziehen / Ausziehen',
+ ['not_enough_money'] = 'Du besitzt nicht genügend Geld',
+ ['press_access'] = 'Drücke [E] um auf das Menü zuzugreifen',
+ ['accessories_blip'] = 'Zubehör',
+ ['no_ears'] = 'Sie besitzen kein Zubehör für die Ohren',
+ ['no_glasses'] = 'Sie besitzen keine Brille',
+ ['no_helmet'] = 'Sie besitzen kein Helm',
+ ['no_mask'] = 'Sie besitzen keine Maske',
+ ['you_paid'] = 'Sie bezahlten $%s',
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_accessories/locales/en.lua b/[esx_addons]/esx_accessories/locales/en.lua
new file mode 100644
index 00000000..dddb522f
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/en.lua
@@ -0,0 +1,19 @@
+Locales ['en'] = {
+ ['valid_purchase'] = 'validate this purchase?',
+ ['yes'] = 'yes ($%s)',
+ ['no'] = 'no',
+ ['helmet'] = 'helmet / Hat',
+ ['glasses'] = 'glasses',
+ ['mask'] = 'mask',
+ ['ears'] = 'ears accessories',
+ ['shop'] = '%s shop',
+ ['set_unset'] = 'put on / Take off',
+ ['not_enough_money'] = 'you do not have enough money',
+ ['press_access'] = 'press [E] to access the menu',
+ ['accessories_blip'] = 'accessories',
+ ['no_ears'] = 'you do not have ears accessories',
+ ['no_glasses'] = 'you do not have glasses',
+ ['no_helmet'] = 'you do not have a helmet',
+ ['no_mask'] = 'you do not have a mask',
+ ['you_paid'] = 'you paid $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/es.lua b/[esx_addons]/esx_accessories/locales/es.lua
new file mode 100644
index 00000000..917d84a8
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/es.lua
@@ -0,0 +1,19 @@
+Locales ['es'] = {
+ ['valid_purchase'] = '¿Validar la compra?',
+ ['yes'] = 'Si (%s$)',
+ ['no'] = 'No',
+ ['helmet'] = 'Casco / Gorra',
+ ['glasses'] = 'Gafas',
+ ['mask'] = 'Máscara',
+ ['ears'] = 'Accesorio de oreja',
+ ['shop'] = 'Tienda %s',
+ ['set_unset'] = 'Ponerse / Quitarse',
+ ['not_enough_money'] = '~r~No tienes suficiente dinero',
+ ['press_access'] = 'Pulsa [E] para acceder al menú',
+ ['accessories_blip'] = 'Accesorios',
+ ['no_ears'] = 'No tienes ningún accesorio de oreja',
+ ['no_glasses'] = 'No tienes ningunas gafas',
+ ['no_helmet'] = 'No tienes ningún casco',
+ ['no_mask'] = 'No tienes ninguna máscara',
+ ['you_paid'] = 'Pagaste %s$',
+}
diff --git a/[esx_addons]/esx_accessories/locales/et.lua b/[esx_addons]/esx_accessories/locales/et.lua
new file mode 100644
index 00000000..734b1089
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/et.lua
@@ -0,0 +1,19 @@
+Locales ['et'] = {
+ ['valid_purchase'] = 'Kinnita ost?',
+ ['yes'] = 'Jah ($%s)',
+ ['no'] = 'Ei',
+ ['helmet'] = 'Kiiver / Müts',
+ ['glasses'] = 'Prillid',
+ ['mask'] = 'Mask',
+ ['ears'] = 'Kõrvarõngad',
+ ['shop'] = '%s Pood',
+ ['set_unset'] = 'Pane selga / Võta seljast',
+ ['not_enough_money'] = 'Sul pole piisavalt raha',
+ ['press_access'] = 'Vajuta [E], et avada menüü',
+ ['accessories_blip'] = 'Aksessuaarid',
+ ['no_ears'] = 'Sul pole kõrvarõngaid',
+ ['no_glasses'] = 'Sul pole prille',
+ ['no_helmet'] = 'Sul pole kiivrit',
+ ['no_mask'] = 'Sul pole maski',
+ ['you_paid'] = 'Sa maksid $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/fi.lua b/[esx_addons]/esx_accessories/locales/fi.lua
new file mode 100644
index 00000000..12b6e897
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/fi.lua
@@ -0,0 +1,19 @@
+Locales ['fi'] = {
+ ['valid_purchase'] = 'varmista ostos?',
+ ['yes'] = 'kyllä ($%s)',
+ ['no'] = 'ei',
+ ['helmet'] = 'kypärä / Hattu',
+ ['glasses'] = 'lasit',
+ ['mask'] = 'maskit',
+ ['ears'] = 'korva asusteet',
+ ['shop'] = '%s asustekauppa',
+ ['set_unset'] = 'laita päälle / Ota pois',
+ ['not_enough_money'] = 'sinulla ei ole tarpeeksi rahaa',
+ ['press_access'] = 'paina [E] avataksesi menu',
+ ['accessories_blip'] = 'asusteet',
+ ['no_ears'] = 'sinulla ei ole korva asusteita',
+ ['no_glasses'] = 'sinulla ei ole laseja',
+ ['no_helmet'] = 'sinulla ei ole kypäriä',
+ ['no_mask'] = 'sinulla ei ole maskeja',
+ ['you_paid'] = 'sinä maksoit $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/fr.lua b/[esx_addons]/esx_accessories/locales/fr.lua
new file mode 100644
index 00000000..fda53502
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/fr.lua
@@ -0,0 +1,19 @@
+Locales ['fr'] = {
+ ['valid_purchase'] = 'valider cet achat?',
+ ['yes'] = 'oui ($%s)',
+ ['no'] = 'non',
+ ['helmet'] = 'casque / Chapeau',
+ ['glasses'] = 'lunettes',
+ ['mask'] = 'masque',
+ ['ears'] = 'accessoires d\'oreilles',
+ ['shop'] = ' Magasin de %s',
+ ['set_unset'] = 'mettre / Enlever',
+ ['not_enough_money'] = 'vous n\'avez pas assez d\'argent',
+ ['press_access'] = 'appuyez sur [E] pour accéder au menu',
+ ['accessories_blip'] = 'accessoires',
+ ['no_ears'] = 'vous n\'avez pas d\'accessoires d\'oreilles',
+ ['no_glasses'] = 'vous n\'avez pas de lunettes',
+ ['no_helmet'] = 'vous n\'avez pas de casque / chapeau',
+ ['no_mask'] = 'vous n\'avez pas de masque',
+ ['you_paid'] = 'vous avez payé $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/hu.lua b/[esx_addons]/esx_accessories/locales/hu.lua
new file mode 100644
index 00000000..fcc170bf
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/hu.lua
@@ -0,0 +1,19 @@
+Locales ['hu'] = {
+ ['valid_purchase'] = 'Biztosan megveszed?',
+ ['yes'] = 'Igen ($%s)',
+ ['no'] = 'Nem',
+ ['helmet'] = 'sisak / kalap',
+ ['glasses'] = 'szemüveg',
+ ['mask'] = 'maszk',
+ ['ears'] = 'fül tartozékok',
+ ['shop'] = '%s bolt',
+ ['set_unset'] = 'Felvenni / Levenni',
+ ['not_enough_money'] = 'Nincsen elég pénzed',
+ ['press_access'] = 'Nyomj [E] hogy megnyisd a kiegészítöket',
+ ['accessories_blip'] = 'Kiegészítők',
+ ['no_ears'] = 'Nincsen fülbevalód',
+ ['no_glasses'] = 'Nincsen szemüveged',
+ ['no_helmet'] = 'Nincsen sapkád',
+ ['no_mask'] = 'Nincsen maszkod',
+ ['you_paid'] = 'Fizettél $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/it.lua b/[esx_addons]/esx_accessories/locales/it.lua
new file mode 100644
index 00000000..f38b7e50
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/it.lua
@@ -0,0 +1,19 @@
+Locales ['it'] = {
+ ['valid_purchase'] = 'confermare l\'acquisto?',
+ ['yes'] = 'si ($%s)',
+ ['no'] = 'no',
+ ['helmet'] = 'casco / cappello',
+ ['glasses'] = 'occhiali',
+ ['mask'] = 'maschera',
+ ['ears'] = 'accessori per le orecchie',
+ ['shop'] = '%s negozio',
+ ['set_unset'] = 'indossare / togliere',
+ ['not_enough_money'] = 'non hai abbastanza soldi',
+ ['press_access'] = 'premi [E] per accedere al menu',
+ ['accessories_blip'] = 'accessori',
+ ['no_ears'] = 'non hai accessori per le orecchie',
+ ['no_glasses'] = 'non hai gli occhiali',
+ ['no_helmet'] = 'non hai il casco',
+ ['no_mask'] = 'non hai una maschera',
+ ['you_paid'] = 'hai pagato $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/nl.lua b/[esx_addons]/esx_accessories/locales/nl.lua
new file mode 100644
index 00000000..0f93879c
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/nl.lua
@@ -0,0 +1,19 @@
+Locales ['nl'] = {
+ ['valid_purchase'] = 'kopen?',
+ ['yes'] = 'ja ($%s)',
+ ['no'] = 'nee',
+ ['helmet'] = 'Helm / Hoed',
+ ['glasses'] = 'Brillen',
+ ['mask'] = 'Masker',
+ ['ears'] = 'Oor accessories',
+ ['shop'] = '%s Winkel',
+ ['set_unset'] = 'Doe aan / doe uit',
+ ['not_enough_money'] = 'Je hebt niet genoeg geld',
+ ['press_access'] = 'Druk op [E] om het menu te openen',
+ ['accessories_blip'] = 'Accessories',
+ ['no_ears'] = 'Je hebt geen oor accessories',
+ ['no_glasses'] = 'je hebt geen brillen',
+ ['no_helmet'] = 'je hebt geen helm',
+ ['no_mask'] = 'je hebt geen masker',
+ ['you_paid'] = 'je betaalde $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/pl.lua b/[esx_addons]/esx_accessories/locales/pl.lua
new file mode 100644
index 00000000..c84e9aeb
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/pl.lua
@@ -0,0 +1,19 @@
+Locales ['pl'] = {
+ ['valid_purchase'] = 'czy napewno chcesz to zakupić?',
+ ['yes'] = 'tak (%s $)',
+ ['no'] = 'nie',
+ ['helmet'] = 'hełm / Czapka',
+ ['glasses'] = 'okulary',
+ ['mask'] = 'maska',
+ ['ears'] = 'akcesoria uszu',
+ ['shop'] = 'sklep %s ',
+ ['set_unset'] = 'załóż / Zdejmij',
+ ['not_enough_money'] = 'nie masz wystarczająco pieniędzy',
+ ['press_access'] = 'wciśnij [E] aby otworzyć menu',
+ ['accessories_blip'] = 'akcesoria',
+ ['no_ears'] = 'nie posiadasz akcesorii uszu',
+ ['no_glasses'] = 'nie posiadasz okularów',
+ ['no_helmet'] = 'nie posiadasz nakrycia głowy',
+ ['no_mask'] = 'nie posiadasz maski',
+ ['you_paid'] = 'płacisz %s $',
+}
diff --git a/[esx_addons]/esx_accessories/locales/ru.lua b/[esx_addons]/esx_accessories/locales/ru.lua
new file mode 100644
index 00000000..a4fe7a56
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/ru.lua
@@ -0,0 +1,19 @@
+Locales ['ru'] = {
+ ['valid_purchase'] = 'Подтверждаете покупку',
+ ['yes'] = 'Да ($%s)',
+ ['no'] = 'Нет',
+ ['helmet'] = 'Шлем / Шапка',
+ ['glasses'] = 'Очки',
+ ['mask'] = 'Маска',
+ ['ears'] = 'Аксессуары для ушей',
+ ['shop'] = 'Магазин %s',
+ ['set_unset'] = 'Положить / Снять',
+ ['not_enough_money'] = 'У вас не достаточно денег',
+ ['press_access'] = 'Нажмите [E] для доступа к меню',
+ ['accessories_blip'] = 'Аксессуары',
+ ['no_ears'] = 'У вас нет аксессуаров для ушей',
+ ['no_glasses'] = 'У вас нет очков',
+ ['no_helmet'] = 'У вас нет шлема',
+ ['no_mask'] = 'У вас нет маски',
+ ['you_paid'] = 'Вы заплатили $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/si.lua b/[esx_addons]/esx_accessories/locales/si.lua
new file mode 100644
index 00000000..56419907
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/si.lua
@@ -0,0 +1,19 @@
+Locales ['si'] = {
+ ['valid_purchase'] = 'Potrdite ta nakup?',
+ ['yes'] = 'Da ($%s)',
+ ['no'] = 'Ne',
+ ['helmet'] = 'Celada / Kapa',
+ ['glasses'] = 'Ocala',
+ ['mask'] = 'Maska',
+ ['ears'] = 'Usesni dodatki',
+ ['shop'] = '%s trgovina',
+ ['set_unset'] = 'Daj gor / Vzemi dol',
+ ['not_enough_money'] = 'Nimas dovolj denarja',
+ ['press_access'] = 'Pritisni [E] za dostop do menuja',
+ ['accessories_blip'] = 'Dodatki',
+ ['no_ears'] = 'Nimas usesnih dodatkov',
+ ['no_glasses'] = 'Nimas ocal',
+ ['no_helmet'] = 'Nimas celade',
+ ['no_mask'] = 'Nimas maske',
+ ['you_paid'] = 'Placal si $%s',
+}
diff --git a/[esx_addons]/esx_accessories/locales/sv.lua b/[esx_addons]/esx_accessories/locales/sv.lua
new file mode 100644
index 00000000..decfee36
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/sv.lua
@@ -0,0 +1,19 @@
+Locales ['sv'] = {
+ ['valid_purchase'] = 'Bekräfta köp?',
+ ['yes'] = 'Ja (%s SEK)',
+ ['no'] = 'Nej',
+ ['helmet'] = 'Hjälm / hatt',
+ ['glasses'] = 'Glasögon',
+ ['mask'] = 'Mask',
+ ['ears'] = 'Öron tillbehör',
+ ['shop'] = '%s affär',
+ ['set_unset'] = 'Ta på / av',
+ ['not_enough_money'] = 'Du har inte tillräckligt med pengar',
+ ['press_access'] = 'Tryck [E] för att komma åt menyn',
+ ['accessories_blip'] = 'Tillbehör',
+ ['no_ears'] = 'Du har inga örontillbehör',
+ ['no_glasses'] = 'Du har inga glasögon',
+ ['no_helmet'] = 'Du har ingen hjälm',
+ ['no_mask'] = 'Du har ingen mask',
+ ['you_paid'] = 'Du betalade %s SEK',
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_accessories/locales/tr.lua b/[esx_addons]/esx_accessories/locales/tr.lua
new file mode 100644
index 00000000..d8331070
--- /dev/null
+++ b/[esx_addons]/esx_accessories/locales/tr.lua
@@ -0,0 +1,19 @@
+Locales ['tr'] = {
+ ['valid_purchase'] = 'Bunu satın almak istiyor musun?',
+ ['yes'] = 'evet ($%s)',
+ ['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',
+}
diff --git a/[esx_addons]/esx_accessories/server/main.lua b/[esx_addons]/esx_accessories/server/main.lua
new file mode 100644
index 00000000..8f867f46
--- /dev/null
+++ b/[esx_addons]/esx_accessories/server/main.lua
@@ -0,0 +1,43 @@
+RegisterServerEvent('esx_accessories:pay')
+AddEventHandler('esx_accessories:pay', function()
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ xPlayer.removeMoney(Config.Price, "Accessory Purchase")
+ TriggerClientEvent('esx:showNotification', source, TranslateCap('you_paid', ESX.Math.GroupDigits(Config.Price)))
+end)
+
+RegisterServerEvent('esx_accessories:save')
+AddEventHandler('esx_accessories:save', function(skin, accessory)
+ local source = source
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ TriggerEvent('esx_datastore:getDataStore', 'user_' .. string.lower(accessory), xPlayer.identifier, function(store)
+ store.set('has' .. accessory, true)
+
+ local itemSkin = {}
+ local item1 = string.lower(accessory) .. '_1'
+ local item2 = string.lower(accessory) .. '_2'
+ itemSkin[item1] = skin[item1]
+ itemSkin[item2] = skin[item2]
+
+ store.set('skin', itemSkin)
+ end)
+end)
+
+ESX.RegisterServerCallback('esx_accessories:get', function(source, cb, accessory)
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ TriggerEvent('esx_datastore:getDataStore', 'user_' .. string.lower(accessory), xPlayer.identifier, function(store)
+ local hasAccessory = (store.get('has' .. accessory) and store.get('has' .. accessory) or false)
+ local skin = (store.get('skin') and store.get('skin') or {})
+
+ cb(hasAccessory, skin)
+ end)
+
+end)
+
+ESX.RegisterServerCallback('esx_accessories:checkMoney', function(source, cb)
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ cb(xPlayer.getMoney() >= Config.Price)
+end)
diff --git a/[esx_addons]/esx_addonaccount/.editorconfig b/[esx_addons]/esx_addonaccount/.editorconfig
new file mode 100644
index 00000000..9b425256
--- /dev/null
+++ b/[esx_addons]/esx_addonaccount/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+indent_size = 4
+indent_style = tab
+end_of_line = crlf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
\ No newline at end of file
diff --git a/[esx_addons]/esx_addonaccount/LICENSE b/[esx_addons]/esx_addonaccount/LICENSE
new file mode 100644
index 00000000..b7ae27ce
--- /dev/null
+++ b/[esx_addons]/esx_addonaccount/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+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-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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+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-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.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/[esx_addons]/esx_addonaccount/README.md b/[esx_addons]/esx_addonaccount/README.md
new file mode 100644
index 00000000..c11c2243
--- /dev/null
+++ b/[esx_addons]/esx_addonaccount/README.md
@@ -0,0 +1,40 @@
+[ESX] Addon Account
Discord - Website - Documentation
+
+Special Accounts System to store money.
+
+# Usage
+
+There is two types of accounts: shared and not shared.
+
+- Shared accounts doesn't belong to a specific user. Example: society accounts.
+- None-shared accounts are created for every user in the server. They are created in db when player is loaded, Example: property black money
+
+## `addon_account` database information
+
+An addon account must be configured in the database before using it. Don't forget to run a server restart afterwards (you can alternative restart the script and relog all clients)
+
+| `name` | `label` | `shared` |
+| -------- | ------- | -------- |
+| name of the account | label of the account (not used) | is the account shared with others? (boolean either `0` or `1`) |
+
+```lua
+TriggerEvent('esx_addonaccount:getSharedAccount', 'society_realestateagent', function(account)
+ account.addMoney(500)
+end)
+
+TriggerEvent('esx_addonaccount:getAccount', 'property_black_money', 'steam:0123456789', function(account)
+ account.removeMoney(500)
+end)
+```
+
+# Legal
+
+esx_addonaccount - addon account for ESX
+
+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.
+
+This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
+
+You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.
diff --git a/[esx_addons]/esx_addonaccount/esx_addonaccount.sql b/[esx_addons]/esx_addonaccount/esx_addonaccount.sql
new file mode 100644
index 00000000..8f766473
--- /dev/null
+++ b/[esx_addons]/esx_addonaccount/esx_addonaccount.sql
@@ -0,0 +1,22 @@
+
+
+CREATE TABLE `addon_account` (
+ `name` VARCHAR(60) NOT NULL,
+ `label` VARCHAR(100) NOT NULL,
+ `shared` INT NOT NULL,
+
+ PRIMARY KEY (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+
+
+CREATE TABLE `addon_account_data` (
+ `id` INT NOT NULL AUTO_INCREMENT,
+ `account_name` VARCHAR(100) DEFAULT NULL,
+ `money` INT NOT NULL,
+ `owner` VARCHAR(60) DEFAULT NULL,
+
+ PRIMARY KEY (`id`),
+ UNIQUE INDEX `index_addon_account_data_account_name_owner` (`account_name`, `owner`),
+ INDEX `index_addon_account_data_account_name` (`account_name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+
diff --git a/[esx_addons]/esx_addonaccount/fxmanifest.lua b/[esx_addons]/esx_addonaccount/fxmanifest.lua
new file mode 100644
index 00000000..863c314d
--- /dev/null
+++ b/[esx_addons]/esx_addonaccount/fxmanifest.lua
@@ -0,0 +1,17 @@
+fx_version 'adamant'
+
+game 'gta5'
+
+author 'ESX-Framework'
+description 'ESX Addon Account'
+lua54 'yes'
+version '1.9.0'
+
+server_scripts {
+ '@es_extended/imports.lua',
+ '@oxmysql/lib/MySQL.lua',
+ 'server/classes/addonaccount.lua',
+ 'server/main.lua'
+}
+
+dependency 'es_extended'
diff --git a/[esx_addons]/esx_addonaccount/server/classes/addonaccount.lua b/[esx_addons]/esx_addonaccount/server/classes/addonaccount.lua
new file mode 100644
index 00000000..2364409d
--- /dev/null
+++ b/[esx_addons]/esx_addonaccount/server/classes/addonaccount.lua
@@ -0,0 +1,36 @@
+function CreateAddonAccount(name, owner, money)
+ local self = {}
+
+ self.name = name
+ self.owner = owner
+ self.money = money
+
+ function self.addMoney(m)
+ self.money = self.money + m
+ self.save()
+ TriggerEvent('esx_addonaccount:addMoney', self.name, m)
+ end
+
+ function self.removeMoney(m)
+ self.money = self.money - m
+ self.save()
+ TriggerEvent('esx_addonaccount:removeMoney', self.name, m)
+ end
+
+ function self.setMoney(m)
+ self.money = m
+ self.save()
+ TriggerEvent('esx_addonaccount:setMoney', self.name, m)
+ end
+
+ function self.save()
+ if self.owner == nil then
+ MySQL.update('UPDATE addon_account_data SET money = ? WHERE account_name = ?', {self.money, self.name})
+ else
+ MySQL.update('UPDATE addon_account_data SET money = ? WHERE account_name = ? AND owner = ?', {self.money, self.name, self.owner})
+ end
+ TriggerClientEvent('esx_addonaccount:setMoney', -1, self.name, self.money)
+ end
+
+ return self
+end
diff --git a/[esx_addons]/esx_addonaccount/server/main.lua b/[esx_addons]/esx_addonaccount/server/main.lua
new file mode 100644
index 00000000..39a580fe
--- /dev/null
+++ b/[esx_addons]/esx_addonaccount/server/main.lua
@@ -0,0 +1,73 @@
+local AccountsIndex, Accounts, SharedAccounts = {}, {}, {}
+
+AddEventHandler('onResourceStart', function(resourceName)
+ if resourceName == GetCurrentResourceName() then
+ local accounts = MySQL.query.await('SELECT * FROM addon_account LEFT JOIN addon_account_data ON addon_account.name = addon_account_data.account_name UNION SELECT * FROM addon_account RIGHT JOIN addon_account_data ON addon_account.name = addon_account_data.account_name')
+
+ local newAccounts = {}
+ for i = 1, #accounts do
+ local account = accounts[i]
+ if account.shared == 0 then
+ if not Accounts[account.name] then
+ AccountsIndex[#AccountsIndex + 1] = account.name
+ Accounts[account.name] = {}
+ end
+ Accounts[account.name][#Accounts[account.name] + 1] = CreateAddonAccount(account.name, account.owner, account.money)
+ else
+ if account.money then
+ SharedAccounts[account.name] = CreateAddonAccount(account.name, nil, account.money)
+ else
+ newAccounts[#newAccounts + 1] = {account.name, 0}
+ end
+ end
+ end
+
+ if next(newAccounts) then
+ MySQL.prepare('INSERT INTO addon_account_data (account_name, money) VALUES (?, ?)', newAccounts)
+ for i = 1, #newAccounts do
+ local newAccount = newAccounts[i]
+ SharedAccounts[newAccount[1]] = CreateAddonAccount(newAccount[1], nil, 0)
+ end
+ end
+ end
+end)
+
+function GetAccount(name, owner)
+ for i=1, #Accounts[name], 1 do
+ if Accounts[name][i].owner == owner then
+ return Accounts[name][i]
+ end
+ end
+end
+
+function GetSharedAccount(name)
+ return SharedAccounts[name]
+end
+
+AddEventHandler('esx_addonaccount:getAccount', function(name, owner, cb)
+ cb(GetAccount(name, owner))
+end)
+
+AddEventHandler('esx_addonaccount:getSharedAccount', function(name, cb)
+ cb(GetSharedAccount(name))
+end)
+
+AddEventHandler('esx:playerLoaded', function(playerId, xPlayer)
+ local addonAccounts = {}
+
+ for i=1, #AccountsIndex, 1 do
+ local name = AccountsIndex[i]
+ local account = GetAccount(name, xPlayer.identifier)
+
+ if account == nil then
+ MySQL.insert('INSERT INTO addon_account_data (account_name, money, owner) VALUES (?, ?, ?)', {name, 0, xPlayer.identifier})
+
+ account = CreateAddonAccount(name, xPlayer.identifier, 0)
+ Accounts[name][#Accounts[name] + 1] = account
+ end
+
+ addonAccounts[#addonAccounts + 1] = account
+ end
+
+ xPlayer.set('addonAccounts', addonAccounts)
+end)
diff --git a/[esx_addons]/esx_addoninventory/.editorconfig b/[esx_addons]/esx_addoninventory/.editorconfig
new file mode 100644
index 00000000..9b425256
--- /dev/null
+++ b/[esx_addons]/esx_addoninventory/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+indent_size = 4
+indent_style = tab
+end_of_line = crlf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
\ No newline at end of file
diff --git a/[esx_addons]/esx_addoninventory/LICENSE b/[esx_addons]/esx_addoninventory/LICENSE
new file mode 100644
index 00000000..20f597d2
--- /dev/null
+++ b/[esx_addons]/esx_addoninventory/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+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-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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+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-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.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/[esx_addons]/esx_addoninventory/README.md b/[esx_addons]/esx_addoninventory/README.md
new file mode 100644
index 00000000..f3ecab51
--- /dev/null
+++ b/[esx_addons]/esx_addoninventory/README.md
@@ -0,0 +1,61 @@
+# esx_addoninventory
+
+## Download & Installation
+
+### Using [fvm](https://github.com/qlaffont/fvm-installer)
+```
+fvm install --save --folder=esx esx-org/esx_addoninventory
+```
+
+### Using Git
+```
+cd resources
+git clone https://github.com/ESX-Org/esx_addoninventory [esx]/esx_addoninventory
+```
+
+### Manually
+- Download https://github.com/ESX-Org/esx_addoninventory/archive/master.zip
+- Put it in the `[esx]` directory
+
+## Installation
+- Import `esx_addoninventory.sql` in your database
+- Add this in your `server.cfg`:
+
+```
+start esx_addoninventory
+```
+
+## Usage
+There are two types of inventories: shared and not shared.
+
+- Shared inventories don't belong to a specific user. Example: foodstore items.
+- None-shared inventories are created for every user in the server. They are created in db when player is loaded, Example: property items
+
+### `addon_inventory` database information
+An addon inventory must be configured in the database before using it. Don't forget to run a server restart afterwards (you can alternative restart the script and relog all clients)
+
+| `name` | `label` | `shared` |
+| -------- | ------- | -------- |
+| name of the inventory | label of the inventory (not used) | is the inventory shared with others? (boolean either `0` or `1`) |
+
+```lua
+TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
+ inventory.addItem('bread', 1)
+end)
+
+TriggerEvent('esx_addoninventory:getInventory', 'property', 'steam:0123456789', function(inventory)
+ inventory.removeItem('water', 1)
+end)
+
+```
+# Legal
+### License
+esx_addoninventory - inventories!
+
+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.
+
+This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
+
+You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.
\ No newline at end of file
diff --git a/[esx_addons]/esx_addoninventory/esx_addoninventory.sql b/[esx_addons]/esx_addoninventory/esx_addoninventory.sql
new file mode 100644
index 00000000..ed102240
--- /dev/null
+++ b/[esx_addons]/esx_addoninventory/esx_addoninventory.sql
@@ -0,0 +1,24 @@
+
+
+CREATE TABLE `addon_inventory` (
+ `name` VARCHAR(60) NOT NULL,
+ `label` VARCHAR(100) NOT NULL,
+ `shared` INT NOT NULL,
+
+ PRIMARY KEY (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+
+
+CREATE TABLE `addon_inventory_items` (
+ `id` INT NOT NULL AUTO_INCREMENT,
+ `inventory_name` VARCHAR(100) NOT NULL,
+ `name` VARCHAR(100) NOT NULL,
+ `count` INT NOT NULL,
+ `owner` VARCHAR(60) DEFAULT NULL,
+
+ PRIMARY KEY (`id`),
+ INDEX `index_addon_inventory_items_inventory_name_name` (`inventory_name`, `name`),
+ INDEX `index_addon_inventory_items_inventory_name_name_owner` (`inventory_name`, `name`, `owner`),
+ INDEX `index_addon_inventory_inventory_name` (`inventory_name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
+
diff --git a/[esx_addons]/esx_addoninventory/fxmanifest.lua b/[esx_addons]/esx_addoninventory/fxmanifest.lua
new file mode 100644
index 00000000..a2dc2fdf
--- /dev/null
+++ b/[esx_addons]/esx_addoninventory/fxmanifest.lua
@@ -0,0 +1,16 @@
+fx_version 'adamant'
+
+game 'gta5'
+
+description 'ESX Addon Inventory'
+lua54 'yes'
+version '1.9.0'
+
+server_scripts {
+ '@es_extended/imports.lua',
+ '@oxmysql/lib/MySQL.lua',
+ 'server/classes/addoninventory.lua',
+ 'server/main.lua'
+}
+
+dependency 'es_extended'
diff --git a/[esx_addons]/esx_addoninventory/server/classes/addoninventory.lua b/[esx_addons]/esx_addoninventory/server/classes/addoninventory.lua
new file mode 100644
index 00000000..d5148f40
--- /dev/null
+++ b/[esx_addons]/esx_addoninventory/server/classes/addoninventory.lua
@@ -0,0 +1,83 @@
+function CreateAddonInventory(name, owner, items)
+ local self = {}
+
+ self.name = name
+ self.owner = owner
+ self.items = items
+
+ function self.addItem(name, count)
+ local item = self.getItem(name)
+ item.count = item.count + count
+ Wait(100)
+ self.saveItem(name, item.count)
+ end
+
+ function self.removeItem(name, count)
+ local item = self.getItem(name)
+ item.count = item.count - count
+
+ self.saveItem(name, item.count)
+ end
+
+ function self.setItem(name, count)
+ local item = self.getItem(name)
+ item.count = count
+
+ self.saveItem(name, item.count)
+ end
+
+ function self.getItem(name)
+ for i=1, #self.items, 1 do
+ if self.items[i].name == name then
+ return self.items[i]
+ end
+ end
+
+ item = {
+ name = name,
+ count = 0,
+ label = Items[name]
+ }
+
+ table.insert(self.items, item)
+
+ if self.owner == nil then
+ MySQL.update('INSERT INTO addon_inventory_items (inventory_name, name, count) VALUES (@inventory_name, @item_name, @count)',
+ {
+ ['@inventory_name'] = self.name,
+ ['@item_name'] = name,
+ ['@count'] = 0
+ })
+ else
+ MySQL.update('INSERT INTO addon_inventory_items (inventory_name, name, count, owner) VALUES (@inventory_name, @item_name, @count, @owner)',
+ {
+ ['@inventory_name'] = self.name,
+ ['@item_name'] = name,
+ ['@count'] = 0,
+ ['@owner'] = self.owner
+ })
+ end
+
+ return item
+ end
+
+ function self.saveItem(name, count)
+ if self.owner == nil then
+ MySQL.update('UPDATE addon_inventory_items SET count = @count WHERE inventory_name = @inventory_name AND name = @item_name', {
+ ['@inventory_name'] = self.name,
+ ['@item_name'] = name,
+ ['@count'] = count
+ })
+ else
+ MySQL.update('UPDATE addon_inventory_items SET count = @count WHERE inventory_name = @inventory_name AND name = @item_name AND owner = @owner', {
+ ['@inventory_name'] = self.name,
+ ['@item_name'] = name,
+ ['@count'] = count,
+ ['@owner'] = self.owner
+ })
+ end
+ end
+
+ return self
+end
+
diff --git a/[esx_addons]/esx_addoninventory/server/main.lua b/[esx_addons]/esx_addoninventory/server/main.lua
new file mode 100644
index 00000000..3ed154f0
--- /dev/null
+++ b/[esx_addons]/esx_addoninventory/server/main.lua
@@ -0,0 +1,119 @@
+if ESX.GetConfig().OxInventory then
+ AddEventHandler('onServerResourceStart', function(resourceName)
+ if resourceName == 'ox_inventory' or resourceName == GetCurrentResourceName() then
+ local stashes = MySQL.query.await('SELECT * FROM addon_inventory')
+
+ for i=1, #stashes do
+ local stash = stashes[i]
+ local jobStash = stash.name:find('society') and string.sub(stash.name, 9)
+ exports.ox_inventory:RegisterStash(stash.name, stash.label, 100, 200000, stash.shared == 0 and true or false, jobStash)
+ end
+ end
+ end)
+
+ return
+end
+
+Items = {}
+local InventoriesIndex, Inventories, SharedInventories = {}, {}, {}
+
+MySQL.ready(function()
+ local items = MySQL.query.await('SELECT * FROM items')
+
+ for i=1, #items, 1 do
+ Items[items[i].name] = items[i].label
+ end
+
+ local result = MySQL.query.await('SELECT * FROM addon_inventory')
+
+ for i=1, #result, 1 do
+ local name = result[i].name
+ local label = result[i].label
+ local shared = result[i].shared
+
+ local result2 = MySQL.query.await('SELECT * FROM addon_inventory_items WHERE inventory_name = @inventory_name', {
+ ['@inventory_name'] = name
+ })
+
+ if shared == 0 then
+
+ table.insert(InventoriesIndex, name)
+
+ Inventories[name] = {}
+ local items = {}
+
+ for j=1, #result2, 1 do
+ local itemName = result2[j].name
+ local itemCount = result2[j].count
+ local itemOwner = result2[j].owner
+
+ if items[itemOwner] == nil then
+ items[itemOwner] = {}
+ end
+
+ table.insert(items[itemOwner], {
+ name = itemName,
+ count = itemCount,
+ label = Items[itemName]
+ })
+ end
+
+ for k,v in pairs(items) do
+ local addonInventory = CreateAddonInventory(name, k, v)
+ table.insert(Inventories[name], addonInventory)
+ end
+
+ else
+ local items = {}
+
+ for j=1, #result2, 1 do
+ table.insert(items, {
+ name = result2[j].name,
+ count = result2[j].count,
+ label = Items[result2[j].name]
+ })
+ end
+
+ local addonInventory = CreateAddonInventory(name, nil, items)
+ SharedInventories[name] = addonInventory
+ end
+ end
+end)
+
+function GetInventory(name, owner)
+ for i=1, #Inventories[name], 1 do
+ if Inventories[name][i].owner == owner then
+ return Inventories[name][i]
+ end
+ end
+end
+
+function GetSharedInventory(name)
+ return SharedInventories[name]
+end
+
+AddEventHandler('esx_addoninventory:getInventory', function(name, owner, cb)
+ cb(GetInventory(name, owner))
+end)
+
+AddEventHandler('esx_addoninventory:getSharedInventory', function(name, cb)
+ cb(GetSharedInventory(name))
+end)
+
+AddEventHandler('esx:playerLoaded', function(playerId, xPlayer)
+ local addonInventories = {}
+
+ for i=1, #InventoriesIndex, 1 do
+ local name = InventoriesIndex[i]
+ local inventory = GetInventory(name, xPlayer.identifier)
+
+ if inventory == nil then
+ inventory = CreateAddonInventory(name, xPlayer.identifier, {})
+ table.insert(Inventories[name], inventory)
+ end
+
+ table.insert(addonInventories, inventory)
+ end
+
+ xPlayer.set('addonInventories', addonInventories)
+end)
diff --git a/[esx_addons]/esx_allowlist/LICENSE b/[esx_addons]/esx_allowlist/LICENSE
new file mode 100644
index 00000000..22da85db
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+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-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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+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-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.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/[esx_addons]/esx_allowlist/README.md b/[esx_addons]/esx_allowlist/README.md
new file mode 100644
index 00000000..c8dc7c27
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/README.md
@@ -0,0 +1,16 @@
+[ESX] Allowlist
Discord - Website - Documentation
+
+block those evil intruders with ESX Allowlist!
+This Script allows you to block all players from joining and specify the only players who can join!
+
+## Legal
+
+esx_allowlist- block those evil intruders!
+
+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.
+
+This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
+
+You should have received a copy Of the GNU General Public License along with this program. If Not, see .
diff --git a/[esx_addons]/esx_allowlist/config.lua b/[esx_addons]/esx_allowlist/config.lua
new file mode 100644
index 00000000..2dadfb4e
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/config.lua
@@ -0,0 +1,4 @@
+Config = {}
+
+Config.Locale = GetConvar('esx:locale', 'en')
+Config.MinPlayer = 10 --Set how many players need to be connect before whitelist start, 0-32
diff --git a/[esx_addons]/esx_allowlist/fxmanifest.lua b/[esx_addons]/esx_allowlist/fxmanifest.lua
new file mode 100644
index 00000000..d852b300
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/fxmanifest.lua
@@ -0,0 +1,18 @@
+fx_version 'adamant'
+
+game 'gta5'
+
+author 'ESX-Framework'
+description 'Offical AllowList script for ESX'
+
+version '1.9.0'
+lua54 'yes'
+server_only 'yes'
+
+server_scripts {
+ '@es_extended/imports.lua',
+ '@es_extended/locale.lua',
+ 'config.lua',
+ 'locales/*.lua',
+ 'server/main.lua'
+}
diff --git a/[esx_addons]/esx_allowlist/locales/br.lua b/[esx_addons]/esx_allowlist/locales/br.lua
new file mode 100644
index 00000000..caa853f8
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/br.lua
@@ -0,0 +1,9 @@
+Locales['br'] = {
+ ['allowlist_check'] = 'certificando-se de que você está na lista de permitidos(allowlist) neste servidor. . .',
+ ['not_allowlisted'] = 'você não está na lista de permitidos(allowlist) neste servidor',
+ ['steamid_error'] = 'seu ID do Steam não foi encontrado, o Steam está aberto?',
+ ['allowlist_empty'] = 'a lista de permitidos(allowlist) ainda não foi carregada ou ninguém foi incluído!',
+ ['help_allowlist_add'] = 'adicionar alguém à lista de permitidos(allowlist) no servidor',
+ ['help_allowlist_load'] = 'recarregar a lista de permitidos(allowlist)',
+}
+
diff --git a/[esx_addons]/esx_allowlist/locales/de.lua b/[esx_addons]/esx_allowlist/locales/de.lua
new file mode 100644
index 00000000..794607d1
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/de.lua
@@ -0,0 +1,9 @@
+Locales['de'] = {
+ ['allowlist_check'] = 'Überprüfe ob sie auf der Allowlist sind...',
+ ['not_allowlisted'] = 'Sie müssen auf der Allowlist sein, um diesem Server beizutreten!',
+ ['allowlist_empty'] = 'Für diesen Server sind keine allowlists gespeichert.',
+ ['license_missing'] = 'Error: Ihr Identifier fehlt.',
+ ['help_allowlist_add'] = 'jemanden zur Allowlist hinzufügen',
+ ['help_allowlist_load'] = 'lade die Allowlist neu',
+ }
+
\ No newline at end of file
diff --git a/[esx_addons]/esx_allowlist/locales/en.lua b/[esx_addons]/esx_allowlist/locales/en.lua
new file mode 100644
index 00000000..96281f8d
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/en.lua
@@ -0,0 +1,8 @@
+Locales['en'] = {
+ ['allowlist_check'] = 'Checking if you are Allowlisted.',
+ ['not_allowlisted'] = 'You Must be Allowlisted to join this server!',
+ ['allowlist_empty'] = 'There Are no allowlists saved for this server.',
+ ['license_missing'] = 'Error: Your Identifier is missing!',
+ ['help_allowlist_add'] = 'add someone to the allowlist',
+ ['help_allowlist_load'] = 'reload the allowlist',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/es.lua b/[esx_addons]/esx_allowlist/locales/es.lua
new file mode 100644
index 00000000..cb95a64b
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/es.lua
@@ -0,0 +1,8 @@
+Locales['es'] = {
+ ['allowlist_check'] = 'revisando si tienes la allowlist . . .',
+ ['not_allowlisted'] = 'no tenes la allowlist en este servidor',
+ ['allowlist_empty'] = 'La allowlist todavia no cargo, o alternativamente nadie la tiene',
+ ['license_missing'] = 'no se pudo encontrar tu licencia',
+ ['help_allowlist_add'] = 'agregar a la allowlist',
+ ['help_allowlist_load'] = 'recargar allowlist',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/et.lua b/[esx_addons]/esx_allowlist/locales/et.lua
new file mode 100644
index 00000000..2ddadf89
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/et.lua
@@ -0,0 +1,8 @@
+Locales['et'] = {
+ ['allowlist_check'] = 'Kontrollime, kas te olete allowlistis.',
+ ['not_allowlisted'] = 'Sa pead olema Allowlistis, et ühineda serveriga!',
+ ['allowlist_empty'] = 'Ühtegi inimest pole allowlistis.',
+ ['license_missing'] = 'Viga: Sul puudub identifier!',
+ ['help_allowlist_add'] = 'Lisa inimene allowlisti',
+ ['help_allowlist_load'] = 'Lae allowlist uuesti',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/fr.lua b/[esx_addons]/esx_allowlist/locales/fr.lua
new file mode 100644
index 00000000..ddf36727
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/fr.lua
@@ -0,0 +1,8 @@
+Locales['fr'] = {
+ ['allowlist_check'] = 'Etes vous sûr d\'être allowlisté sur ce serveur ...',
+ ['not_allowlisted'] = 'Ce serveur utilise une allowlist',
+ ['allowlist_empty'] = 'La allowlist n\'a pas été rechargé ou vous n\'avez pas été allowlisté',
+ ['license_missing'] = 'Votre license est introuvable',
+ ['help_allowlist_add'] = 'Ajouter un joueur à la Whitelist',
+ ['help_allowlist_load'] = 'Recharger la Whitelist',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/hu.lua b/[esx_addons]/esx_allowlist/locales/hu.lua
new file mode 100644
index 00000000..7bd30405
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/hu.lua
@@ -0,0 +1,8 @@
+Locales['hu'] = {
+ ['allowlist_check'] = 'Ellenőrizzük fent vagy-e a menők listáján.',
+ ['not_allowlisted'] = 'Engedélyezettnek kell lenned ahhoz, hogy csatlakozz ehhez a szerverhez!',
+ ['allowlist_empty'] = 'Ehhez a szerverhez nincsenek mentett engedélyezési lista.',
+ ['license_missing'] = 'Hiba: Te azonosítód hiányzik!',
+ ['help_allowlist_add'] = 'játékos felvétele az engedélyezettek listájára',
+ ['help_allowlist_load'] = 'engedélyezési lista újratöltése',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/it.lua b/[esx_addons]/esx_allowlist/locales/it.lua
new file mode 100644
index 00000000..a0ec9366
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/it.lua
@@ -0,0 +1,8 @@
+Locales['it'] = {
+ ['allowlist_check'] = 'verifica Allowlisted.',
+ ['not_allowlisted'] = 'devi essere nella Allowlisted per unirti a questo server!',
+ ['allowlist_empty'] = 'non ci sono allowlists salvate per questo server.',
+ ['license_missing'] = 'Errore: il tuo identificatore è mancante!',
+ ['help_allowlist_add'] = 'aggiungi qualcuno alla allowlist',
+ ['help_allowlist_load'] = 'ricarica la allowlist',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/nl.lua b/[esx_addons]/esx_allowlist/locales/nl.lua
new file mode 100644
index 00000000..bb435ff7
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/nl.lua
@@ -0,0 +1,8 @@
+Locales['nl'] = {
+ ['allowlist_check'] = 'Je toegangspas aan het controleren.',
+ ['not_allowlisted'] = 'Je moet een toegangspas hebben om op deze server te spelen!',
+ ['allowlist_empty'] = 'Er zijn geen toegangspassen uitgegeven.',
+ ['license_missing'] = 'Error: Je Identifier mist!',
+ ['help_allowlist_add'] = 'geef iemand een toegangspas',
+ ['help_allowlist_load'] = 'herlaad de toegangspassen',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/pl.lua b/[esx_addons]/esx_allowlist/locales/pl.lua
new file mode 100644
index 00000000..686f6661
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/pl.lua
@@ -0,0 +1,8 @@
+Locales['pl'] = {
+ ['allowlist_check'] = 'Sprawdzamy, czy jesteś na Allowlist.',
+ ['not_allowlisted'] = 'Aby dołączyć do tego serwera, musisz być na Allowlist!',
+ ['allowlist_empty'] = 'Brak zapisanych list Allowlist dla tego serwera.',
+ ['license_missing'] = 'Błąd: Brak ID!',
+ ['help_allowlist_add'] = 'dodaj do allowlist',
+ ['help_allowlist_load'] = 'przeładuj allowlist',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/si.lua b/[esx_addons]/esx_allowlist/locales/si.lua
new file mode 100644
index 00000000..64c7620b
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/si.lua
@@ -0,0 +1,8 @@
+Locales['si'] = {
+ ['allowlist_check'] = 'Preverja se, ali ste na seznamu dovoljenj.',
+ ['not_allowlisted'] = 'Če se želite pridružiti temu strežniku, morate biti uvrščeni na seznam dovoljenj!',
+ ['allowlist_empty'] = 'Za ta strežnik ni shranjenih belih seznamov.',
+ ['license_missing'] = 'Napaka: Manjka vaš identifikator!',
+ ['help_allowlist_add'] = 'Dodaj nekoga na beli seznam',
+ ['help_allowlist_load'] = 'ponovno naložite belo listo',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/sv.lua b/[esx_addons]/esx_allowlist/locales/sv.lua
new file mode 100644
index 00000000..b41874e6
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/sv.lua
@@ -0,0 +1,8 @@
+Locales['sv'] = {
+ ['allowlist_check'] = 'Ser till att du är vitlistad på den här servern. . .',
+ ['not_allowlisted'] = 'Du är inte vitlistad på den här servern',
+ ['allowlist_empty'] = 'Vitlistan har inte laddats ännu, eller alternativt har ingen blivit vitlistad!',
+ ['license_missing'] = 'Din licens kunde inte hittas',
+ ['help_allowlist_add'] = 'Lägg till någon på vitlistan',
+ ['help_allowlist_load'] = 'Ladda om vitlistan',
+}
diff --git a/[esx_addons]/esx_allowlist/locales/tr.lua b/[esx_addons]/esx_allowlist/locales/tr.lua
new file mode 100644
index 00000000..67aa0769
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/locales/tr.lua
@@ -0,0 +1,8 @@
+Locales['tr'] = {
+ ['allowlist_check'] = 'bu sunucuda beyaz listede olduğunuzdan emin olunuluyor . . .',
+ ['not_allowlisted'] = 'bu sunucuda beyaz listede değilsiniz',
+ ['allowlist_empty'] = 'beyaz liste henüz yüklenmedi yada beyaz listede kimse bulunmuyor',
+ ['license_missing'] = 'lisansınız bulunamadı',
+ ['help_allowlist_add'] = 'beyaz listeye birini ekle',
+ ['help_allowlist_load'] = 'beyaz listeyi tekrardan yükle',
+}
diff --git a/[esx_addons]/esx_allowlist/players.json b/[esx_addons]/esx_allowlist/players.json
new file mode 100644
index 00000000..0637a088
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/players.json
@@ -0,0 +1 @@
+[]
\ No newline at end of file
diff --git a/[esx_addons]/esx_allowlist/server/main.lua b/[esx_addons]/esx_allowlist/server/main.lua
new file mode 100644
index 00000000..8a2bf799
--- /dev/null
+++ b/[esx_addons]/esx_allowlist/server/main.lua
@@ -0,0 +1,78 @@
+local AllowList = {}
+
+function loadAllowList()
+ AllowList = nil
+
+ local List = LoadResourceFile(GetCurrentResourceName(),'players.json')
+ if List then
+ AllowList = json.decode(List)
+ end
+end
+
+loadAllowList()
+
+AddEventHandler('playerConnecting', function(name, setCallback, deferrals)
+ if #(GetPlayers()) < Config.MinPlayer then
+ deferrals.done()
+ else
+ -- Mark this connection as deferred, this is to prevent problems while checking player identifiers.
+ deferrals.defer()
+
+ local playerId, kickReason = source, "There Was An Error, Please Contact the server owner!"
+
+ -- Letting the user know what's going on.
+ deferrals.update(TranslateCap('allowlist_check'))
+
+ -- Needed, not sure why.
+ Wait(100)
+
+ local identifier = ESX.GetIdentifier(playerId)
+
+ if ESX.Table.SizeOf(AllowList) == 0 then
+ kickReason = "[ESX] " .. TranslateCap('allowlist_empty')
+ elseif not identifier then
+ kickReason = "[ESX] " .. TranslateCap('license_missing')
+ elseif not AllowList[identifier] then
+ kickReason = "[ESX] " .. TranslateCap('not_allowlist')
+ end
+
+ if kickReason then
+ deferrals.done(kickReason)
+ else
+ deferrals.done()
+ end
+ end
+end)
+
+ESX.RegisterCommand('alrefresh', 'admin', function(xPlayer, args)
+ loadAllowList()
+ print('[^2INFO^7] Allowlist ^5Refreshed^7!')
+end, true, {help = TranslateCap('help_allowlist_load')})
+
+ESX.RegisterCommand('aladd', 'admin', function(xPlayer, args, showError)
+ args.license = args.license:lower()
+
+ if AllowList[args.license] then
+ showError('The player is already allowlisted on this server!')
+ else
+ AllowList[args.license] = true
+ SaveResourceFile(GetCurrentResourceName(), 'players.json', json.encode(AllowList))
+ loadAllowList()
+ end
+end, true, {help = TranslateCap('help_allowlist_add'), validate = true, arguments = {
+ {name = 'license', help = 'the player license', type = 'string'}
+}})
+
+ESX.RegisterCommand('alremove', 'admin', function(xPlayer, args, showError)
+ args.license = args.license:lower()
+
+ if AllowList[args.license] then
+ AllowList[args.license] = nil
+ SaveResourceFile(GetCurrentResourceName(), 'players.json', json.encode(AllowList))
+ loadAllowList()
+ else
+ showError('Identifier is not Allowlisted on this server!')
+ end
+end, true, {help = TranslateCap('help_allowlist_add'), validate = true, arguments = {
+ {name = 'license', help = 'the player license', type = 'string'}
+}})
diff --git a/[esx_addons]/esx_ambulancejob/.editorconfig b/[esx_addons]/esx_ambulancejob/.editorconfig
new file mode 100644
index 00000000..321687e6
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+indent_size = 1
+indent_style = tab
+end_of_line = crlf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
\ No newline at end of file
diff --git a/[esx_addons]/esx_ambulancejob/LICENSE b/[esx_addons]/esx_ambulancejob/LICENSE
new file mode 100644
index 00000000..e80d4d2d
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+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-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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+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-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.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/[esx_addons]/esx_ambulancejob/README.md b/[esx_addons]/esx_ambulancejob/README.md
new file mode 100644
index 00000000..05cce532
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/README.md
@@ -0,0 +1,31 @@
+# esx_ambulancejob
+
+ESX Ambulance Job is an plugin for ESX with features:
+
+- Adds death screen, with early respawn timer and bleed out timer
+- Vehicle garages, revive menu and more for on duty EMS
+
+## Requirements
+
+`Required`:
+
+- [esx_skin](https://github.com/esx-framework/esx-legacy/tree/main/%5Besx%5D/esx_skin)
+- [esx_vehicleshop](https://github.com/esx-framework/esx-legacy/tree/main/%5Besx_addons%5D/esx_vehicleshop)
+
+`Optional`:
+
+- [esx_society](https://github.com/esx-framework/esx-legacy/tree/main/%5Besx_addons%5D/esx_society)
+
+## Legal
+
+### License
+
+esx_ambulancejob - ambulance script for fivem
+
+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.
+
+This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
+
+You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.
diff --git a/[esx_addons]/esx_ambulancejob/client/job.lua b/[esx_addons]/esx_ambulancejob/client/job.lua
new file mode 100644
index 00000000..68c16e78
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/client/job.lua
@@ -0,0 +1,597 @@
+local CurrentAction, CurrentActionMsg, CurrentActionData = nil, '', {}
+local HasAlreadyEnteredMarker, LastHospital, LastPart, LastPartNum
+local isBusy, deadPlayers, deadPlayerBlips, isOnDuty = false, {}, {}, false
+isInShopMenu = false
+
+RegisterNetEvent('esx:playerLoaded')
+AddEventHandler('esx:playerLoaded', function(xPlayer)
+ ESX.PlayerData = xPlayer
+ ESX.PlayerLoaded = true
+end)
+
+
+function OpenAmbulanceActionsMenu()
+ local elements = {
+ {unselectable = true, icon = "fas fa-shirt", title = "Ambulance Actions"},
+ {icon = "fas fa-shirt", title = TranslateCap('cloakroom'), value = 'cloakroom'}
+ }
+
+ if Config.EnablePlayerManagement and ESX.PlayerData.job.grade_name == 'boss' then
+ elements[#elements+1] = {
+ icon = "fas fa-ambulance",
+ title = TranslateCap('boss_actions'),
+ value = 'boss_actions'
+ }
+ end
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.value == 'cloakroom' then
+ OpenCloakroomMenu()
+ elseif element.value == 'boss_actions' then
+ TriggerEvent('esx_society:openBossMenu', 'ambulance', function(data, menu)
+ menu.close()
+ end, {wash = false})
+ end
+ end)
+end
+
+function OpenMobileAmbulanceActionsMenu()
+ local elements = {
+ {unselectable = true, icon = "fas fa-ambulance", title = TranslateCap('ambulance')},
+ {icon = "fas fa-ambulance", title = TranslateCap('ems_menu'), value = "citizen_interaction"}
+ }
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.value == "citizen_interaction" then
+ local elements2 = {
+ {unselectable = true, icon = "fas fa-ambulance", title = element.title},
+ {icon = "fas fa-syringe", title = TranslateCap('ems_menu_revive'), value = "revive"},
+ {icon = "fas fa-bandage", title = TranslateCap('ems_menu_small'), value = "small"},
+ {icon = "fas fa-bandage", title = TranslateCap('ems_menu_big'), value = "big"},
+ {icon = "fas fa-car", title = TranslateCap('ems_menu_putincar'), value = "put_in_vehicle"},
+ {icon = "fas fa-syringe", title = TranslateCap('ems_menu_search'), value = "search"},
+ }
+
+ ESX.OpenContext("right", elements2, function(menu2,element2)
+ if isBusy then return end
+ local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
+
+ if element2.value == 'search' then
+ TriggerServerEvent('esx_ambulancejob:svsearch')
+ elseif closestPlayer == -1 or closestDistance > 1.0 then
+ ESX.ShowNotification(TranslateCap('no_players'))
+ else
+ if element2.value == 'revive' then
+ revivePlayer(closestPlayer)
+ elseif element2.value == 'small' then
+ ESX.TriggerServerCallback('esx_ambulancejob:getItemAmount', function(quantity)
+ if quantity > 0 then
+ local closestPlayerPed = GetPlayerPed(closestPlayer)
+ local health = GetEntityHealth(closestPlayerPed)
+
+ if health > 0 then
+ local playerPed = PlayerPedId()
+
+ isBusy = true
+ ESX.ShowNotification(TranslateCap('heal_inprogress'))
+ TaskStartScenarioInPlace(playerPed, 'CODE_HUMAN_MEDIC_TEND_TO_DEAD', 0, true)
+ Wait(10000)
+ ClearPedTasks(playerPed)
+
+ TriggerServerEvent('esx_ambulancejob:removeItem', 'bandage')
+ TriggerServerEvent('esx_ambulancejob:heal', GetPlayerServerId(closestPlayer), 'small')
+ ESX.ShowNotification(TranslateCap('heal_complete', GetPlayerName(closestPlayer)))
+ isBusy = false
+ else
+ ESX.ShowNotification(TranslateCap('player_not_conscious'))
+ end
+ else
+ ESX.ShowNotification(TranslateCap('not_enough_bandage'))
+ end
+ end, 'bandage')
+
+ elseif element2.value == 'big' then
+ ESX.TriggerServerCallback('esx_ambulancejob:getItemAmount', function(quantity)
+ if quantity > 0 then
+ local closestPlayerPed = GetPlayerPed(closestPlayer)
+ local health = GetEntityHealth(closestPlayerPed)
+
+ if health > 0 then
+ local playerPed = PlayerPedId()
+
+ isBusy = true
+ ESX.ShowNotification(TranslateCap('heal_inprogress'))
+ TaskStartScenarioInPlace(playerPed, 'CODE_HUMAN_MEDIC_TEND_TO_DEAD', 0, true)
+ Wait(10000)
+ ClearPedTasks(playerPed)
+
+ TriggerServerEvent('esx_ambulancejob:removeItem', 'medikit')
+ TriggerServerEvent('esx_ambulancejob:heal', GetPlayerServerId(closestPlayer), 'big')
+ ESX.ShowNotification(TranslateCap('heal_complete', GetPlayerName(closestPlayer)))
+ isBusy = false
+ else
+ ESX.ShowNotification(TranslateCap('player_not_conscious'))
+ end
+ else
+ ESX.ShowNotification(TranslateCap('not_enough_medikit'))
+ end
+ end, 'medikit')
+ elseif element2.value == 'put_in_vehicle' then
+ TriggerServerEvent('esx_ambulancejob:putInVehicle', GetPlayerServerId(closestPlayer))
+ end
+ end
+ end)
+ end
+ end)
+end
+
+function revivePlayer(closestPlayer)
+ isBusy = true
+
+ ESX.TriggerServerCallback('esx_ambulancejob:getItemAmount', function(quantity)
+ if quantity > 0 then
+ local closestPlayerPed = GetPlayerPed(closestPlayer)
+
+ if IsPedDeadOrDying(closestPlayerPed, 1) then
+ local playerPed = PlayerPedId()
+ local lib, anim = 'mini@cpr@char_a@cpr_str', 'cpr_pumpchest'
+ ESX.ShowNotification(TranslateCap('revive_inprogress'))
+
+ for i=1, 15 do
+ Wait(900)
+
+ ESX.Streaming.RequestAnimDict(lib, function()
+ TaskPlayAnim(playerPed, lib, anim, 8.0, -8.0, -1, 0, 0.0, false, false, false)
+ RemoveAnimDict(lib)
+ end)
+ end
+
+ TriggerServerEvent('esx_ambulancejob:removeItem', 'medikit')
+ TriggerServerEvent('esx_ambulancejob:revive', GetPlayerServerId(closestPlayer))
+ else
+ ESX.ShowNotification(TranslateCap('player_not_unconscious'))
+ end
+ else
+ ESX.ShowNotification(TranslateCap('not_enough_medikit'))
+ end
+ isBusy = false
+ end, 'medikit')
+end
+
+function FastTravel(coords, heading)
+ local playerPed = PlayerPedId()
+
+ DoScreenFadeOut(800)
+
+ while not IsScreenFadedOut() do
+ Wait(500)
+ end
+
+ ESX.Game.Teleport(playerPed, coords, function()
+ DoScreenFadeIn(800)
+
+ if heading then
+ SetEntityHeading(playerPed, heading)
+ end
+ end)
+end
+
+-- Draw markers & Marker logic
+CreateThread(function()
+ while true do
+ local sleep = 1500
+
+ if ESX.PlayerData.job and ESX.PlayerData.job.name == 'ambulance' then
+ local playerCoords = GetEntityCoords(PlayerPedId())
+ local isInMarker, hasExited = false, false
+ local currentHospital, currentPart, currentPartNum
+
+ for hospitalNum,hospital in pairs(Config.Hospitals) do
+ -- Ambulance Actions
+ for k,v in ipairs(hospital.AmbulanceActions) do
+ local distance = #(playerCoords - v)
+
+ if distance < Config.DrawDistance then
+ sleep = 0
+ DrawMarker(Config.Marker.type, v, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Config.Marker.x, Config.Marker.y, Config.Marker.z, Config.Marker.r, Config.Marker.g, Config.Marker.b, Config.Marker.a, false, false, 2, Config.Marker.rotate, nil, nil, false)
+
+
+ if distance < Config.Marker.x then
+ isInMarker, currentHospital, currentPart, currentPartNum = true, hospitalNum, 'AmbulanceActions', k
+ end
+ end
+ end
+
+ -- Pharmacies
+ for k,v in ipairs(hospital.Pharmacies) do
+ local distance = #(playerCoords - v)
+
+ if distance < Config.DrawDistance then
+ sleep = 0
+ DrawMarker(Config.Marker.type, v, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, Config.Marker.x, Config.Marker.y, Config.Marker.z, Config.Marker.r, Config.Marker.g, Config.Marker.b, Config.Marker.a, false, false, 2, Config.Marker.rotate, nil, nil, false)
+
+
+ if distance < Config.Marker.x then
+ isInMarker, currentHospital, currentPart, currentPartNum = true, hospitalNum, 'Pharmacy', k
+ end
+ end
+ end
+
+ -- Vehicle Spawners
+ for k,v in ipairs(hospital.Vehicles) do
+ local distance = #(playerCoords - v.Spawner)
+
+ if distance < Config.DrawDistance then
+ sleep = 0
+ DrawMarker(v.Marker.type, v.Spawner, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, v.Marker.x, v.Marker.y, v.Marker.z, v.Marker.r, v.Marker.g, v.Marker.b, v.Marker.a, false, false, 2, v.Marker.rotate, nil, nil, false)
+
+
+ if distance < v.Marker.x then
+ isInMarker, currentHospital, currentPart, currentPartNum = true, hospitalNum, 'Vehicles', k
+ end
+ end
+ end
+
+ -- Helicopter Spawners
+ for k,v in ipairs(hospital.Helicopters) do
+ local distance = #(playerCoords - v.Spawner)
+
+ if distance < Config.DrawDistance then
+ sleep = 0
+ DrawMarker(v.Marker.type, v.Spawner, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, v.Marker.x, v.Marker.y, v.Marker.z, v.Marker.r, v.Marker.g, v.Marker.b, v.Marker.a, false, false, 2, v.Marker.rotate, nil, nil, false)
+
+
+ if distance < v.Marker.x then
+ isInMarker, currentHospital, currentPart, currentPartNum = true, hospitalNum, 'Helicopters', k
+ end
+ end
+ end
+
+ -- Fast Travels (Prompt)
+ for k,v in ipairs(hospital.FastTravelsPrompt) do
+ local distance = #(playerCoords - v.From)
+
+ if distance < Config.DrawDistance then
+ sleep = 0
+ DrawMarker(v.Marker.type, v.From, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, v.Marker.x, v.Marker.y, v.Marker.z, v.Marker.r, v.Marker.g, v.Marker.b, v.Marker.a, false, false, 2, v.Marker.rotate, nil, nil, false)
+
+
+ if distance < v.Marker.x then
+ isInMarker, currentHospital, currentPart, currentPartNum = true, hospitalNum, 'FastTravelsPrompt', k
+ end
+ end
+ end
+ end
+
+ -- Logic for exiting & entering markers
+ if isInMarker and not HasAlreadyEnteredMarker or (isInMarker and (LastHospital ~= currentHospital or LastPart ~= currentPart or LastPartNum ~= currentPartNum)) then
+ if
+ (LastHospital ~= nil and LastPart ~= nil and LastPartNum ~= nil) and
+ (LastHospital ~= currentHospital or LastPart ~= currentPart or LastPartNum ~= currentPartNum)
+ then
+ TriggerEvent('esx_ambulancejob:hasExitedMarker', LastHospital, LastPart, LastPartNum)
+ hasExited = true
+ end
+
+ HasAlreadyEnteredMarker, LastHospital, LastPart, LastPartNum = true, currentHospital, currentPart, currentPartNum
+
+ TriggerEvent('esx_ambulancejob:hasEnteredMarker', currentHospital, currentPart, currentPartNum)
+ end
+
+ if not hasExited and not isInMarker and HasAlreadyEnteredMarker then
+ HasAlreadyEnteredMarker = false
+ TriggerEvent('esx_ambulancejob:hasExitedMarker', LastHospital, LastPart, LastPartNum)
+ end
+ end
+ Wait(sleep)
+ end
+end)
+
+AddEventHandler('esx_ambulancejob:hasEnteredMarker', function(hospital, part, partNum)
+ if part == 'AmbulanceActions' then
+ CurrentAction = part
+ CurrentActionMsg = TranslateCap('actions_prompt')
+ CurrentActionData = {}
+ elseif part == 'Pharmacy' then
+ CurrentAction = part
+ CurrentActionMsg = TranslateCap('open_pharmacy')
+ CurrentActionData = {}
+ elseif part == 'Vehicles' then
+ CurrentAction = part
+ CurrentActionMsg = TranslateCap('garage_prompt')
+ CurrentActionData = {hospital = hospital, partNum = partNum}
+ elseif part == 'Helicopters' then
+ CurrentAction = part
+ CurrentActionMsg = TranslateCap('helicopter_prompt')
+ CurrentActionData = {hospital = hospital, partNum = partNum}
+ elseif part == 'FastTravelsPrompt' then
+ local travelItem = Config.Hospitals[hospital][part][partNum]
+
+ CurrentAction = part
+ CurrentActionMsg = travelItem.Prompt
+ CurrentActionData = {to = travelItem.To.coords, heading = travelItem.To.heading}
+ end
+
+ ESX.TextUI(CurrentActionMsg)
+end)
+
+AddEventHandler('esx_ambulancejob:hasExitedMarker', function(hospital, part, partNum)
+ if not isInShopMenu then
+ ESX.CloseContext()
+ end
+ ESX.HideUI()
+ CurrentAction = nil
+end)
+
+-- Key Controls
+CreateThread(function()
+ while true do
+ local sleep = 1500
+
+ if CurrentAction then
+ sleep = 0
+
+ if IsControlJustReleased(0, 38) then
+ if CurrentAction == 'AmbulanceActions' then
+ OpenAmbulanceActionsMenu()
+ elseif CurrentAction == 'Pharmacy' then
+ OpenPharmacyMenu()
+ elseif CurrentAction == 'Vehicles' then
+ OpenVehicleSpawnerMenu('car', CurrentActionData.hospital, CurrentAction, CurrentActionData.partNum)
+ elseif CurrentAction == 'Helicopters' then
+ OpenVehicleSpawnerMenu('helicopter', CurrentActionData.hospital, CurrentAction, CurrentActionData.partNum)
+ elseif CurrentAction == 'FastTravelsPrompt' then
+ FastTravel(CurrentActionData.to, CurrentActionData.heading)
+ end
+
+ CurrentAction = nil
+ end
+ end
+
+ local playerCoords, letSleep = GetEntityCoords(PlayerPedId()), true
+
+ for hospitalNum,hospital in pairs(Config.Hospitals) do
+ -- Fast Travels
+ for k,v in ipairs(hospital.FastTravels) do
+ local distance = #(playerCoords - v.From)
+
+ if distance < Config.DrawDistance then
+ sleep = 0
+ DrawMarker(v.Marker.type, v.From, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, v.Marker.x, v.Marker.y, v.Marker.z, v.Marker.r, v.Marker.g, v.Marker.b, v.Marker.a, false, false, 2, v.Marker.rotate, nil, nil, false)
+
+
+ if distance < v.Marker.x then
+ FastTravel(v.To.coords, v.To.heading)
+ end
+ end
+ end
+ end
+ Wait(sleep)
+ end
+end)
+
+RegisterCommand("ambulance", function(src)
+ if ESX.PlayerData.job and ESX.PlayerData.job.name == 'ambulance' and not ESX.PlayerData.dead then
+ OpenMobileAmbulanceActionsMenu()
+ end
+end)
+
+RegisterKeyMapping("ambulance", "Open Ambulance Actions Menu", "keyboard", "F6")
+
+RegisterNetEvent('esx_ambulancejob:putInVehicle')
+AddEventHandler('esx_ambulancejob:putInVehicle', function()
+ local playerPed = PlayerPedId()
+ local vehicle, distance = ESX.Game.GetClosestVehicle()
+
+ if vehicle and distance < 5 then
+ local maxSeats, freeSeat = GetVehicleMaxNumberOfPassengers(vehicle)
+
+ for i=maxSeats - 1, 0, -1 do
+ if IsVehicleSeatFree(vehicle, i) then
+ freeSeat = i
+ break
+ end
+ end
+
+ if freeSeat then
+ TaskWarpPedIntoVehicle(playerPed, vehicle, freeSeat)
+ end
+ end
+end)
+
+function OpenCloakroomMenu()
+ local elements = {
+ {unselectable = true, icon = "fas fa-shirt", title = TranslateCap('cloakroom')},
+ {icon = "fas fa-shirt", title = TranslateCap('ems_clothes_civil'), value = "citizen_wear"},
+ {icon = "fas fa-shirt", title = TranslateCap('ems_clothes_ems'), value = "ambulance_wear"},
+ }
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.value == "citizen_wear" then
+ ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
+ TriggerEvent('skinchanger:loadSkin', skin)
+ isOnDuty = false
+
+ for playerId,v in pairs(deadPlayerBlips) do
+ RemoveBlip(v)
+ deadPlayerBlips[playerId] = nil
+ end
+ deadPlayers = {}
+ if Config.Debug then
+ print("[^2INFO^7] Off Duty")
+ end
+ end)
+ elseif element.value == "ambulance_wear" then
+ ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
+ if skin.sex == 0 then
+ TriggerEvent('skinchanger:loadClothes', skin, jobSkin.skin_male)
+ else
+ TriggerEvent('skinchanger:loadClothes', skin, jobSkin.skin_female)
+ end
+
+ isOnDuty = true
+ ESX.TriggerServerCallback('esx_ambulancejob:getDeadPlayers', function(_deadPlayers)
+ TriggerEvent('esx_ambulancejob:setDeadPlayers', _deadPlayers)
+ end)
+ if Config.Debug then
+ print("[^2INFO^7] Player Sex |^5" .. tostring(skin.sex).."^7")
+ print("[^2INFO^7] On Duty")
+ end
+ end)
+ end
+ end)
+end
+
+function OpenPharmacyMenu()
+ local elements = {
+ {unselectable = true, icon = "fas fa-pills", title = TranslateCap('pharmacy_menu_title')}
+ }
+
+ for k,v in pairs(Config.PharmacyItems) do
+ elements[#elements+1] = {
+ icon = "fas fa-pills",
+ title = v.title,
+ item = v.item
+ }
+ end
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ local elements2 = {
+ {unselectable = true, icon = "fas fa-pills", title = element.title},
+ {title = "Amount", input = true, inputType = "number", inputMin = 1, inputMax = 100, inputPlaceholder = "Amount to buy.."},
+ {icon = "fas fa-check-double", title = "Confirm", val = "confirm"}
+ }
+
+ ESX.OpenContext("right", elements2, function(menu2,element2)
+ local amount = menu2.eles[2].inputValue
+ if Config.Debug then
+ print("[^2INFO^7] Attempting to Give Item - ^5" .. tostring(element.item) .. "^7")
+ end
+ TriggerServerEvent('esx_ambulancejob:giveItem', element.item, amount)
+ end, function(menu)
+ OpenPharmacyMenu()
+ end)
+ end)
+end
+
+RegisterNetEvent('esx_ambulancejob:heal')
+AddEventHandler('esx_ambulancejob:heal', function(healType, quiet)
+ local playerPed = PlayerPedId()
+ local maxHealth = GetEntityMaxHealth(playerPed)
+
+ if healType == 'small' then
+ local health = GetEntityHealth(playerPed)
+ local newHealth = math.min(maxHealth, math.floor(health + maxHealth / 8))
+ SetEntityHealth(playerPed, newHealth)
+ elseif healType == 'big' then
+ SetEntityHealth(playerPed, maxHealth)
+ end
+
+ if Config.Debug then
+ print("[^2INFO^7] Healing Player - ^5" .. tostring(healType).. "^7")
+ end
+ if not quiet then
+ ESX.ShowNotification(TranslateCap('healed'))
+ end
+end)
+
+RegisterNetEvent('esx:setJob')
+AddEventHandler('esx:setJob', function(job)
+ if isOnDuty and job.name ~= 'ambulance' then
+ for playerId,v in pairs(deadPlayerBlips) do
+ if Config.Debug then
+ print("[^2INFO^7] Removing dead blip - ^5" .. tostring(playerId).. "^7")
+ end
+ RemoveBlip(v)
+ deadPlayerBlips[playerId] = nil
+ end
+
+ isOnDuty = false
+ end
+end)
+
+RegisterNetEvent('esx_ambulancejob:PlayerDead')
+AddEventHandler('esx_ambulancejob:PlayerDead', function(Player)
+ if Config.Debug then
+ print("[^2INFO^7] Player Dead | ^5" .. tostring(Player) .. "^7")
+ end
+ deadPlayers[Player] = "dead"
+end)
+
+RegisterNetEvent('esx_ambulancejob:PlayerNotDead')
+AddEventHandler('esx_ambulancejob:PlayerNotDead', function(Player)
+ if deadPlayerBlips[Player] then
+ RemoveBlip(deadPlayerBlips[Player])
+ deadPlayerBlips[Player] = nil
+ end
+ if Config.Debug then
+ print("[^2INFO^7] Player Alive | ^5" .. tostring(Player) .. "^7")
+ end
+ deadPlayers[Player] = nil
+end)
+
+RegisterNetEvent('esx_ambulancejob:setDeadPlayers')
+AddEventHandler('esx_ambulancejob:setDeadPlayers', function(_deadPlayers)
+ deadPlayers = _deadPlayers
+
+ if isOnDuty then
+ for playerId,v in pairs(deadPlayerBlips) do
+ RemoveBlip(v)
+ deadPlayerBlips[playerId] = nil
+ end
+
+ for playerId,status in pairs(deadPlayers) do
+ if Config.Debug then
+ print("[^2INFO^7] Player Dead | ^5" .. tostring(playerId) .. "^7")
+ end
+ if status == 'distress' then
+ if Config.Debug then
+ print("[^2INFO^7] Creating Distress Blip for Player - ^5" .. tostring(playerId) .. "^7")
+ end
+ local player = GetPlayerFromServerId(playerId)
+ local playerPed = GetPlayerPed(player)
+ local blip = AddBlipForEntity(playerPed)
+
+ SetBlipSprite(blip, 303)
+ SetBlipColour(blip, 1)
+ SetBlipFlashes(blip, true)
+ SetBlipCategory(blip, 7)
+
+ BeginTextCommandSetBlipName('STRING')
+ AddTextComponentSubstringPlayerName(TranslateCap('blip_dead'))
+ EndTextCommandSetBlipName(blip)
+
+ deadPlayerBlips[playerId] = blip
+ end
+ end
+ end
+end)
+
+
+RegisterNetEvent('esx_ambulancejob:PlayerDistressed')
+AddEventHandler('esx_ambulancejob:PlayerDistressed', function(Player)
+ deadPlayers[Player] = 'distress'
+
+ if isOnDuty then
+ if Config.Debug then
+ print("[^2INFO^7] Player Distress Recived - ID:^5" .. tostring(Player) .. "^7")
+ end
+ ESX.ShowNotification("[DISPATCH]: An Unconscious Person Has Been Reported", "error", 10000)
+ deadPlayerBlips[Player] = nil
+ local player = GetPlayerFromServerId(Player)
+ local playerPed = GetPlayerPed(player)
+ local blip = AddBlipForEntity(playerPed)
+
+ SetBlipSprite(blip, Config.DistressBlip.Sprite)
+ SetBlipColour(blip, Config.DistressBlip.Color)
+ SetBlipScale(blip, Config.DistressBlip.Scale)
+ SetBlipFlashes(blip, true)
+
+ BeginTextCommandSetBlipName('STRING')
+ AddTextComponentSubstringPlayerName(TranslateCap('blip_dead'))
+ EndTextCommandSetBlipName(blip)
+
+ deadPlayerBlips[Player] = blip
+ end
+end)
+
diff --git a/[esx_addons]/esx_ambulancejob/client/main.lua b/[esx_addons]/esx_ambulancejob/client/main.lua
new file mode 100644
index 00000000..95e90c9f
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/client/main.lua
@@ -0,0 +1,473 @@
+local firstSpawn = true
+
+isDead, isSearched, medic = false, false, 0
+
+RegisterNetEvent('esx:playerLoaded')
+AddEventHandler('esx:playerLoaded', function(xPlayer)
+ ESX.PlayerLoaded = true
+end)
+
+RegisterNetEvent('esx:onPlayerLogout')
+AddEventHandler('esx:onPlayerLogout', function()
+ ESX.PlayerLoaded = false
+ firstSpawn = true
+end)
+
+AddEventHandler('esx:onPlayerSpawn', function()
+ isDead = false
+ ClearTimecycleModifier()
+ SetPedMotionBlur(PlayerPedId(), false)
+ ClearExtraTimecycleModifier()
+ EndDeathCam()
+ if firstSpawn then
+ firstSpawn = false
+
+ if Config.SaveDeathStatus then
+ while not ESX.PlayerLoaded do
+ Wait(1000)
+ end
+
+ ESX.TriggerServerCallback('esx_ambulancejob:getDeathStatus', function(shouldDie)
+ if shouldDie then
+ Wait(1000)
+ SetEntityHealth(PlayerPedId(), 0)
+ end
+ end)
+ end
+ end
+end)
+
+-- Create blips
+CreateThread(function()
+ for k, v in pairs(Config.Hospitals) do
+ local blip = AddBlipForCoord(v.Blip.coords)
+
+ SetBlipSprite(blip, v.Blip.sprite)
+ SetBlipScale(blip, v.Blip.scale)
+ SetBlipColour(blip, v.Blip.color)
+ SetBlipAsShortRange(blip, true)
+
+ BeginTextCommandSetBlipName('STRING')
+ AddTextComponentSubstringPlayerName(TranslateCap('blip_hospital'))
+ EndTextCommandSetBlipName(blip)
+ end
+
+ while true do
+ local Sleep = 1500
+
+ if isDead then
+ Sleep = 0
+ DisableAllControlActions(0)
+ EnableControlAction(0, 47, true) -- G
+ EnableControlAction(0, 245, true) -- T
+ EnableControlAction(0, 38, true) -- E
+
+ ProcessCamControls()
+ if isSearched then
+ local playerPed = PlayerPedId()
+ local ped = GetPlayerPed(GetPlayerFromServerId(medic))
+ isSearched = false
+
+ AttachEntityToEntity(playerPed, ped, 11816, 0.54, 0.54, 0.0, 0.0, 0.0, 0.0, false, false, false, false, 2, true)
+ Wait(1000)
+ DetachEntity(playerPed, true, false)
+ ClearPedTasksImmediately(playerPed)
+ end
+ end
+
+ Wait(Sleep)
+ end
+end)
+
+RegisterNetEvent('esx_ambulancejob:clsearch')
+AddEventHandler('esx_ambulancejob:clsearch', function(medicId)
+ local playerPed = PlayerPedId()
+
+ if isDead then
+ local coords = GetEntityCoords(playerPed)
+ local playersInArea = ESX.Game.GetPlayersInArea(coords, 50.0)
+
+ for i = 1, #playersInArea, 1 do
+ local player = playersInArea[i]
+ if player == GetPlayerFromServerId(medicId) then
+ medic = tonumber(medicId)
+ isSearched = true
+ break
+ end
+ end
+ end
+end)
+
+function OnPlayerDeath()
+ isDead = true
+ ESX.CloseContext()
+ ClearTimecycleModifier()
+ SetTimecycleModifier("REDMIST_blend")
+ SetTimecycleModifierStrength(0.7)
+ SetExtraTimecycleModifier("fp_vig_red")
+ SetExtraTimecycleModifierStrength(1.0)
+ SetPedMotionBlur(PlayerPedId(), true)
+ TriggerServerEvent('esx_ambulancejob:setDeathStatus', true)
+ StartDeathTimer()
+ StartDeathCam()
+ StartDistressSignal()
+end
+
+RegisterNetEvent('esx_ambulancejob:useItem')
+AddEventHandler('esx_ambulancejob:useItem', function(itemName)
+ ESX.CloseContext()
+
+ if itemName == 'medikit' then
+ local lib, anim = 'anim@heists@narcotics@funding@gang_idle', 'gang_chatting_idle01' -- TODO better animations
+ local playerPed = PlayerPedId()
+
+ ESX.Streaming.RequestAnimDict(lib, function()
+ TaskPlayAnim(playerPed, lib, anim, 8.0, -8.0, -1, 0, 0, false, false, false)
+ RemoveAnimDict(lib)
+
+ Wait(500)
+ while IsEntityPlayingAnim(playerPed, lib, anim, 3) do
+ Wait(0)
+ DisableAllControlActions(0)
+ end
+
+ TriggerEvent('esx_ambulancejob:heal', 'big', true)
+ ESX.ShowNotification(TranslateCap('used_medikit'))
+ end)
+
+ elseif itemName == 'bandage' then
+ local lib, anim = 'anim@heists@narcotics@funding@gang_idle', 'gang_chatting_idle01' -- TODO better animations
+ local playerPed = PlayerPedId()
+
+ ESX.Streaming.RequestAnimDict(lib, function()
+ TaskPlayAnim(playerPed, lib, anim, 8.0, -8.0, -1, 0, 0, false, false, false)
+ RemoveAnimDict(lib)
+
+ Wait(500)
+ while IsEntityPlayingAnim(playerPed, lib, anim, 3) do
+ Wait(0)
+ DisableAllControlActions(0)
+ end
+
+ TriggerEvent('esx_ambulancejob:heal', 'small', true)
+ ESX.ShowNotification(TranslateCap('used_bandage'))
+ end)
+ end
+end)
+
+function StartDistressSignal()
+ CreateThread(function()
+ local timer = Config.BleedoutTimer
+
+ while timer > 0 and isDead do
+ Wait(0)
+ timer = timer - 30
+
+ SetTextFont(4)
+ SetTextScale(0.5, 0.5)
+ SetTextColour(200, 50, 50, 255)
+ SetTextDropshadow(0.1, 3, 27, 27, 255)
+ BeginTextCommandDisplayText('STRING')
+ AddTextComponentSubstringPlayerName(TranslateCap('distress_send'))
+ EndTextCommandDisplayText(0.43, 0.77)
+
+ if IsControlJustReleased(0, 47) then
+ SendDistressSignal()
+ break
+ end
+ end
+ end)
+end
+
+function SendDistressSignal()
+ local playerPed = PlayerPedId()
+ local coords = GetEntityCoords(playerPed)
+
+ ESX.ShowNotification(TranslateCap('distress_sent'))
+ TriggerServerEvent('esx_ambulancejob:onPlayerDistress')
+end
+
+function DrawGenericTextThisFrame()
+ SetTextFont(4)
+ SetTextScale(0.0, 0.5)
+ SetTextColour(255, 255, 255, 255)
+ SetTextDropshadow(0, 0, 0, 0, 255)
+ SetTextDropShadow()
+ SetTextOutline()
+ SetTextCentre(true)
+end
+
+function secondsToClock(seconds)
+ local seconds, hours, mins, secs = tonumber(seconds), 0, 0, 0
+
+ if seconds <= 0 then
+ return 0, 0
+ else
+ local hours = string.format('%02.f', math.floor(seconds / 3600))
+ local mins = string.format('%02.f', math.floor(seconds / 60 - (hours * 60)))
+ local secs = string.format('%02.f', math.floor(seconds - hours * 3600 - mins * 60))
+
+ return mins, secs
+ end
+end
+
+function StartDeathTimer()
+ local canPayFine = false
+
+ if Config.EarlyRespawnFine then
+ ESX.TriggerServerCallback('esx_ambulancejob:checkBalance', function(canPay)
+ canPayFine = canPay
+ end)
+ end
+
+ local earlySpawnTimer = ESX.Math.Round(Config.EarlyRespawnTimer / 1000)
+ local bleedoutTimer = ESX.Math.Round(Config.BleedoutTimer / 1000)
+
+ CreateThread(function()
+ -- early respawn timer
+ while earlySpawnTimer > 0 and isDead do
+ Wait(1000)
+
+ if earlySpawnTimer > 0 then
+ earlySpawnTimer = earlySpawnTimer - 1
+ end
+ end
+
+ -- bleedout timer
+ while bleedoutTimer > 0 and isDead do
+ Wait(1000)
+
+ if bleedoutTimer > 0 then
+ bleedoutTimer = bleedoutTimer - 1
+ end
+ end
+ end)
+
+ CreateThread(function()
+ local text, timeHeld
+
+ -- early respawn timer
+ while earlySpawnTimer > 0 and isDead do
+ Wait(0)
+ text = TranslateCap('respawn_available_in', secondsToClock(earlySpawnTimer))
+
+ DrawGenericTextThisFrame()
+ BeginTextCommandDisplayText('STRING')
+ AddTextComponentSubstringPlayerName(text)
+ EndTextCommandDisplayText(0.5, 0.8)
+ end
+
+ -- bleedout timer
+ while bleedoutTimer > 0 and isDead do
+ Wait(0)
+ text = TranslateCap('respawn_bleedout_in', secondsToClock(bleedoutTimer))
+
+ if not Config.EarlyRespawnFine then
+ text = text .. TranslateCap('respawn_bleedout_prompt')
+
+ if IsControlPressed(0, 38) and timeHeld > 120 then
+ RemoveItemsAfterRPDeath()
+ break
+ end
+ elseif Config.EarlyRespawnFine and canPayFine then
+ text = text .. TranslateCap('respawn_bleedout_fine', ESX.Math.GroupDigits(Config.EarlyRespawnFineAmount))
+
+ if IsControlPressed(0, 38) and timeHeld > 120 then
+ TriggerServerEvent('esx_ambulancejob:payFine')
+ RemoveItemsAfterRPDeath()
+ break
+ end
+ end
+
+ if IsControlPressed(0, 38) then
+ timeHeld += 1
+ else
+ timeHeld = 0
+ end
+
+ DrawGenericTextThisFrame()
+
+ BeginTextCommandDisplayText('STRING')
+ AddTextComponentSubstringPlayerName(text)
+ EndTextCommandDisplayText(0.5, 0.8)
+ end
+
+ if bleedoutTimer < 1 and isDead then
+ RemoveItemsAfterRPDeath()
+ end
+ end)
+end
+
+function GetClosestRespawnPoint()
+ local PlyCoords = GetEntityCoords(PlayerPedId())
+ local ClosestDist, ClosestHospital, ClosestCoord = 10000, {}, nil
+
+ for k, v in pairs(Config.RespawnPoints) do
+ local Distance = #(PlyCoords - vector3(v.coords.x, v.coords.y, v.coords.z))
+ if Distance <= ClosestDist then
+ ClosestDist = Distance
+ ClosestHospital = v
+ ClosestCoord = vector3(v.coords.x, v.coords.y, v.coords.z)
+ end
+ end
+
+ return ClosestCoord, ClosestHospital
+end
+
+function RemoveItemsAfterRPDeath()
+ TriggerServerEvent('esx_ambulancejob:setDeathStatus', false)
+
+ CreateThread(function()
+ ESX.TriggerServerCallback('esx_ambulancejob:removeItemsAfterRPDeath', function()
+ local RespawnCoords, ClosestHospital = GetClosestRespawnPoint()
+
+ ESX.SetPlayerData('loadout', {})
+
+ DoScreenFadeOut(800)
+ RespawnPed(PlayerPedId(), RespawnCoords, ClosestHospital.heading)
+ while not IsScreenFadedOut() do
+ Wait(0)
+ end
+ DoScreenFadeIn(800)
+ end)
+ end)
+end
+
+function RespawnPed(ped, coords, heading)
+ SetEntityCoordsNoOffset(ped, coords.x, coords.y, coords.z, false, false, false)
+ NetworkResurrectLocalPlayer(coords.x, coords.y, coords.z, heading, true, false)
+ SetPlayerInvincible(ped, false)
+ ClearPedBloodDamage(ped)
+
+ TriggerServerEvent('esx:onPlayerSpawn')
+ TriggerEvent('esx:onPlayerSpawn')
+ TriggerEvent('playerSpawned') -- compatibility with old scripts, will be removed soon
+end
+
+AddEventHandler('esx:onPlayerDeath', function(data)
+ OnPlayerDeath()
+end)
+
+RegisterNetEvent('esx_ambulancejob:revive')
+AddEventHandler('esx_ambulancejob:revive', function()
+ local playerPed = PlayerPedId()
+ local coords = GetEntityCoords(playerPed)
+ TriggerServerEvent('esx_ambulancejob:setDeathStatus', false)
+
+ DoScreenFadeOut(800)
+
+ while not IsScreenFadedOut() do
+ Wait(50)
+ end
+
+ local formattedCoords = {x = ESX.Math.Round(coords.x, 1), y = ESX.Math.Round(coords.y, 1), z = ESX.Math.Round(coords.z, 1)}
+
+ RespawnPed(playerPed, formattedCoords, 0.0)
+ isDead = false
+ ClearTimecycleModifier()
+ SetPedMotionBlur(playerPed, false)
+ ClearExtraTimecycleModifier()
+ EndDeathCam()
+ DoScreenFadeIn(800)
+end)
+
+-- Load unloaded IPLs
+if Config.LoadIpl then
+ RequestIpl('Coroner_Int_on') -- Morgue
+end
+
+local cam = nil
+
+local isDead = false
+
+local angleY = 0.0
+
+local angleZ = 0.0
+
+-------------------------------------------------------
+
+-----------------DEATH CAMERA FUNCTIONS ---------------
+
+--------------------------------------------------------
+
+-- initialize camera
+
+function StartDeathCam()
+ ClearFocus()
+ local playerPed = PlayerPedId()
+ cam = CreateCamWithParams("DEFAULT_SCRIPTED_CAMERA", GetEntityCoords(playerPed), 0, 0, 0, GetGameplayCamFov())
+ SetCamActive(cam, true)
+ RenderScriptCams(true, true, 1000, true, false)
+end
+
+-- destroy camera
+
+function EndDeathCam()
+ ClearFocus()
+ RenderScriptCams(false, false, 0, true, false)
+ DestroyCam(cam, false)
+ cam = nil
+end
+-- process camera controls
+function ProcessCamControls()
+ local playerPed = PlayerPedId()
+ local playerCoords = GetEntityCoords(playerPed)
+ -- disable 1st person as the 1st person camera can cause some glitches
+ DisableFirstPersonCamThisFrame()
+ -- calculate new position
+ local newPos = ProcessNewPosition()
+ SetFocusArea(newPos.x, newPos.y, newPos.z, 0.0, 0.0, 0.0)
+ -- set coords of cam
+ SetCamCoord(cam, newPos.x, newPos.y, newPos.z)
+ -- set rotation
+ PointCamAtCoord(cam, playerCoords.x, playerCoords.y, playerCoords.z + 0.5)
+end
+
+function ProcessNewPosition()
+ local mouseX = 0.0
+ local mouseY = 0.0
+ -- keyboard
+ if (IsInputDisabled(0)) then
+ -- rotation
+ mouseX = GetDisabledControlNormal(1, 1) * 8.0
+
+ mouseY = GetDisabledControlNormal(1, 2) * 8.0
+ -- controller
+ else
+ mouseX = GetDisabledControlNormal(1, 1) * 1.5
+
+ mouseY = GetDisabledControlNormal(1, 2) * 1.5
+ end
+
+ angleZ = angleZ - mouseX -- around Z axis (left / right)
+
+ angleY = angleY + mouseY -- up / down
+ -- limit up / down angle to 90°
+
+ if (angleY > 89.0) then
+ angleY = 89.0
+ elseif (angleY < -89.0) then
+ angleY = -89.0
+ end
+ local pCoords = GetEntityCoords(PlayerPedId())
+ local behindCam = {x = pCoords.x + ((Cos(angleZ) * Cos(angleY)) + (Cos(angleY) * Cos(angleZ))) / 2 * (5.5 + 0.5),
+
+ y = pCoords.y + ((Sin(angleZ) * Cos(angleY)) + (Cos(angleY) * Sin(angleZ))) / 2 * (5.5 + 0.5),
+
+ z = pCoords.z + ((Sin(angleY))) * (5.5 + 0.5)}
+ local rayHandle = StartShapeTestRay(pCoords.x, pCoords.y, pCoords.z + 0.5, behindCam.x, behindCam.y, behindCam.z, -1, PlayerPedId(), 0)
+
+ local a, hitBool, hitCoords, surfaceNormal, entityHit = GetShapeTestResult(rayHandle)
+
+ local maxRadius = 1.9
+ if (hitBool and Vdist(pCoords.x, pCoords.y, pCoords.z + 0.5, hitCoords) < 5.5 + 0.5) then
+ maxRadius = Vdist(pCoords.x, pCoords.y, pCoords.z + 0.5, hitCoords)
+ end
+
+ local offset = {x = ((Cos(angleZ) * Cos(angleY)) + (Cos(angleY) * Cos(angleZ))) / 2 * maxRadius,
+ y = ((Sin(angleZ) * Cos(angleY)) + (Cos(angleY) * Sin(angleZ))) / 2 * maxRadius, z = ((Sin(angleY))) * maxRadius}
+
+ local pos = {x = pCoords.x + offset.x, y = pCoords.y + offset.y, z = pCoords.z + offset.z}
+
+ return pos
+end
diff --git a/[esx_addons]/esx_ambulancejob/client/vehicle.lua b/[esx_addons]/esx_ambulancejob/client/vehicle.lua
new file mode 100644
index 00000000..b2edd04a
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/client/vehicle.lua
@@ -0,0 +1,305 @@
+local spawnedVehicles = {}
+
+function OpenVehicleSpawnerMenu(type, hospital, part, partNum)
+ local playerCoords = GetEntityCoords(PlayerPedId())
+ local elements = {
+ {unselectable = true, icon = "fas fa-car", title = TranslateCap('garage_title')},
+ {icon = "fas fa-car", title = TranslateCap('garage_storeditem'), action = 'garage'},
+ {icon = "fas fa-car", title = TranslateCap('garage_storeitem'), action = 'store_garage'},
+ {icon = "fas fa-car", title = TranslateCap('garage_buyitem'), action = 'buy_vehicle'}
+ }
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.action == "buy_vehicle" then
+ local shopElements = {}
+ local authorizedVehicles = Config.AuthorizedVehicles[type][ESX.PlayerData.job.grade_name]
+ local shopCoords = Config.Hospitals[hospital][part][partNum].InsideShop
+
+ if #authorizedVehicles > 0 then
+ for k,vehicle in ipairs(authorizedVehicles) do
+ if IsModelInCdimage(vehicle.model) then
+ local vehicleLabel = GetLabelText(GetDisplayNameFromVehicleModel(vehicle.model))
+
+ shopElements[#shopElements+1] = {
+ icon = 'fas fa-car',
+ title = ('%s - %s'):format(vehicleLabel, TranslateCap('shop_item', ESX.Math.GroupDigits(vehicle.price))),
+ name = vehicleLabel,
+ model = vehicle.model,
+ price = vehicle.price,
+ props = vehicle.props,
+ type = type
+ }
+ end
+ end
+
+ if #shopElements > 0 then
+ OpenShopMenu(shopElements, playerCoords, shopCoords)
+ else
+ ESX.ShowNotification(TranslateCap('garage_notauthorized'))
+ end
+ else
+ ESX.ShowNotification(TranslateCap('garage_notauthorized'))
+ end
+ elseif element.action == "garage" then
+ local garage = {
+ {unselectable = true, icon = "fas fa-car", title = "Garage"}
+ }
+
+ ESX.TriggerServerCallback('esx_vehicleshop:retrieveJobVehicles', function(jobVehicles)
+ if #jobVehicles > 0 then
+ local allVehicleProps = {}
+
+ for k,v in ipairs(jobVehicles) do
+ local props = json.decode(v.vehicle)
+
+ if IsModelInCdimage(props.model) then
+ local vehicleName = GetLabelText(GetDisplayNameFromVehicleModel(props.model))
+ local label = ('%s - %s: '):format(vehicleName, props.plate)
+
+ if v.stored == 1 then
+ label = label .. ('%s'):format(TranslateCap('garage_stored'))
+ elseif v.stored == 0 then
+ label = label .. ('%s'):format(TranslateCap('garage_notstored'))
+ end
+
+ garage[#garage+1] = {
+ icon = 'fas fa-car',
+ title = label,
+ stored = v.stored,
+ model = props.model,
+ plate = props.plate
+ }
+
+ allVehicleProps[props.plate] = props
+ end
+ end
+
+ if #garage > 0 then
+ ESX.OpenContext("right", garage, function(menuG,elementG)
+ if elementG.stored == 1 then
+ local foundSpawn, spawnPoint = GetAvailableVehicleSpawnPoint(hospital, part, partNum)
+
+ if foundSpawn then
+ ESX.CloseContext()
+
+ ESX.Game.SpawnVehicle(elementG.model, spawnPoint.coords, spawnPoint.heading, function(vehicle)
+ local vehicleProps = allVehicleProps[elementG.plate]
+ ESX.Game.SetVehicleProperties(vehicle, vehicleProps)
+
+ TriggerServerEvent('esx_vehicleshop:setJobVehicleState', elementG.plate, false)
+ ESX.ShowNotification(TranslateCap('garage_released'))
+ end)
+ end
+ else
+ ESX.ShowNotification(TranslateCap('garage_notavailable'))
+ end
+ end)
+ else
+ ESX.ShowNotification(TranslateCap('garage_empty'))
+ end
+ else
+ ESX.ShowNotification(TranslateCap('garage_empty'))
+ end
+ end, type)
+ elseif element.action == "store_garage" then
+ StoreNearbyVehicle(playerCoords)
+ end
+ end)
+end
+
+function StoreNearbyVehicle(playerCoords)
+ local vehicles, plates, index = ESX.Game.GetVehiclesInArea(playerCoords, 30.0), {}, {}
+
+ if next(vehicles) then
+ for i = 1, #vehicles do
+ local vehicle = vehicles[i]
+
+ -- Make sure the vehicle we're saving is empty, or else it won't be deleted
+ if GetVehicleNumberOfPassengers(vehicle) == 0 and IsVehicleSeatFree(vehicle, -1) then
+ local plate = ESX.Math.Trim(GetVehicleNumberPlateText(vehicle))
+ plates[#plates + 1] = plate
+ index[plate] = vehicle
+ end
+ end
+ else
+ ESX.ShowNotification(TranslateCap('garage_store_nearby'))
+ return
+ end
+
+ ESX.TriggerServerCallback('esx_ambulancejob:storeNearbyVehicle', function(plate)
+ if plate then
+ local vehicleId = index[plate]
+ local attempts = 0
+ ESX.Game.DeleteVehicle(vehicleId)
+ isBusy = true
+
+ CreateThread(function()
+ BeginTextCommandBusyspinnerOn('STRING')
+ AddTextComponentSubstringPlayerName(TranslateCap('garage_storing'))
+ EndTextCommandBusyspinnerOn(4)
+
+ while isBusy do
+ Wait(100)
+ end
+
+ BusyspinnerOff()
+ end)
+
+ -- Workaround for vehicle not deleting when other players are near it.
+ while DoesEntityExist(vehicleId) do
+ Wait(500)
+ attempts = attempts + 1
+
+ -- Give up
+ if attempts > 30 then
+ break
+ end
+
+ vehicles = ESX.Game.GetVehiclesInArea(playerCoords, 30.0)
+ if #vehicles > 0 then
+ for i = 1, #vehicles do
+ local vehicle = vehicles[i]
+ if ESX.Math.Trim(GetVehicleNumberPlateText(vehicle)) == plate then
+ ESX.Game.DeleteVehicle(vehicle)
+ break
+ end
+ end
+ end
+ end
+
+ isBusy = false
+ ESX.ShowNotification(TranslateCap('garage_has_stored'))
+ else
+ ESX.ShowNotification(TranslateCap('garage_has_notstored'))
+ end
+ end, plates)
+end
+
+function GetAvailableVehicleSpawnPoint(hospital, part, partNum)
+ local spawnPoints = Config.Hospitals[hospital][part][partNum].SpawnPoints
+ local found, foundSpawnPoint = false, nil
+
+ for i=1, #spawnPoints, 1 do
+ if ESX.Game.IsSpawnPointClear(spawnPoints[i].coords, spawnPoints[i].radius) then
+ found, foundSpawnPoint = true, spawnPoints[i]
+ break
+ end
+ end
+
+ if found then
+ return true, foundSpawnPoint
+ else
+ ESX.ShowNotification(TranslateCap('garage_blocked'))
+ return false
+ end
+end
+
+function OpenShopMenu(elements, restoreCoords, shopCoords)
+ local playerPed = PlayerPedId()
+ isInShopMenu = true
+ ESX.OpenContext("right", elements, function(menu,element)
+ local elements2 = {
+ {unselectable = true, icon = "fas fa-car", title = element.title},
+ {icon = "fas fa-eye", title = "View", value = "view"}
+ }
+
+ ESX.OpenContext("right", elements2, function(menu2,element2)
+ if element2.value == "view" then
+ DeleteSpawnedVehicles()
+ WaitForVehicleToLoad(element.model)
+
+ ESX.Game.SpawnLocalVehicle(element.model, shopCoords, 0.0, function(vehicle)
+ table.insert(spawnedVehicles, vehicle)
+ TaskWarpPedIntoVehicle(playerPed, vehicle, -1)
+ FreezeEntityPosition(vehicle, true)
+ SetModelAsNoLongerNeeded(element.model)
+
+ if element.props then
+ ESX.Game.SetVehicleProperties(vehicle, element.props)
+ end
+ end)
+
+ local elements3 = {
+ {unselectable = true, icon = "fas fa-car", title = element.title},
+ {icon = "fas fa-check-double", title = "Buy", value = "buy"},
+ {icon = "fas fa-eye", title = "Stop Viewing", value = "stop"}
+ }
+
+ ESX.OpenContext("right", elements3, function(menu3,element3)
+ if element3.value == 'stop' then
+ isInShopMenu = false
+ ESX.CloseContext()
+
+ DeleteSpawnedVehicles()
+ FreezeEntityPosition(playerPed, false)
+ SetEntityVisible(playerPed, true)
+
+ ESX.Game.Teleport(playerPed, restoreCoords)
+ elseif element3.value == "buy" then
+ local newPlate = exports['esx_vehicleshop']:GeneratePlate()
+ local vehicle = GetVehiclePedIsIn(playerPed, false)
+ local props = ESX.Game.GetVehicleProperties(vehicle)
+ props.plate = newPlate
+
+ ESX.TriggerServerCallback('esx_ambulancejob:buyJobVehicle', function (bought)
+ if bought then
+ ESX.ShowNotification(TranslateCap('vehicleshop_bought', element.name, ESX.Math.GroupDigits(element.price)))
+
+ isInShopMenu = false
+ ESX.CloseContext()
+ DeleteSpawnedVehicles()
+ FreezeEntityPosition(playerPed, false)
+ SetEntityVisible(playerPed, true)
+
+ ESX.Game.Teleport(playerPed, restoreCoords)
+ else
+ ESX.ShowNotification(TranslateCap('vehicleshop_money'))
+ ESX.CloseContext()
+ end
+ end, props, element.type)
+ end
+ end)
+ end
+ end)
+ end)
+end
+
+CreateThread(function()
+ while true do
+ sleep = 1500
+
+ if isInShopMenu then
+ sleep = 0
+ DisableControlAction(0, 75, true) -- Disable exit vehicle
+ DisableControlAction(27, 75, true) -- Disable exit vehicle
+ end
+ Wait(sleep)
+ end
+end)
+
+function DeleteSpawnedVehicles()
+ while #spawnedVehicles > 0 do
+ local vehicle = spawnedVehicles[1]
+ ESX.Game.DeleteVehicle(vehicle)
+ table.remove(spawnedVehicles, 1)
+ end
+end
+
+function WaitForVehicleToLoad(modelHash)
+ modelHash = (type(modelHash) == 'number' and modelHash or joaat(modelHash))
+
+ if not HasModelLoaded(modelHash) then
+ RequestModel(modelHash)
+
+ BeginTextCommandBusyspinnerOn('STRING')
+ AddTextComponentSubstringPlayerName(TranslateCap('vehicleshop_awaiting_model'))
+ EndTextCommandBusyspinnerOn(4)
+
+ while not HasModelLoaded(modelHash) do
+ Wait(0)
+ DisableAllControlActions(0)
+ end
+
+ BusyspinnerOff()
+ end
+end
diff --git a/[esx_addons]/esx_ambulancejob/config.lua b/[esx_addons]/esx_ambulancejob/config.lua
new file mode 100644
index 00000000..833983e3
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/config.lua
@@ -0,0 +1,186 @@
+Config = {}
+
+Config.DrawDistance = 10.0 -- How close do you need to be in order for the markers to be drawn (in GTA units).
+Config.Debug = ESX.GetConfig().EnableDebug
+Config.Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
+
+Config.ReviveReward = 700 -- Revive reward, set to 0 if you don't want it enabled
+Config.SaveDeathStatus = true -- Save Death Status?
+Config.LoadIpl = true -- Disable if you're using fivem-ipl or other IPL loaders
+
+Config.Locale = GetConvar('esx:locale', 'en')
+
+Config.DistressBlip = {
+ Sprite = 310,
+ Color = 48,
+ Scale = 2.0
+}
+
+Config.EarlyRespawnTimer = 60000 * 1 -- time til respawn is available
+Config.BleedoutTimer = 60000 * 10 -- time til the player bleeds out
+
+Config.EnablePlayerManagement = false -- Enable society managing (If you are using esx_society).
+
+Config.RemoveWeaponsAfterRPDeath = true
+Config.RemoveCashAfterRPDeath = true
+Config.RemoveItemsAfterRPDeath = true
+
+-- Let the player pay for respawning early, only if he can afford it.
+Config.EarlyRespawnFine = false
+Config.EarlyRespawnFineAmount = 5000
+
+Config.OxInventory = ESX.GetConfig().OxInventory
+Config.RespawnPoints = {
+ {coords = vector3(341.0, -1397.3, 32.5), heading = 48.5}, -- Central Los Santos
+ {coords = vector3(1836.03, 3670.99, 34.28), heading = 296.06} -- Sandy Shores
+}
+
+Config.PharmacyItems = {
+ {
+ title = "Medikit",
+ item = "medikit"
+ },
+ {
+ title = "Bandage",
+ item = "bandage"
+ },
+}
+
+Config.Hospitals = {
+
+ CentralLosSantos = {
+
+ Blip = {
+ coords = vector3(307.7, -1433.4, 28.9),
+ sprite = 61,
+ scale = 1.2,
+ color = 2
+ },
+
+ AmbulanceActions = {
+ vector3(270.5, -1363.0, 23.5)
+ },
+
+ Pharmacies = {
+ vector3(230.1, -1366.1, 38.5)
+ },
+
+ Vehicles = {
+ {
+ Spawner = vector3(307.7, -1433.4, 30.0),
+ InsideShop = vector3(446.7, -1355.6, 43.5),
+ Marker = {type = 36, x = 1.0, y = 1.0, z = 1.0, r = 100, g = 50, b = 200, a = 100, rotate = true},
+ SpawnPoints = {
+ {coords = vector3(297.2, -1429.5, 29.8), heading = 227.6, radius = 4.0},
+ {coords = vector3(294.0, -1433.1, 29.8), heading = 227.6, radius = 4.0},
+ {coords = vector3(309.4, -1442.5, 29.8), heading = 227.6, radius = 6.0}
+ }
+ }
+ },
+
+ Helicopters = {
+ {
+ Spawner = vector3(317.5, -1449.5, 46.5),
+ InsideShop = vector3(305.6, -1419.7, 41.5),
+ Marker = {type = 34, x = 1.5, y = 1.5, z = 1.5, r = 100, g = 150, b = 150, a = 100, rotate = true},
+ SpawnPoints = {
+ {coords = vector3(313.5, -1465.1, 46.5), heading = 142.7, radius = 10.0},
+ {coords = vector3(299.5, -1453.2, 46.5), heading = 142.7, radius = 10.0}
+ }
+ }
+ },
+
+ FastTravels = {
+ {
+ From = vector3(294.7, -1448.1, 29.0),
+ To = {coords = vector3(272.8, -1358.8, 23.5), heading = 0.0},
+ Marker = {type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
+ },
+
+ {
+ From = vector3(275.3, -1361, 23.5),
+ To = {coords = vector3(295.8, -1446.5, 28.9), heading = 0.0},
+ Marker = {type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
+ },
+
+ {
+ From = vector3(247.3, -1371.5, 23.5),
+ To = {coords = vector3(333.1, -1434.9, 45.5), heading = 138.6},
+ Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
+ },
+
+ {
+ From = vector3(335.5, -1432.0, 45.50),
+ To = {coords = vector3(249.1, -1369.6, 23.5), heading = 0.0},
+ Marker = {type = 1, x = 2.0, y = 2.0, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false}
+ },
+
+ {
+ From = vector3(234.5, -1373.7, 20.9),
+ To = {coords = vector3(320.9, -1478.6, 28.8), heading = 0.0},
+ Marker = {type = 1, x = 1.5, y = 1.5, z = 1.0, r = 102, g = 0, b = 102, a = 100, rotate = false}
+ },
+
+ {
+ From = vector3(317.9, -1476.1, 28.9),
+ To = {coords = vector3(238.6, -1368.4, 23.5), heading = 0.0},
+ Marker = {type = 1, x = 1.5, y = 1.5, z = 1.0, r = 102, g = 0, b = 102, a = 100, rotate = false}
+ }
+ },
+
+ FastTravelsPrompt = {
+ {
+ From = vector3(237.4, -1373.8, 26.0),
+ To = {coords = vector3(251.9, -1363.3, 38.5), heading = 0.0},
+ Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false},
+ Prompt = TranslateCap('fast_travel')
+ },
+
+ {
+ From = vector3(256.5, -1357.7, 36.0),
+ To = {coords = vector3(235.4, -1372.8, 26.3), heading = 0.0},
+ Marker = {type = 1, x = 1.5, y = 1.5, z = 0.5, r = 102, g = 0, b = 102, a = 100, rotate = false},
+ Prompt = TranslateCap('fast_travel')
+ }
+ }
+
+ }
+}
+
+Config.AuthorizedVehicles = {
+ car = {
+ ambulance = {
+ {model = 'ambulance', price = 5000}
+ },
+
+ doctor = {
+ {model = 'ambulance', price = 4500}
+ },
+
+ chief_doctor = {
+ {model = 'ambulance', price = 3000}
+ },
+
+ boss = {
+ {model = 'ambulance', price = 2000}
+ }
+ },
+
+ helicopter = {
+ ambulance = {},
+
+ doctor = {
+ {model = 'buzzard2', price = 150000}
+ },
+
+ chief_doctor = {
+ {model = 'buzzard2', price = 150000},
+ {model = 'seasparrow', price = 300000}
+ },
+
+ boss = {
+ {model = 'buzzard2', price = 10000},
+ {model = 'seasparrow', price = 250000}
+ }
+ }
+}
diff --git a/[esx_addons]/esx_ambulancejob/esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/esx_ambulancejob.sql
new file mode 100644
index 00000000..15709b6d
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/esx_ambulancejob.sql
@@ -0,0 +1,31 @@
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'Ambulance', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'Ambulance', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'Ambulance', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulance','Ambulancier',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'doctor','Medecin',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'chief_doctor','Medecin-chef',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','Chirurgien',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','Ambulance')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','Bandage', 2),
+ ('medikit','Medikit', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/fxmanifest.lua b/[esx_addons]/esx_ambulancejob/fxmanifest.lua
new file mode 100644
index 00000000..9800bf24
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/fxmanifest.lua
@@ -0,0 +1,34 @@
+fx_version 'adamant'
+
+game 'gta5'
+
+description 'ESX Ambulance Job'
+
+lua54 'yes'
+version '1.9.0'
+
+shared_scripts {
+ '@es_extended/imports.lua',
+ '@es_extended/locale.lua',
+ 'locales/*.lua',
+ 'config.lua'
+}
+
+
+server_scripts {
+ '@oxmysql/lib/MySQL.lua',
+ 'server/main.lua'
+}
+
+client_scripts {
+ 'client/main.lua',
+ 'client/job.lua',
+ 'client/vehicle.lua',
+}
+
+dependencies {
+ 'es_extended',
+ 'esx_skin',
+ 'esx_society',
+ 'esx_vehicleshop'
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/br.lua b/[esx_addons]/esx_ambulancejob/locales/br.lua
new file mode 100644
index 00000000..efa6a58c
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/br.lua
@@ -0,0 +1,84 @@
+Locales['br'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'guarda roupa',
+ ['ems_clothes_civil'] = 'roupa normal',
+ ['ems_clothes_ems'] = 'entrar como socorrista',
+ -- Vehicles
+ ['ambulance'] = 'ambulancia',
+ ['helicopter_prompt'] = 'pressione [E] para acessar a Helicopter Actions.',
+ ['garage_prompt'] = 'pressione [E] para entra no Vehicle Actions.',
+ ['garage_title'] = 'ações do veiculo',
+ ['garage_stored'] = 'guardado',
+ ['garage_notstored'] = 'não foi guardado',
+ ['garage_storing'] = 'estamos tentando guardar o veículo, verifique se não há cidadões ao seu redor.',
+ ['garage_has_stored'] = 'o veículo foi guardado na sua garagem',
+ ['garage_has_notstored'] = 'nem um dos seus veiculos foi encontrado proximo',
+ ['garage_notavailable'] = 'o seu veículo não está guardado na garagem.',
+ ['garage_blocked'] = 'não há pontos de spawn disponíveis!',
+ ['garage_empty'] = 'você não tem veículos na sua garagem.',
+ ['garage_released'] = 'seu veículo foi liberado da garagem.',
+ ['garage_store_nearby'] = 'não há veículos próximos.',
+ ['garage_storeditem'] = 'abrir garagem',
+ ['garage_storeitem'] = 'veículo da loja na garagem',
+ ['garage_buyitem'] = 'loja de veículos',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'loja de veículos',
+ ['vehicleshop_confirm'] = 'você quer comprar este veículo?',
+ ['vehicleshop_bought'] = 'você comprou %s para $%s',
+ ['vehicleshop_money'] = 'você não pode pagar esse veículo',
+ ['vehicleshop_awaiting_model'] = 'o veículo está atualmente DOWNLOADING & LOADING, por favor aguarde',
+ ['confirm_no'] = 'não',
+ ['confirm_yes'] = 'sim',
+ -- Action Menu
+ ['revive_inprogress'] = 'reanimação em andamento',
+ ['revive_complete'] = 'você ressuscitou %s',
+ ['revive_complete_award'] = 'você ressuscitou %s, $%s',
+ ['revive_fail_offline'] = 'esse cidadão não está mais na cidade',
+ ['heal_inprogress'] = 'você está curando!',
+ ['heal_complete'] = 'você curou %s',
+ ['no_players'] = 'nenhum cidadão nas proximidades',
+ ['player_not_unconscious'] = 'não está inconsciente',
+ ['player_not_conscious'] = 'esse cidadão não está consciente!',
+ -- Boss Menu
+ ['boss_actions'] = 'menu administração',
+ -- Misc
+ ['invalid_amount'] = ' dade inválida',
+ ['actions_prompt'] = 'aperte [E] para entra Ambulance Actions.',
+ ['deposit_amount'] = 'quantidade inválida para deposito',
+ ['money_withdraw'] = 'quantidade a ser retirada',
+ ['fast_travel'] = 'aperte [E] para mover-se rapidamente.',
+ ['open_pharmacy'] = 'aperte [E] para abrir a farmácia.',
+ ['pharmacy_menu_title'] = 'farmácia',
+ ['pharmacy_take'] = 'tomar %s',
+ ['medikit'] = 'seringa',
+ ['bandage'] = 'vendagem',
+ ['max_item'] = 'você não pode carregar mais',
+ -- F6 Menu
+ ['ems_menu'] = 'interação com cidadão',
+ ['ems_menu_title'] = 'ambulância - Interação com cidadão',
+ ['ems_menu_revive'] = 'reanimar',
+ ['ems_menu_putincar'] = 'colocar no veiculo',
+ ['ems_menu_small'] = 'curar pequenas feridas',
+ ['ems_menu_big'] = 'tratando lesões graves',
+ ['ems_menu_search'] = 'paciente não encontrado',
+ -- Death
+ ['respawn_available_in'] = 'você irar reviver em %s minutos %s segundos',
+ ['respawn_bleedout_in'] = 'você vai sangrar %s minutos %s segundos\n',
+ ['respawn_bleedout_prompt'] = 'aguarde [E] para reviver',
+ ['respawn_bleedout_fine'] = 'aguarde [E] para reviver por $%s',
+ ['respawn_bleedout_fine_msg'] = 'você precisa pagar $%s para reviver',
+ ['distress_send'] = 'pressione [G] enviar sinal de socorro',
+ ['distress_sent'] = 'sinal de socorro foi enviado para as unidades disponíveis!',
+
+ -- Revive
+ ['revive_help'] = 'reviver um cidadão',
+ -- Item
+ ['used_medikit'] = 'você usou 1x Seringa',
+ ['used_bandage'] = 'você usou 1x Vendagem',
+ ['not_enough_medikit'] = 'você não tem seringa.',
+ ['not_enough_bandage'] = 'você não tem vendagem.',
+ ['healed'] = 'você foi tratado.',
+ -- Blips
+ ['blip_hospital'] = 'hospital',
+ ['blip_dead'] = 'cidadão inconsciente',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/cs.lua b/[esx_addons]/esx_ambulancejob/locales/cs.lua
new file mode 100644
index 00000000..fcebdcfd
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/cs.lua
@@ -0,0 +1,83 @@
+Locales['cs'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'šatna',
+ ['ems_clothes_civil'] = 'civilní oblečení',
+ ['ems_clothes_ems'] = 'zdravotnické oblečení',
+ -- Vehicles
+ ['ambulance'] = 'ambulance',
+ ['helicopter_prompt'] = 'press [E] to access the Helicopter Actions.',
+ ['garage_prompt'] = 'press [E] to access the Vehicle Actions.',
+ ['garage_title'] = 'vehicle Actions',
+ ['garage_stored'] = 'stored',
+ ['garage_notstored'] = 'not in garage',
+ ['garage_storing'] = 'we\'re attempting to remove the vehicle, make sure no players are around it.',
+ ['garage_has_stored'] = 'the vehicle has been stored in your garage',
+ ['garage_has_notstored'] = 'no nearby owned vehicles were found',
+ ['garage_notavailable'] = 'your vehicle is not stored in the garage.',
+ ['garage_blocked'] = 'there\'s no available spawn points!',
+ ['garage_empty'] = 'you don\'t have any vehicles in your garage.',
+ ['garage_released'] = 'your vehicle has been released from the garage.',
+ ['garage_store_nearby'] = 'there is no nearby vehicles.',
+ ['garage_storeditem'] = 'open garage',
+ ['garage_storeitem'] = 'store vehicle in garage',
+ ['garage_buyitem'] = 'vehicle shop',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'vehicle Shop',
+ ['vehicleshop_confirm'] = 'do you want to buy this vehicle?',
+ ['vehicleshop_bought'] = 'you have bought %s for $%s',
+ ['vehicleshop_money'] = 'you cannot afford that vehicle',
+ ['vehicleshop_awaiting_model'] = 'the vehicle is currently DOWNLOADING & LOADING please wait',
+ ['confirm_no'] = 'no',
+ ['confirm_yes'] = 'yes',
+ -- Action Menu
+ ['revive_inprogress'] = 'probíhá oživení!',
+ ['revive_complete'] = 'oživili jste %s',
+ ['revive_complete_award'] = 'oživili jste %s a dostali jste $%s!',
+ ['revive_fail_offline'] = 'that player is no longer online',
+ ['heal_inprogress'] = 'uzdravujete!',
+ ['heal_complete'] = 'uzdravili jste %s',
+ ['no_players'] = 'v okolí není žádný hráč!',
+ ['player_not_unconscious'] = 'hráč není v bezvědomí!',
+ ['player_not_conscious'] = 'hráč je v bezvědomí!',
+ -- Boss Menu
+ ['boss_actions'] = 'akce šéfa',
+ -- Misc
+ ['invalid_amount'] = ' ná částka',
+ ['actions_prompt'] = 'press [E] access the Ambulance Actions.',
+ ['deposit_amount'] = 'částka vkladu',
+ ['money_withdraw'] = 'částka výběru',
+ ['fast_travel'] = 'stiskněte [E] k rychlému odcestování.',
+ ['open_pharmacy'] = 'stiskněte [E] k otevření lékárny.',
+ ['pharmacy_menu_title'] = 'lékárna',
+ ['pharmacy_take'] = 'vzít %s',
+ ['medikit'] = 'lékarnička',
+ ['bandage'] = 'obvaz',
+ ['max_item'] = 'již nesete dostatek věcí.',
+ -- F6 Menu
+ ['ems_menu'] = 'Zdravotnické menu',
+ ['ems_menu_title'] = 'záchranka - Zdravotnické menu',
+ ['ems_menu_revive'] = 'oživit hráče',
+ ['ems_menu_putincar'] = 'naložit do vozidla',
+ ['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',
+ -- 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',
+ ['respawn_bleedout_prompt'] = 'držte [E] pro respawn.',
+ ['respawn_now_fine'] = 'držte [E] pro oživení za $%s',
+ ['respawn_bleedout_fine_msg'] = 'zaplatili jste $%s za respawn.',
+ ['distress_send'] = 'stiskněte [G] pro vyslání tísňového signálu',
+ ['distress_sent'] = 'tísňový signál byl vyslán dostupným jednotkám!',
+ -- Revive
+ ['revive_help'] = 'oživit hráče',
+ -- Item
+ ['used_medikit'] = 'použili jste 1x lékarničku',
+ ['used_bandage'] = 'použili jste 1x obvaz',
+ ['not_enough_medikit'] = 'nemáte medikit.',
+ ['not_enough_bandage'] = 'nemáte bandage.',
+ ['healed'] = 'byli jste ošetřeni.',
+ -- Blips
+ ['blip_hospital'] = 'nemocnice',
+ ['blip_dead'] = 'unconscious player',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/de.lua b/[esx_addons]/esx_ambulancejob/locales/de.lua
new file mode 100644
index 00000000..c05028ba
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/de.lua
@@ -0,0 +1,82 @@
+Locales['de'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'Umkleide',
+ ['ems_clothes_civil'] = 'Zivil',
+ ['ems_clothes_ems'] = 'Uniform',
+ -- Vehicles
+ ['ambulance'] = 'Rettungsdienst',
+ ['helicopter_prompt'] = 'Drücke [E] um auf das Helikopter-Menüzugreifen.',
+ ['garage_prompt'] = 'Drücke [E] um auf das Fahrzeug-Menüzugreifen.',
+ ['garage_title'] = 'Fahrzeugmenü',
+ ['garage_stored'] = 'gelagert',
+ ['garage_notstored'] = 'nicht in der Garage',
+ ['garage_storing'] = 'Wir versuchen das Fahrzeug einzulagern. Bitte stelle sicher, dass sich kein Spieler in der Nähe des Fahrzeugs befindet.',
+ ['garage_has_stored'] = 'Das Fahrzeug wurde in deiner Garage eingelagert.',
+ ['garage_has_notstored'] = 'Es wurde kein Fahrzeug in der Nähe gefunden, dass dir gehört.',
+ ['garage_notavailable'] = 'Dein Fahrzeug ist nicht in der Garage.',
+ ['garage_blocked'] = 'Es existieren keine verfügbaren Spawnpoints!',
+ ['garage_empty'] = 'Du hast keine Fahrzeuge in deiner Garage.',
+ ['garage_released'] = 'Dein Fahrzeug wurde aus der Garage gefahren.',
+ ['garage_store_nearby'] = 'Es sind keine Fahrzeuge in der Nähe.',
+ ['garage_storeditem'] = 'Öffne Garage',
+ ['garage_storeitem'] = 'Fahrzeug in der Garage einlagern',
+ ['garage_buyitem'] = 'Fahrzeug-Shop',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'Fahrzeug-Shop',
+ ['vehicleshop_confirm'] = 'Du möchstest dieses Fahrzeug kaufen?',
+ ['vehicleshop_bought'] = 'Du hast dir einen %s für $%s gekauft!',
+ ['vehicleshop_money'] = 'Du kannst dir dieses Fahrzeug nicht leisten!',
+ ['vehicleshop_awaiting_model'] = 'Dieses Fahrzeug lädt bitte warte',
+ ['confirm_no'] = 'Nein',
+ ['confirm_yes'] = 'Ja',
+ -- Action Menu
+ ['revive_inprogress'] = 'Eine Wiederbelebung findet statt!',
+ ['revive_complete'] = 'Du hast %s wiederbelebt',
+ ['revive_complete_award'] = 'Du hast %s wiederbelebt und dabei $%s erten!',
+ ['revive_fail_offline'] = 'Dieser Spieler ist nicht länger online',
+ ['heal_inprogress'] = 'Du heilst!',
+ ['heal_complete'] = 'Du hast %s geheilt!',
+ ['no_players'] = 'Keine Spieler in der Nähe',
+ ['player_not_unconscious'] = 'Diese Spieler ist nicht bewusstlos!',
+ ['player_not_conscious'] = 'Dieser Spieler ist nicht bei Bewusstsein!',
+ -- Boss Menu
+ ['boss_actions'] = 'Chef-Aktionen',
+ -- Misc
+ ['invalid_amount'] = 'Ungültige Menge',
+ ['actions_prompt'] = 'Drücke [E] um das Rettungsdienst-Menü öffnen.',
+ ['deposit_amount'] = 'Menge deponieren',
+ ['money_withdraw'] = 'Menge abheben',
+ ['fast_travel'] = 'Drücke [E] um schnellzureisen.',
+ ['open_pharmacy'] = 'Drücke [E] um die Apotheke zu öffnen.',
+ ['pharmacy_menu_title'] = 'Apotheke',
+ ['pharmacy_take'] = 'Nimm %s',
+ ['medikit'] = 'Medikit',
+ ['bandage'] = 'Verbände',
+ ['max_item'] = 'Du kannst nicht mehr tragen.',
+ -- F6 Menu
+ ['ems_menu'] = 'Rettungsdienst-Menü',
+ ['ems_menu_title'] = 'Rettungsdienst-Menü',
+ ['ems_menu_revive'] = 'Spieler wiederbeleben',
+ ['ems_menu_putincar'] = 'In Fahrzeug stecken',
+ ['ems_menu_small'] = 'Kleine Wunden behandeln',
+ ['ems_menu_big'] = 'Ernsthafte Verletzungen behandeln',
+ -- Death
+ ['respawn_available_in'] = 'Respawn in %s Minuten %s Sekundenrfügbar',
+ ['respawn_bleedout_in'] = 'Du wirst in %s Minuten %s Sekundensbluten\n',
+ ['respawn_bleedout_prompt'] = 'Drücke [E] zu respawnen',
+ ['respawn_bleedout_fine'] = 'Drücke [E] um für $%s zu respawnen',
+ ['respawn_bleedout_fine_msg'] = 'Du hast $%s bezahlt, um zu respawnen.',
+ ['distress_send'] = 'Drücke [G] um ein Notsignal zu senden',
+ ['distress_sent'] = 'Notsignal wurde an den Rettungsdienst übermittelt!',
+ -- Revive
+ ['revive_help'] = 'Belebe einen Spieler wieder',
+ -- Item
+ ['used_medikit'] = 'Du hast Medikit verwendet',
+ ['used_bandage'] = 'Du hast Verband verwendet',
+ ['not_enough_medikit'] = 'Du hast keine Medikits',
+ ['not_enough_bandage'] = 'Du hast keine Verbände',
+ ['healed'] = 'Du wurdest behandelt.',
+ -- Blips
+ ['blip_hospital'] = 'Krankenhaus',
+ ['blip_dead'] = 'Bewusstloser Spieler',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/en.lua b/[esx_addons]/esx_ambulancejob/locales/en.lua
new file mode 100644
index 00000000..4f7831d9
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/en.lua
@@ -0,0 +1,83 @@
+Locales['en'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'Locker Room',
+ ['ems_clothes_civil'] = 'Civilian Clothes',
+ ['ems_clothes_ems'] = 'EMS Clothes',
+ -- Vehicles
+ ['ambulance'] = 'Ambulance',
+ ['helicopter_prompt'] = 'Press [E] to access the Helicopter Actions.',
+ ['garage_prompt'] = 'Press [E] to access the Vehicle Actions.',
+ ['garage_title'] = 'Vehicle Actions',
+ ['garage_stored'] = 'Stored',
+ ['garage_notstored'] = 'Not in garage',
+ ['garage_storing'] = 'We\'re attempting to remove the vehicle, make sure no players are around it.',
+ ['garage_has_stored'] = 'The vehicle has been stored in your garage',
+ ['garage_has_notstored'] = 'No nearby owned vehicles were found',
+ ['garage_notavailable'] = 'Your vehicle is not stored in the garage.',
+ ['garage_blocked'] = 'There\'s no available spawn points!',
+ ['garage_empty'] = 'You don\'t have any vehicles in your garage.',
+ ['garage_released'] = 'Your vehicle has been released from the garage.',
+ ['garage_store_nearby'] = 'There is no nearby vehicles.',
+ ['garage_storeditem'] = 'Open garage',
+ ['garage_storeitem'] = 'Store vehicle in garage',
+ ['garage_buyitem'] = 'Vehicle shop',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'Yehicle Shop',
+ ['vehicleshop_confirm'] = 'Yo you want to buy this vehicle?',
+ ['vehicleshop_bought'] = 'You have bought %s for $%s',
+ ['vehicleshop_money'] = 'You cannot afford that vehicle',
+ ['vehicleshop_awaiting_model'] = 'The vehicle is currently DOWNLOADING & LOADING please wait',
+ ['confirm_no'] = 'No',
+ ['confirm_yes'] = 'Yes',
+ -- Action Menu
+ ['revive_inprogress'] = 'A revive is in progress!',
+ ['revive_complete'] = 'You have revived %s',
+ ['revive_complete_award'] = 'You have revived %s and earned $%s!',
+ ['revive_fail_offline'] = 'That player is no longer online',
+ ['heal_inprogress'] = 'You are healing!',
+ ['heal_complete'] = 'You have healed %s',
+ ['no_players'] = 'No players nearby',
+ ['player_not_unconscious'] = 'That player is not unconscious!',
+ ['player_not_conscious'] = 'That player is not conscious!',
+ -- Boss Menu
+ ['boss_actions'] = 'Boss Actions',
+ -- Misc
+ ['invalid_amount'] = 'Invalid amount',
+ ['actions_prompt'] = 'Press [E] access the Ambulance Actions.',
+ ['deposit_amount'] = 'Deposit Amount',
+ ['money_withdraw'] = 'Amount withdrawn',
+ ['fast_travel'] = 'press [E] to fast travel.',
+ ['open_pharmacy'] = 'Press [E] to open the pharmacy.',
+ ['pharmacy_menu_title'] = 'Pharmacy',
+ ['pharmacy_take'] = 'Take %s',
+ ['medikit'] = 'Medikit',
+ ['bandage'] = 'Bandage',
+ ['max_item'] = 'You are already carrying enough.',
+ -- F6 Menu
+ ['ems_menu'] = 'EMS Menu',
+ ['ems_menu_title'] = 'Ambulance - EMS Menu',
+ ['ems_menu_revive'] = 'Revive Player',
+ ['ems_menu_putincar'] = 'Put in Vehicle',
+ ['ems_menu_small'] = 'Heal small wounds',
+ ['ems_menu_big'] = 'Treat serious injuries',
+ ['ems_menu_search'] = 'Patient not found',
+ -- Death
+ ['respawn_available_in'] = 'Respawn available in %s minutes %s seconds',
+ ['respawn_bleedout_in'] = 'You will bleed out in %s minutes %s seconds\n',
+ ['respawn_bleedout_prompt'] = 'Hold [E] to respawn',
+ ['respawn_bleedout_fine'] = 'Hold [E] to respawn for $%s',
+ ['respawn_bleedout_fine_msg'] = 'You paid $%s to respawn.',
+ ['distress_send'] = 'Press [G] to send distress signal',
+ ['distress_sent'] = 'Distress signal has been sent to available units!',
+ -- Revive
+ ['revive_help'] = 'revive a player',
+ -- Item
+ ['used_medikit'] = 'You have used 1x medikit',
+ ['used_bandage'] = 'You have used 1x bandage',
+ ['not_enough_medikit'] = 'You do not have medikit.',
+ ['not_enough_bandage'] = 'You do not have bandage.',
+ ['healed'] = 'You have been treated.',
+ -- Blips
+ ['blip_hospital'] = 'Hospital',
+ ['blip_dead'] = 'Dying Player',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/es.lua b/[esx_addons]/esx_ambulancejob/locales/es.lua
new file mode 100644
index 00000000..5e3d3235
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/es.lua
@@ -0,0 +1,86 @@
+-- Traducción by https://github.com/ItsManueh
+
+Locales['es'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'Guardarropa',
+ ['ems_clothes_civil'] = 'Camiseta',
+ ['ems_clothes_ems'] = 'Equipo de ambulancia',
+ -- Vehicles
+ ['ambulance'] = 'Ambulancia',
+ ['helicopter_prompt'] = 'Presiona [E] para acceder al Acciones de helicópteros.',
+ ['garage_prompt'] = 'Presiona [E] para acceder al Acciones de vehículos.',
+ ['garage_title'] = 'Acciones de vehículos',
+ ['garage_stored'] = 'Almacenado',
+ ['garage_notstored'] = 'No en el garaje',
+ ['garage_storing'] = 'Estamos intentando retirar el vehículo, asegúrese de que no haya jugadores a su alrededor.',
+ ['garage_has_stored'] = 'El vehículo se ha guardado en su garaje',
+ ['garage_has_notstored'] = 'No se encontraron vehículos de propiedad cercana',
+ ['garage_notavailable'] = 'Su vehículo no está guardado en el garaje.',
+ ['garage_blocked'] = '¡No hay puntos de generación disponibles!',
+ ['garage_empty'] = 'No tiene ningún vehículo en su garaje.',
+ ['garage_released'] = 'Su vehículo ha sido sacado del garaje.',
+ ['garage_store_nearby'] = 'No hay vehículos cercanos.',
+ ['garage_storeditem'] = 'Garaje abierto',
+ ['garage_storeitem'] = 'Almacenar vehículo en garaje',
+ ['garage_buyitem'] = 'Tienda de vehículos',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'Tienda de vehículos',
+ ['vehicleshop_confirm'] = '¿Quieres comprar este vehículo?',
+ ['vehicleshop_bought'] = 'Usted ha comprado %s para $%s',
+ ['vehicleshop_money'] = 'No puedes pagar ese vehículo',
+ ['vehicleshop_awaiting_model'] = 'El vehículo está actualmente DESCARGANDO & CARGANDO por favor espere.',
+ ['confirm_no'] = 'No',
+ ['confirm_yes'] = 'Si',
+ -- Action Menu
+ ['revive_inprogress'] = 'Reanimación en curso',
+ ['revive_complete'] = 'Has sido reanimado %s',
+ ['revive_complete_award'] = 'Has sido reanimado %s, $%s',
+ ['revive_fail_offline'] = 'Ese jugador ya no está en línea',
+ ['heal_inprogress'] = '!Te estas curando!',
+ ['heal_complete'] = 'Te has curado %s',
+ ['no_players'] = 'Ningún jugador cerca',
+ ['player_not_unconscious'] = 'n\'Estás inconsciente',
+ ['player_not_conscious'] = '¡Ese jugador no está consciente!',
+ -- Boss Menu
+ ['boss_actions'] = 'Acciones del jefe',
+ -- Misc
+ ['invalid_amount'] = 'Cantidad no válida',
+ ['actions_prompt'] = 'Presiona [E] acceder al Acciones de ambulancia.',
+ ['deposit_amount'] = 'Cantidad de fianza depositada',
+ ['money_withdraw'] = 'Cantidad de fianza retirada',
+ ['fast_travel'] = 'Presiona [E] para viajar rápido.',
+ ['open_pharmacy'] = 'Presiona [E] para abrir la farmacia.',
+ ['pharmacy_menu_title'] = 'Farmacia',
+ ['pharmacy_take'] = 'tomar %s',
+ ['medikit'] = 'Kit médico',
+ ['bandage'] = 'Vendas',
+ ['max_item'] = 'Ya has ocupado el máximo número de items disponibles.',
+ -- F6 Menu
+ ['ems_menu'] = 'ayuda ciudadana',
+ ['ems_menu_title'] = 'ambulancia - Ayuda Ciudadana',
+ ['ems_menu_revive'] = 'reanimar',
+ ['ems_menu_putincar'] = 'meter en el vehículo',
+ ['ems_menu_small'] = 'Curar pequeñas heridas',
+ ['ems_menu_big'] = 'Tratar lesiones graves',
+ ['ems_menu_search'] = 'Paciente no encontrado',
+ -- Death
+ ['respawn_available_in'] = 'Reaparición disponible en %s minutes %s seconds',
+ ['respawn_bleedout_in'] = 'te desangrarás en %s minutes %s seconds\n',
+ ['respawn_bleedout_prompt'] = 'Mantén [E] reaparecer',
+ ['respawn_bleedout_fine'] = 'Mantén [E] para reaparecer $%s',
+ ['respawn_bleedout_fine_msg'] = 'Tu pagaste $%s para reaparecer.',
+ ['distress_send'] = 'Presiona [G] para enviar señal de socorro',
+ ['distress_sent'] = 'Se ha enviado una señal de socorro a las unidades disponibles.',
+
+ -- Revive
+ ['revive_help'] = 'Revivir un jugador',
+ -- Item
+ ['used_medikit'] = 'Has usado 1x Kit médico',
+ ['used_bandage'] = 'Has usado 1x Vendas',
+ ['not_enough_medikit'] = 'Usted no tiene kit médico.',
+ ['not_enough_bandage'] = 'Usted no tiene vendas.',
+ ['healed'] = 'Has sido tratado.',
+ -- Blips
+ ['blip_hospital'] = 'Hospital',
+ ['blip_dead'] = 'Jugador inconsciente',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/et.lua b/[esx_addons]/esx_ambulancejob/locales/et.lua
new file mode 100644
index 00000000..a596173f
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/et.lua
@@ -0,0 +1,83 @@
+Locales['et'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'Riidekapp',
+ ['ems_clothes_civil'] = 'Tsiviili riided',
+ ['ems_clothes_ems'] = 'Kiirabi riided',
+ -- Vehicles
+ ['ambulance'] = 'Kiirabi',
+ ['helicopter_prompt'] = 'Vajuta [E], et avada helikopteri garaaž.',
+ ['garage_prompt'] = 'Vajuta [E], et vaadata sõiduki tegevusi.',
+ ['garage_title'] = 'Sõiduki tegevus',
+ ['garage_stored'] = 'Pargitud',
+ ['garage_notstored'] = 'Pole garaažis',
+ ['garage_storing'] = 'Proovime eemaldada sõidukit, veenduge, et kedagi poleks ligiduses.',
+ ['garage_has_stored'] = 'Sõiduk on pargitud teie garaaži',
+ ['garage_has_notstored'] = 'Teie ligiduses pole ühtegi teie sõidukit',
+ ['garage_notavailable'] = 'Teie sõiduk pole garaažis.',
+ ['garage_blocked'] = 'Sõiduki jaoks pole siin ruumi!',
+ ['garage_empty'] = 'Sul pole ühtegi sõidukit garaažis.',
+ ['garage_released'] = 'Teie sõiduk on juba garaažist välja võetud.',
+ ['garage_store_nearby'] = 'Ühtegi sõidukit pole ligiduses.',
+ ['garage_storeditem'] = 'Ava garaaž',
+ ['garage_storeitem'] = 'Pargi sõiduk garaaži',
+ ['garage_buyitem'] = 'Auto pood',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'Auto pood',
+ ['vehicleshop_confirm'] = 'Soovid osta seda sõidukit?',
+ ['vehicleshop_bought'] = 'Sa ostsid %s $%s eest',
+ ['vehicleshop_money'] = 'Sa ei saa lubada seda sõidukit endale',
+ ['vehicleshop_awaiting_model'] = 'Sõidukit hetkel laetakse',
+ ['confirm_no'] = 'Ei',
+ ['confirm_yes'] = 'Jah',
+ -- Action Menu
+ ['revive_inprogress'] = 'Elustamine pooleli!',
+ ['revive_complete'] = 'Sa elustasid %s',
+ ['revive_complete_award'] = 'Sa elustasid %s ja teenisid $%s!',
+ ['revive_fail_offline'] = 'Isik pole enam linnas',
+ ['heal_inprogress'] = 'Sa paraned!',
+ ['heal_complete'] = 'Sa ravisid %s',
+ ['no_players'] = 'Isikuid pole läheduses',
+ ['player_not_unconscious'] = 'See isik pole teadvuseta!',
+ ['player_not_conscious'] = 'See isik pole teadvusel!',
+ -- Boss Menu
+ ['boss_actions'] = 'Boss menüü',
+ -- Misc
+ ['invalid_amount'] = 'Vale kogus',
+ ['actions_prompt'] = 'Vajuta [E], et avada kiirabi tegevused.',
+ ['deposit_amount'] = 'Pane firmaarvele raha',
+ ['money_withdraw'] = 'Võta firmaarvelt raha',
+ ['fast_travel'] = 'press [E] to fast travel.',
+ ['open_pharmacy'] = 'Vajuta [E], et avada apteek.',
+ ['pharmacy_menu_title'] = 'Apteek',
+ ['pharmacy_take'] = 'Võta %s',
+ ['medikit'] = 'Esmaabikarp',
+ ['bandage'] = 'Sidemed',
+ ['max_item'] = 'Sa kannad piisavalt juba.',
+ -- F6 Menu
+ ['ems_menu'] = 'Kiirabi',
+ ['ems_menu_title'] = 'Kiirabi',
+ ['ems_menu_revive'] = 'Elusta isikut',
+ ['ems_menu_putincar'] = 'Pane sõidukisse',
+ ['ems_menu_small'] = 'Ravi väikseid haavi',
+ ['ems_menu_big'] = 'Ravi tõsiseid haavu',
+ ['ems_menu_search'] = 'Patsienti ei leitud',
+ -- 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',
+ ['respawn_bleedout_prompt'] = 'Hoia [E] tähte all, et ärgata haiglas',
+ ['respawn_bleedout_fine'] = 'Hoia [E] tähte all, et ärgata haiglas $%s eest',
+ ['respawn_bleedout_fine_msg'] = 'Sa maksid $%s, et ärgata haiglas.',
+ ['distress_send'] = 'Vajuta [G] et saata abikutse kiirabile',
+ ['distress_sent'] = 'Abikutse on saadetud kõikidele kiirabidele kes on linnas!',
+ -- Revive
+ ['revive_help'] = 'Elusta isikut',
+ -- Item
+ ['used_medikit'] = 'Sa kasutasid ära 1x esmaabikarbi',
+ ['used_bandage'] = 'Sa kasutasid ära 1x sideme',
+ ['not_enough_medikit'] = 'Sul pole esmaabikarpe.',
+ ['not_enough_bandage'] = 'Sul pole sidemeid.',
+ ['healed'] = 'Teid on ravitud.',
+ -- Blips
+ ['blip_hospital'] = 'Haigla',
+ ['blip_dead'] = 'Vigastatud isik',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/fi.lua b/[esx_addons]/esx_ambulancejob/locales/fi.lua
new file mode 100644
index 00000000..b7b20d3a
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/fi.lua
@@ -0,0 +1,83 @@
+Locales['fi'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'vaatelokero',
+ ['ems_clothes_civil'] = 'siviilikamppeet',
+ ['ems_clothes_ems'] = 'työkamppeet',
+ -- Vehicles
+ ['ambulance'] = 'ambulance',
+ ['helicopter_prompt'] = 'press [E] to access the Helicopter Actions.',
+ ['garage_prompt'] = 'press [E] to access the Vehicle Actions.',
+ ['garage_title'] = 'vehicle Actions',
+ ['garage_stored'] = 'stored',
+ ['garage_notstored'] = 'not in garage',
+ ['garage_storing'] = 'we\'re attempting to remove the vehicle, make sure no players are around it.',
+ ['garage_has_stored'] = 'the vehicle has been stored in your garage',
+ ['garage_has_notstored'] = 'no nearby owned vehicles were found',
+ ['garage_notavailable'] = 'your vehicle is not stored in the garage.',
+ ['garage_blocked'] = 'there\'s no available spawn points!',
+ ['garage_empty'] = 'you don\'t have any vehicles in your garage.',
+ ['garage_released'] = 'your vehicle has been released from the garage.',
+ ['garage_store_nearby'] = 'there is no nearby vehicles.',
+ ['garage_storeditem'] = 'open garage',
+ ['garage_storeitem'] = 'store vehicle in garage',
+ ['garage_buyitem'] = 'vehicle shop',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'vehicle Shop',
+ ['vehicleshop_confirm'] = 'do you want to buy this vehicle?',
+ ['vehicleshop_bought'] = 'you have bought %s for $%s',
+ ['vehicleshop_money'] = 'you cannot afford that vehicle',
+ ['vehicleshop_awaiting_model'] = 'the vehicle is currently DOWNLOADING & LOADING please wait',
+ ['confirm_no'] = 'no',
+ ['confirm_yes'] = 'yes',
+ -- Action Menu
+ ['revive_inprogress'] = 'elvytys on menossa!',
+ ['revive_complete'] = 'sinä elvytit henkilön %s',
+ ['revive_complete_award'] = 'sinä elvytit henkilön %s ja tienasit $%s!',
+ ['revive_fail_offline'] = 'that player is no longer online',
+ ['heal_inprogress'] = 'sinä olet parantamassa!',
+ ['heal_complete'] = 'sinä paransit henkilön %s',
+ ['no_players'] = 'ei pelaajia lähettyvillä',
+ ['player_not_unconscious'] = 'tämä pelaaja ei ole tajuton!',
+ ['player_not_conscious'] = 'tämä pelaaja ei ole tajuissaan!',
+ -- Boss Menu
+ ['boss_actions'] = 'pomovalikko',
+ -- Misc
+ ['invalid_amount'] = ' llinen summa',
+ ['actions_prompt'] = 'press [E] access the Ambulance Actions.',
+ ['deposit_amount'] = 'talletettava summa',
+ ['money_withdraw'] = 'nostettava summa',
+ ['fast_travel'] = 'paina [E] liikkuaksesi nopeasti kerrosten välillä',
+ ['open_pharmacy'] = 'paina [E] avataksesi lääkekaappi',
+ ['pharmacy_menu_title'] = 'lääkekaappi',
+ ['pharmacy_take'] = 'ota %s',
+ ['medikit'] = 'ensiapupakkauksia',
+ ['bandage'] = 'sideharsoja',
+ ['max_item'] = 'sinulla on jo tarpeeksi mukana',
+ -- F6 Menu
+ ['ems_menu'] = 'ensihoito menu',
+ ['ems_menu_title'] = 'ensihoito - Siviilin kanssakäyminen',
+ ['ems_menu_revive'] = 'elvytä',
+ ['ems_menu_putincar'] = 'Laita ajoneuvoon',
+ ['ems_menu_small'] = 'hoida pieniä haavoja',
+ ['ems_menu_big'] = 'hoida isoja haavoja',
+ ['ems_menu_search'] = 'potilasta ei löydy',
+ -- Death
+ ['respawn_available_in'] = 'respawn available in %s minutes %s seconds',
+ ['respawn_bleedout_in'] = 'you will bleed out in %s minutes %s seconds\n',
+ ['respawn_bleedout_prompt'] = 'hold [E] to respawn',
+ ['respawn_bleedout_fine'] = 'hold [E] to respawn for $%s',
+ ['respawn_bleedout_fine_msg'] = 'you paid $%s to respawn.',
+ ['distress_send'] = 'press [G] to send distress signal',
+ ['distress_sent'] = 'distress signal has been sent to available units!',
+ -- Revive
+ ['revive_help'] = 'elvytä pelaaja',
+ -- Item
+ ['used_medikit'] = 'sinä käytit ensiapupakkauksen',
+ ['used_bandage'] = 'sinä käytit sideharsoja',
+ ['not_enough_medikit'] = 'ei tarpeeksi ensiapupakkauksia.',
+ ['not_enough_bandage'] = 'ei tarpeeksi sideharsoja.',
+ ['healed'] = 'sinua parannettiin',
+ -- Blips
+ ['blip_hospital'] = 'sairaala',
+ ['blip_dead'] = 'unconscious player',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/fr.lua b/[esx_addons]/esx_ambulancejob/locales/fr.lua
new file mode 100644
index 00000000..08a741ab
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/fr.lua
@@ -0,0 +1,83 @@
+Locales['fr'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'vestiaire',
+ ['ems_clothes_civil'] = 'tenue Civil',
+ ['ems_clothes_ems'] = 'tenue Ambulancier',
+ -- Vehicles
+ ['ambulance'] = 'ambulance',
+ ['helicopter_prompt'] = 'appuyez sur [E] pour accéder aux Actions de l\'hélicoptère.',
+ ['garage_prompt'] = 'appuyez sur [E] pour accéder aux Actions des véhciules.',
+ ['garage_title'] = 'actions véhicules',
+ ['garage_stored'] = 'rangé',
+ ['garage_notstored'] = 'en dehors du garage',
+ ['garage_storing'] = 'tentative de suppression du véhicule, assurez-vous que personne ne soit autour.',
+ ['garage_has_stored'] = 'le véhicule a bien été rangé dans le garage',
+ ['garage_has_notstored'] = 'aucun véhicule dans le garage',
+ ['garage_notavailable'] = 'votre véhicule n\'est pas rangé dans le garage.',
+ ['garage_blocked'] = 'la sortie du garage est obstruée!',
+ ['garage_empty'] = 'vous n\'avez aucun véhicule dans le garage.',
+ ['garage_released'] = 'votre véhicule a été sorti.',
+ ['garage_store_nearby'] = 'aucun véhicule a proximité.',
+ ['garage_storeditem'] = 'ouvrir le garage',
+ ['garage_storeitem'] = 'ranger le véhicule',
+ ['garage_buyitem'] = 'magasin véhicule',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'magasin véhicule',
+ ['vehicleshop_confirm'] = 'voulez-vous acheter ce véhicule?',
+ ['vehicleshop_bought'] = 'vous avez acheté %s pour $%s',
+ ['vehicleshop_money'] = 'vous ne pouvez pas acheter ce véhicule',
+ ['vehicleshop_awaiting_model'] = 'le véhicule est actuellement en PRÉPARATION veuillez patienter',
+ ['confirm_no'] = 'non',
+ ['confirm_yes'] = 'oui',
+ -- Action Menu
+ ['revive_inprogress'] = 'réanimation en cours',
+ ['revive_complete'] = 'vous avez réanimé %s',
+ ['revive_complete_award'] = 'vous avez réanimé %s, $%s',
+ ['revive_fail_offline'] = 'ce joueur n\'est plus en ligne',
+ ['heal_inprogress'] = 'vous soignez...',
+ ['heal_complete'] = 'vous avez soigné %s',
+ ['no_players'] = 'aucun joueur à proximité',
+ ['player_not_unconscious'] = 'n\'est pas inconscient',
+ ['player_not_conscious'] = 'Cette personne est inconsciente!',
+ -- Boss Menu
+ ['boss_actions'] = 'action Patron',
+ -- Misc
+ ['invalid_amount'] = 'quantité invalide',
+ ['actions_prompt'] = 'appuyez sur [E] accédez aux Actions d\'Ambulance.',
+ ['deposit_amount'] = 'montant du dépôt',
+ ['money_withdraw'] = 'montant du retrait',
+ ['fast_travel'] = 'appuyez sur [E] pour vous déplacer rapidement.',
+ ['open_pharmacy'] = 'appuyez sur [E] pour ouvrir la pharmacie.',
+ ['pharmacy_menu_title'] = 'Pharmacie',
+ ['pharmacy_take'] = 'prendre %s',
+ ['medikit'] = 'kit de soin',
+ ['bandage'] = 'bandage',
+ ['max_item'] = 'vous en portez déjà assez sur vous.',
+ -- F6 Menu
+ ['ems_menu'] = 'interaction citoyen',
+ ['ems_menu_title'] = 'ambulance - Interactions Citoyen',
+ ['ems_menu_revive'] = 'réanimer',
+ ['ems_menu_putincar'] = 'mettre dans véhicule',
+ ['ems_menu_small'] = 'soigner petites blessures',
+ ['ems_menu_big'] = 'soigner blessures graves',
+ ['ems_menu_search'] = 'patient introuvable',
+ -- 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',
+ ['respawn_bleedout_prompt'] = 'maintenez [E] pour être réanimé',
+ ['respawn_bleedout_fine'] = 'maintenez [E] pour être réanimé pour $%s',
+ ['respawn_bleedout_fine_msg'] = 'vous avez payé $%s pour être réanimer.',
+ ['distress_send'] = 'appuyez sur [G] pour envoyer un signal de détresse',
+ ['distress_sent'] = 'un signal a été envoyé à toutes les unités disponibles!',
+ -- Revive
+ ['revive_help'] = 'relancer un joueur',
+ -- Item
+ ['used_medikit'] = 'vous avez utilisé 1x kit de soin',
+ ['used_bandage'] = 'vous avez utilisé 1x bandage',
+ ['not_enough_medikit'] = 'vous n\'avez pas de kit de soin.',
+ ['not_enough_bandage'] = 'vous n\'avez pas de bandage.',
+ ['healed'] = 'vous avez été soigné.',
+ -- Blips
+ ['blip_hospital'] = 'hôpital',
+ ['blip_dead'] = 'joueur inconscient',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/hu.lua b/[esx_addons]/esx_ambulancejob/locales/hu.lua
new file mode 100644
index 00000000..558097cf
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/hu.lua
@@ -0,0 +1,83 @@
+Locales['hu'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'Öltöző',
+ ['ems_clothes_civil'] = 'Civil ruházat',
+ ['ems_clothes_ems'] = 'Munkaruha',
+ -- Vehicles
+ ['ambulance'] = 'Mentőautó',
+ ['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'] = ' 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'] = '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'] = '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'] = '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'] = 'É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'] = 'Nyomd meg az [E] gombot a gyógyszer kivételéhez.',
+ ['pharmacy_menu_title'] = 'Kellékek',
+ ['pharmacy_take'] = 'Kivétel: %s',
+ ['medikit'] = 'Elsősegély készlet',
+ ['bandage'] = 'Kötszer',
+ ['max_item'] = 'Nem fér már el nálad!',
+ -- F6 Menu
+ ['ems_menu'] = 'EMS menü',
+ ['ems_menu_title'] = 'EMS Menu',
+ ['ems_menu_revive'] = 'Újraélesztés',
+ ['ems_menu_putincar'] = 'Jármübe rakás',
+ ['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',
+ -- Death
+ ['respawn_available_in'] = 'Újraéledés: %s',
+ ['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'] = '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ékost',
+ -- Item
+ ['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',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/nl.lua b/[esx_addons]/esx_ambulancejob/locales/nl.lua
new file mode 100644
index 00000000..01c40aff
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/nl.lua
@@ -0,0 +1,82 @@
+Locales['nl'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'Kleedkamer',
+ ['ems_clothes_civil'] = 'Burgerkleding',
+ ['ems_clothes_ems'] = 'Ambulance Kleding',
+ -- Vehicles
+ ['ambulance'] = 'Ambulance',
+ ['helicopter_prompt'] = 'Druk op [E] om de Lifeliners te beheren.',
+ ['garage_prompt'] = 'Druk op [E] om de Garage te openen.',
+ ['garage_title'] = 'Garage',
+ ['garage_stored'] = 'In Garage',
+ ['garage_notstored'] = 'Niet In Garage',
+ ['garage_storing'] = 'We proberen je voertuig op te bergen, zorg dat er niemand in de buurt is.',
+ ['garage_has_stored'] = 'Je voertuig is in de garage gezet',
+ ['garage_has_notstored'] = 'Er zijn geen voertuigen in de buurt gevonden die van jou zijn',
+ ['garage_notavailable'] = 'Je voertuig staat niet in de garage.',
+ ['garage_blocked'] = 'Er is geen spawnplek beschikbaar!',
+ ['garage_empty'] = 'Er staat geen voertuig in je garage.',
+ ['garage_released'] = 'Je voertuig is uit de garage gehaald.',
+ ['garage_store_nearby'] = 'Er zijn geen voertuigen in de buurt.',
+ ['garage_storeditem'] = 'Open garage',
+ ['garage_storeitem'] = 'Zet voertuig in de garage',
+ ['garage_buyitem'] = 'Voertuigwinkel',
+ ['shop_item'] = '€%s',
+ ['vehicleshop_title'] = 'Voertuigwinkel',
+ ['vehicleshop_confirm'] = 'Wil je dit voertuig kopen?',
+ ['vehicleshop_bought'] = 'Je hebt een %s gekocht voor €%s',
+ ['vehicleshop_money'] = 'Je kan dit voertuig niet betalen',
+ ['vehicleshop_awaiting_model'] = 'Het voertuig is aan het DOWNLOADEN & LADEN, even geduld',
+ ['confirm_no'] = 'Nee',
+ ['confirm_yes'] = 'Ja',
+ -- Action Menu
+ ['revive_inprogress'] = 'Reanimatie is in gang gezet!',
+ ['revive_complete'] = 'Je hebt %s gereanimeerd',
+ ['revive_complete_award'] = 'Je hebt %s gereanimeerd en €%s verdient!',
+ ['revive_fail_offline'] = 'Deze speler is niet langer online',
+ ['heal_inprogress'] = 'Je wordt genezen!',
+ ['heal_complete'] = 'Je hebt %s genezen',
+ ['no_players'] = 'Geen spelers in de buurt',
+ ['player_not_unconscious'] = 'Deze persoon is niet bewusteloos!',
+ ['player_not_conscious'] = 'Deze persoon is bewusteloos!',
+ -- Boss Menu
+ ['boss_actions'] = 'Manager Acties',
+ -- Misc
+ ['invalid_amount'] = ' ig aantal',
+ ['actions_prompt'] = 'Druk op [E] om de Ambulance Acties te bekijken.',
+ ['deposit_amount'] = 'Bedrag om te storten',
+ ['money_withdraw'] = 'Bedrag om op te nemen',
+ ['fast_travel'] = 'Druk op [E] om snel te reizen.',
+ ['open_pharmacy'] = 'Druk op [E] om de apotheek te openen.',
+ ['pharmacy_menu_title'] = 'Apotheek',
+ ['pharmacy_take'] = 'Pak %s',
+ ['medikit'] = 'Spoedkoffer',
+ ['bandage'] = 'Verbanddoos',
+ ['max_item'] = 'Je draagt al genoeg bij je.',
+ -- F6 Menu
+ ['ems_menu'] = 'Ambulance Menu',
+ ['ems_menu_title'] = 'Ambulance - Menu',
+ ['ems_menu_revive'] = 'Reanimeer speler',
+ ['ems_menu_putincar'] = 'Zet in voertuig',
+ ['ems_menu_small'] = 'Behandel kleine verwondingen',
+ ['ems_menu_big'] = 'Behandel grote verwondingen',
+ -- Death
+ ['respawn_available_in'] = 'Respawn beschikbaar in %s minuten en %s seconden',
+ ['respawn_bleedout_in'] = 'Je zal doodbloeden in %s minuten %s seconden\n',
+ ['respawn_bleedout_prompt'] = 'Houd [E] ingedrukt om te respawnen',
+ ['respawn_bleedout_fine'] = 'Houd [E] ingedrukt om te respawnen voor €%s',
+ ['respawn_bleedout_fine_msg'] = 'Je hebt €%s betaald om te respawnen.',
+ ['distress_send'] = 'Druk op [G] om een noodsignaal te verzenden',
+ ['distress_sent'] = 'Noodsignaal verzonden naar alle beschikbare eenheden!',
+ -- Revive
+ ['revive_help'] = 'Revive een speler',
+ -- Item
+ ['used_medikit'] = 'Je hebt 1 spoedkoffer gebruikt',
+ ['used_bandage'] = 'Je hebt 1 verbandkoffer gebruikt',
+ ['not_enough_medikit'] = 'Je hebt geen spoedkoffer bij.',
+ ['not_enough_bandage'] = 'Je hebt geen verbandkoffer bij.',
+ ['healed'] = 'Je bent behandeld.',
+ -- Blips
+ ['blip_hospital'] = 'Ziekenhuis',
+ ['blip_dead'] = 'Bewusteloze speler',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/pl.lua b/[esx_addons]/esx_ambulancejob/locales/pl.lua
new file mode 100644
index 00000000..a9b9df68
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/pl.lua
@@ -0,0 +1,83 @@
+Locales['pl'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'szatnia',
+ ['ems_clothes_civil'] = 'ubrania cywilne',
+ ['ems_clothes_ems'] = 'ubrania EMS',
+ -- Vehicles
+ ['ambulance'] = 'ambulance',
+ ['helicopter_prompt'] = 'press [E] to access the Helicopter Actions.',
+ ['garage_prompt'] = 'press [E] to access the Vehicle Actions.',
+ ['garage_title'] = 'vehicle Actions',
+ ['garage_stored'] = 'stored',
+ ['garage_notstored'] = 'not in garage',
+ ['garage_storing'] = 'we\'re attempting to remove the vehicle, make sure no players are around it.',
+ ['garage_has_stored'] = 'the vehicle has been stored in your garage',
+ ['garage_has_notstored'] = 'no nearby owned vehicles were found',
+ ['garage_notavailable'] = 'your vehicle is not stored in the garage.',
+ ['garage_blocked'] = 'there\'s no available spawn points!',
+ ['garage_empty'] = 'you don\'t have any vehicles in your garage.',
+ ['garage_released'] = 'your vehicle has been released from the garage.',
+ ['garage_store_nearby'] = 'there is no nearby vehicles.',
+ ['garage_storeditem'] = 'open garage',
+ ['garage_storeitem'] = 'store vehicle in garage',
+ ['garage_buyitem'] = 'vehicle shop',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'vehicle Shop',
+ ['vehicleshop_confirm'] = 'do you want to buy this vehicle?',
+ ['vehicleshop_bought'] = 'you have bought %s for $%s',
+ ['vehicleshop_money'] = 'you cannot afford that vehicle',
+ ['vehicleshop_awaiting_model'] = 'the vehicle is currently DOWNLOADING & LOADING please wait',
+ ['confirm_no'] = 'no',
+ ['confirm_yes'] = 'yes',
+ -- Action Menu
+ ['revive_inprogress'] = 'trwa wskrzeszenie',
+ ['revive_complete'] = 'zostałeś wskrzeszony %s',
+ ['revive_complete_award'] = 'zostałeś wskrzeszony %s i zarobiono $%s!',
+ ['revive_fail_offline'] = 'that player is no longer online',
+ ['heal_inprogress'] = 'leczysz!',
+ ['heal_complete'] = 'zostałeś uleczony %s',
+ ['no_players'] = 'brak graczy w pobliżu',
+ ['player_not_unconscious'] = 'ten gracz nie jest nieprzytomny!',
+ ['player_not_conscious'] = 'ten gracz nie jest świadomy!',
+ -- Boss Menu
+ ['boss_actions'] = 'akcje szefa',
+ -- Misc
+ ['invalid_amount'] = ' widłowa kwota',
+ ['actions_prompt'] = 'press [E] access the Ambulance Actions.',
+ ['deposit_amount'] = 'kwota depozytu',
+ ['money_withdraw'] = 'wycofana kwota',
+ ['fast_travel'] = 'naciśnij na [E] do szybkiej podróży.',
+ ['open_pharmacy'] = 'naciśnij na [E] aby otworzyć aptekę',
+ ['pharmacy_menu_title'] = 'apteka',
+ ['pharmacy_take'] = 'weź %s',
+ ['medikit'] = 'apteczka',
+ ['bandage'] = 'bandaż',
+ ['max_item'] = 'już masz na sobie dość.',
+ -- F6 Menu
+ ['ems_menu'] = 'menu EMS',
+ ['ems_menu_title'] = 'eMS Menu - Ambulans',
+ ['ems_menu_revive'] = 'ożyw gracza',
+ ['ems_menu_putincar'] = 'umieścić w pojeździe',
+ ['ems_menu_small'] = 'ulecz małe rany',
+ ['ems_menu_big'] = 'ulecz poważne obrażenia',
+ ['ems_menu_search'] = 'nie znaleziono pacjenta',
+ -- Death
+ ['respawn_available_in'] = 'respawn available in %s minutes %s seconds',
+ ['respawn_bleedout_in'] = 'you will bleed out in %s minutes %s seconds\n',
+ ['respawn_bleedout_prompt'] = 'hold [E] to respawn',
+ ['respawn_bleedout_fine'] = 'hold [E] to respawn for $%s',
+ ['respawn_bleedout_fine_msg'] = 'you paid $%s to respawn.',
+ ['distress_send'] = 'press [G] to send distress signal',
+ ['distress_sent'] = 'distress signal has been sent to available units!',
+ -- Revive
+ ['revive_help'] = 'ożyw gracza',
+ -- Item
+ ['used_medikit'] = 'użyłeś 1x apteczki',
+ ['used_bandage'] = 'użyłeś 1x bandaża',
+ ['not_enough_medikit'] = 'nie posiadasz apteczki.',
+ ['not_enough_bandage'] = 'nie posiadasz bandaża.',
+ ['healed'] = 'zostałeś potraktowany',
+ -- Blips
+ ['blip_hospital'] = 'szpital',
+ ['blip_dead'] = 'unconscious player',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/si.lua b/[esx_addons]/esx_ambulancejob/locales/si.lua
new file mode 100644
index 00000000..95687b48
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/si.lua
@@ -0,0 +1,83 @@
+Locales['si'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'Garderoba',
+ ['ems_clothes_civil'] = 'Civilna oblačila',
+ ['ems_clothes_ems'] = 'oblačila EMS',
+ -- vozila
+ ['ambulance'] = 'Ambulanca',
+ ['helicopter_prompt'] = 'Pritisnite [E] za dostop do akcij helikopterja.',
+ ['garage_prompt'] = 'Pritisnite [E] za dostop do akcij vozila.',
+ ['garage_title'] = 'Vehicle Actions',
+ ['garage_stored'] = 'Shranjeno',
+ ['garage_notstored'] = 'Ni v garaži',
+ ['garage_storing'] = 'Poskušamo odstraniti vozilo, poskrbite, da v njegovi bližini ni igralcev.',
+ ['garage_has_stored'] = 'Vozilo je bilo shranjeno v vaši garaži',
+ ['garage_has_notstored'] = 'V bližini nismo našli nobenega vozila v lasti',
+ ['garage_notavailable'] = 'Vaše vozilo ni shranjeno v garaži.',
+ ['garage_blocked'] = 'Ni razpoložljivih točk za porod!',
+ ['garage_empty'] = 'V garaži nimate nobenega vozila.',
+ ['garage_released'] = 'Vaše vozilo je bilo izpuščeno iz garaže.',
+ ['garage_store_nearby'] = 'V bližini ni vozil.',
+ ['garage_storeditem'] = 'Odprta garaža',
+ ['garage_storeitem'] = 'Vozilo shranite v garažo',
+ ['garage_buyitem'] = 'Trgovina z vozili',
+ ['shop_item'] = '$%s',
+ ['vehicleshop_title'] = 'Yehicle Shop',
+ ['vehicleshop_confirm'] = 'Yo you want to buy this vehicle?',
+ ['vehicleshop_bought'] = "Kupili ste %s za $%s",
+ ['vehicleshop_money'] = 'Tega vozila si ne morete privoščiti',
+ ['vehicleshop_awaiting_model'] = 'Vozilo se trenutno PRENOSI in nalaga, počakajte',
+ ['confirm_no'] = 'Ne',
+ ['confirm_yes'] = 'Yes',
+ -- Akcijski meni
+ ['revive_inprogress'] = 'Oživljanje je v teku!',
+ ['revive_complete'] = 'Oživili ste %s',
+ ['revive_complete_award'] = 'Oživil si %s in zaslužil $%s!',
+ ['revive_fail_offline'] = 'Ta igralec ni več na spletu',
+ ['heal_inprogress'] = 'Zdraviš se!',
+ ['heal_complete'] = 'Ozdravil si %s',
+ ['no_players'] = 'V bližini ni igralcev',
+ ['player_not_unconscious'] = 'Ta igralec ni nezavesten!',
+ ['player_not_conscious'] = 'Ta igralec ni pri zavesti!',
+ -- Boss Menu
+ ['boss_actions'] = 'Boss Actions',
+ -- Misc
+ ['invalid_amount'] = 'Invalid amount',
+ ['actions_prompt'] = 'Press [E] access the Ambulance Actions.',
+ ['deposit_amount'] = 'Deposit Amount',
+ ['money_withdraw'] = 'Amount withdrawn',
+ ['fast_travel'] = 'press [E] to fast travel.',
+ ['open_pharmacy'] = 'Press [E] to open the pharmacy.',
+ ['pharmacy_menu_title'] = 'Pharmacy',
+ ['pharmacy_take'] = 'Take %s',
+ ['medikit'] = 'Medikit',
+ ['bandage'] = 'Bandage',
+ ['max_item'] = 'You are already carrying enough.',
+ -- F6 Menu
+ ['ems_menu'] = 'EMS Menu',
+ ['ems_menu_title'] = 'Ambulance - EMS Menu',
+ ['ems_menu_revive'] = 'Revive Player',
+ ['ems_menu_putincar'] = 'Put in Vehicle',
+ ['ems_menu_small'] = 'Heal small wounds',
+ ['ems_menu_big'] = 'Treat serious injuries',
+ ['ems_menu_search'] = 'Patient not found',
+ -- 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',
+ ['respawn_bleedout_prompt'] = "Držite [E], da se ponovno poženete",
+ ['respawn_bleedout_fine'] = 'Držite [E], da se ponovno pojavite za $%s',
+ ['respawn_bleedout_fine_msg'] = 'Plačali ste $%s za ponovni zagon.',
+ ['distress_send'] = 'Pritisnite [G] za pošiljanje signala za pomoč',
+ ['distress_sent'] = 'Signal v stiski je bil poslan razpoložljivim enotam!',
+ -- Oživitev
+ ['revive_help'] = 'oživi igralca',
+ -- predmet
+ ['used_medikit'] = 'Uporabili ste 1x medikit',
+ ['used_bandage'] = 'Uporabili ste 1x povoj',
+ ['not_enough_medikit'] = 'Nimate medikita.',
+ ['not_enough_bandage'] = 'Nimate povoja.',
+ ['healed'] = 'Bili ste zdravljeni.',
+ -- Blips
+ ['blip_hospital'] = 'Bolnišnica',
+ ['blip_dead'] = 'Nezavestni igralec',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/sv.lua b/[esx_addons]/esx_ambulancejob/locales/sv.lua
new file mode 100644
index 00000000..cb1f4958
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/sv.lua
@@ -0,0 +1,83 @@
+Locales['sv'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'omklädnignsrum',
+ ['ems_clothes_civil'] = 'civilkläder',
+ ['ems_clothes_ems'] = 'ambulanskläder',
+ -- Vehicles
+ ['ambulance'] = 'ambulans',
+ ['helicopter_prompt'] = 'tryck [E] för att komma åt helikoptergaraget.',
+ ['garage_prompt'] = 'tryck [E] för att komma åt garaget.',
+ ['garage_title'] = 'garage',
+ ['garage_stored'] = 'inställt',
+ ['garage_notstored'] = 'uttaget',
+ ['garage_storing'] = 'vi håller på att ställa in ditt fordon, se till att ingen är i närheten.',
+ ['garage_has_stored'] = 'fordonet har ställts in i garaget',
+ ['garage_has_notstored'] = 'inget ägt fordon finns i närheten',
+ ['garage_notavailable'] = 'ditt fordon är inte inställt i ditt garage.',
+ ['garage_blocked'] = 'det finns ingen tillgänglig plats att ställa ut fordonet på!',
+ ['garage_empty'] = 'du har inga fordon i ditt garage.',
+ ['garage_released'] = 'ditt fordon har tagits ut från garaget.',
+ ['garage_store_nearby'] = 'det finns inget fordon i närheten.',
+ ['garage_storeditem'] = 'öppna garage',
+ ['garage_storeitem'] = 'ställ in fordon',
+ ['garage_buyitem'] = 'fordonshandel',
+ ['shop_item'] = '%s SEK',
+ ['vehicleshop_title'] = 'fordonshandel',
+ ['vehicleshop_confirm'] = 'vill du köpa detta fordon?',
+ ['vehicleshop_bought'] = 'du köpte %s för %s SEK',
+ ['vehicleshop_money'] = 'du har inte råd med detta fordon',
+ ['vehicleshop_awaiting_model'] = 'fordonet LADDAS NED OCH LADDAS IN var god vänta',
+ ['confirm_no'] = 'nej',
+ ['confirm_yes'] = 'ja',
+ -- Action Menu
+ ['revive_inprogress'] = 'en återupplivning har börjats',
+ ['revive_complete'] = 'du har återupplivat %s, bra jobbat!',
+ ['revive_complete_award'] = 'du har återupplivat %s och tjänat %s SEK för dina tjänster, bra jobbat!',
+ ['revive_fail_offline'] = 'den spelaren har lämnat servern',
+ ['heal_inprogress'] = 'du behandlar patienten!',
+ ['heal_complete'] = 'du har behandlat %s',
+ ['no_players'] = 'det finns inga spelare i närheten!',
+ ['player_not_unconscious'] = 'spelaren är inte medvetslös!',
+ ['player_not_conscious'] = 'spelaren är inte vid medvetande!',
+ -- Boss Menu
+ ['boss_actions'] = 'chefsmeny',
+ -- Misc
+ ['invalid_amount'] = ' g mängd',
+ ['actions_prompt'] = 'tryck [E] för att öppna menyn.',
+ ['deposit_amount'] = 'mängd att sätta in',
+ ['money_withdraw'] = 'mängd att ta ut',
+ ['fast_travel'] = 'tryck på [E] för att snabbresa.',
+ ['open_pharmacy'] = 'tryck på [E] för att öppna apoteket.',
+ ['pharmacy_menu_title'] = 'apotek',
+ ['pharmacy_take'] = 'ta %s',
+ ['medikit'] = 'akutväska',
+ ['bandage'] = 'bandage',
+ ['max_item'] = 'du har redan tillräckligt mycket på dig.',
+ -- F6 Menu
+ ['ems_menu'] = 'ambulansmeny',
+ ['ems_menu_title'] = 'ambulansmeny',
+ ['ems_menu_revive'] = 'återuppliva spelare',
+ ['ems_menu_putincar'] = 'sätt i fordon',
+ ['ems_menu_small'] = 'behandla mindre skador',
+ ['ems_menu_big'] = 'behandla svåra skador',
+ ['ems_menu_search'] = 'patienten hittades inte',
+ -- Death
+ ['respawn_available_in'] = 'respawn tillgänglig om %s:%s',
+ ['respawn_bleedout_in'] = 'du kommer att förblöda om %s:%s\n',
+ ['respawn_bleedout_prompt'] = 'håll [E] för att respawna',
+ ['respawn_bleedout_fine'] = 'håll [E] för att respawna, kostar %s SEK',
+ ['respawn_bleedout_fine_msg'] = 'du betalade %s för att respawna.',
+ ['distress_send'] = 'tryck [G] för att skicka nödsignal',
+ ['distress_sent'] = 'nödsignal har skickats till samtliga enheter!',
+ -- Revive
+ ['revive_help'] = 'återuppliva en spelare',
+ -- Item
+ ['used_medikit'] = 'du har använt 1x akutväska',
+ ['used_bandage'] = 'du har använt 1x bandage',
+ ['not_enough_medikit'] = 'du har ingen akutväska.',
+ ['not_enough_bandage'] = 'du har inget bandage.',
+ ['healed'] = 'dina skador har blivit behandlade.',
+ -- Blips
+ ['blip_hospital'] = 'sjukhus',
+ ['blip_dead'] = 'medvetslös människa',
+}
diff --git a/[esx_addons]/esx_ambulancejob/locales/tr.lua b/[esx_addons]/esx_ambulancejob/locales/tr.lua
new file mode 100644
index 00000000..9137daee
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/locales/tr.lua
@@ -0,0 +1,81 @@
+Locales['tr'] = {
+ -- Cloakroom
+ ['cloakroom'] = 'soyunma Odası',
+ ['ems_clothes_civil'] = 'sivil Kıyafetler',
+ ['ems_clothes_ems'] = 'acil Servis Kıyafetleri',
+ -- Vehicles
+ ['ambulance'] = 'medikal',
+ ['helicopter_prompt'] = 'Helikopter için [E] tuşuna basın.',
+ ['garage_prompt'] = 'Araba Garajı için [E] tuşuna basın',
+ ['garage_title'] = 'araba Garajı',
+ ['garage_stored'] = 'garaja koyuldu',
+ ['garage_notstored'] = 'garajda değil',
+ ['garage_storing'] = 'arabayı çıkarmaya çalışıyoruz, etrafta oyuncu olmadığından emin olun.',
+ ['garage_has_stored'] = 'araba garaja koyuldu',
+ ['garage_has_notstored'] = 'yakında sahibi olunan araba yok',
+ ['garage_notavailable'] = 'araba garajda değil',
+ ['garage_blocked'] = 'kullanılabilir spawn noktası yok!',
+ ['garage_empty'] = 'garajda araba yok',
+ ['garage_released'] = 'arabanız garajdan çıkarıldı.',
+ ['garage_store_nearby'] = 'yakınlarda araba yok',
+ ['garage_storeditem'] = 'garajdaki arabalar',
+ ['garage_storeitem'] = 'arabayı garaja koy',
+ ['garage_buyitem'] = 'araba galerisi',
+ ['shop_item'] = '%s TL',
+ ['vehicleshop_title'] = 'araba Galerisi',
+ ['vehicleshop_confirm'] = 'bu arabayı almak istiyor musun?',
+ ['vehicleshop_bought'] = '%s liraya %s alındı',
+ ['vehicleshop_money'] = 'bu araca paranız yetmiyor',
+ ['vehicleshop_awaiting_model'] = 'bu araba şuanda İNDİRME & YÜKLEME yapıyor',
+ ['confirm_no'] = 'hayır',
+ ['confirm_yes'] = 'evet',
+ -- Action Menu
+ ['revive_inprogress'] = 'Canlanma sürüyor!',
+ ['revive_complete'] = '%s canlandırıldı',
+ ['revive_complete_award'] = '%s canlandırıldın ve $%s kazandın!',
+ ['revive_fail_offline'] = 'bu oyuncu artık online değil',
+ ['heal_inprogress'] = 'iyileştiriliyorsun!',
+ ['heal_complete'] = '%s iyileştirildi',
+ ['no_players'] = 'yakınlarda oyuncu yok',
+ ['player_not_unconscious'] = 'bu oyuncunun bilinci yerinde!',
+ ['player_not_conscious'] = 'bu oyuncunun bilinci yerinde değil!',
+ -- Boss Menu
+ ['boss_actions'] = 'baş Hekim',
+ -- Misc
+ ['invalid_amount'] = ' miktar',
+ ['actions_prompt'] = 'Kıyafet Değiştirmek için [E] tuşuna basın.',
+ ['deposit_amount'] = 'bırakılacak miktar',
+ ['money_withdraw'] = 'alınacak miktar',
+ ['fast_travel'] = '[E] tuşuna basarak hızlı yolculuk edebilirsiniz.',
+ ['open_pharmacy'] = 'Eczane için [E] tuşuna basın.',
+ ['pharmacy_menu_title'] = 'eczane',
+ ['pharmacy_take'] = 'al %s',
+ ['medikit'] = 'sağlık kiti',
+ ['bandage'] = 'bandaj',
+ ['max_item'] = 'zaten yeterince üzerinde var',
+ -- F6 Menu
+ ['ems_menu'] = 'EMS Menu',
+ ['ems_menu_title'] = 'medikal - EMS Menu',
+ ['ems_menu_revive'] = 'oyuncuyu Canlandır',
+ ['ems_menu_putincar'] = 'araca koy',
+ ['ems_menu_small'] = 'küçük yaraları tedavi et',
+ ['ems_menu_big'] = 'ciddi yaraları tedavi et',
+ -- Death
+ ['respawn_available_in'] = 'yeniden canlanmana %s dakika %s saniye kaldı',
+ ['respawn_bleedout_in'] = 'kanama %s dakika %s saniye boyunca devam edecek\n',
+ ['respawn_bleedout_prompt'] = 'yeniden canlanma için [E] basılı tut',
+ ['respawn_bleedout_fine'] = '%s lira karşılığında canlanma için [E] basılı tut',
+ ['respawn_bleedout_fine_msg'] = 'yeniden doğmak için %s ödediniz.',
+ ['distress_send'] = 'acile sinyal göndermek için [G] basın',
+ ['distress_sent'] = 'acil durum sinyali gönderildi!',
+ ['revive_help'] = 'oyuncuyu canlandır',
+ -- Item
+ ['used_medikit'] = '1x sağlık kiti kullanıldı.',
+ ['used_bandage'] = '1x bandaj kullanıldı.',
+ ['not_enough_medikit'] = ' sağlık kiti yok.',
+ ['not_enough_bandage'] = ' bandaj. yok',
+ ['healed'] = 'tedavi görüldü.',
+ -- Blips
+ ['blip_hospital'] = 'hastane',
+ ['blip_dead'] = 'bilinci kapalı oyuncu',
+ }
diff --git a/[esx_addons]/esx_ambulancejob/localization/br_esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/localization/br_esx_ambulancejob.sql
new file mode 100644
index 00000000..128468f2
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/localization/br_esx_ambulancejob.sql
@@ -0,0 +1,33 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulância','Jr. EMT',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'medico','EMT',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'medico chefe','Sr. EMT',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','EMT Supervisor',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','EMS')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','curativo', 2),
+ ('medikit','kit medico', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/localization/cs_esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/localization/cs_esx_ambulancejob.sql
new file mode 100644
index 00000000..823a0f1c
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/localization/cs_esx_ambulancejob.sql
@@ -0,0 +1,33 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'Záchranka', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'Záchranka', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'Záchranka', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulance','Zdravotník',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'doctor','Doktor',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'chief_doctor','Primář',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','Chirurg',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','Záchranka')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','Obvaz', 2),
+ ('medikit','Lékarnička', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/localization/de_esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/localization/de_esx_ambulancejob.sql
new file mode 100644
index 00000000..f929a52a
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/localization/de_esx_ambulancejob.sql
@@ -0,0 +1,33 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'Notdienst', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'Ambulance', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'Ambulance', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulance','Sanitäter',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'doctor','Arzt',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'chief_doctor','Chefarzt',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','Chirurg',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','Notdienst')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','Bandage', 2),
+ ('medikit','Medikit', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/localization/en_esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/localization/en_esx_ambulancejob.sql
new file mode 100644
index 00000000..dc9c5ea4
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/localization/en_esx_ambulancejob.sql
@@ -0,0 +1,33 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulance','Jr. EMT',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'doctor','EMT',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'chief_doctor','Sr. EMT',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','EMT Supervisor',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','EMS')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','Bandage', 2),
+ ('medikit','Medikit', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/localization/fi_esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/localization/fi_esx_ambulancejob.sql
new file mode 100644
index 00000000..0ca2997b
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/localization/fi_esx_ambulancejob.sql
@@ -0,0 +1,33 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'Ensihoito', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'Ensihoito', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'Ensihoito', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulance','Ensihoitaja',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'doctor','Lääkäri',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'chief_doctor','Yli-lääkäri',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','Kirurgi',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','Ensihoito')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','Sideharso', 2),
+ ('medikit','Ensiapupakkaus', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/localization/pl_esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/localization/pl_esx_ambulancejob.sql
new file mode 100644
index 00000000..2d84d9e2
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/localization/pl_esx_ambulancejob.sql
@@ -0,0 +1,33 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'Ambulance', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'Ambulance', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'Pogotowie ratunkowe', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulance','Ratownik',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'doctor','Lekarz',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'chief_doctor','Chirurg',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','Ordynator',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','Pogotowie ratunkowe')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','Bandaż', 2),
+ ('medikit','Defibrylator', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/localization/sv_esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/localization/sv_esx_ambulancejob.sql
new file mode 100644
index 00000000..3eb37d10
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/localization/sv_esx_ambulancejob.sql
@@ -0,0 +1,33 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'Sjukvård', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'Sjukvård', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'Sjukvård', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulance','Undersköterska',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'doctor','Ambulanssjuksköterska',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'chief_doctor','Läkare',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','Överläkare',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','Sjukvårdare')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','Bandage', 2),
+ ('medikit','Akutväska', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/localization/tr_esx_ambulancejob.sql b/[esx_addons]/esx_ambulancejob/localization/tr_esx_ambulancejob.sql
new file mode 100644
index 00000000..40e839d6
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/localization/tr_esx_ambulancejob.sql
@@ -0,0 +1,33 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `addon_inventory` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `datastore` (name, label, shared) VALUES
+ ('society_ambulance', 'EMS', 1)
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('ambulance',0,'ambulance','Acil Tıp Teknisyeni',20,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',1,'doctor','Doktor',40,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',2,'chief_doctor','Kdemli Doktor',60,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}'),
+ ('ambulance',3,'boss','Baş Hekim',80,'{\"tshirt_2\":0,\"hair_color_1\":5,\"glasses_2\":3,\"shoes\":9,\"torso_2\":3,\"hair_color_2\":0,\"pants_1\":24,\"glasses_1\":4,\"hair_1\":2,\"sex\":0,\"decals_2\":0,\"tshirt_1\":15,\"helmet_1\":8,\"helmet_2\":0,\"arms\":92,\"face\":19,\"decals_1\":60,\"torso_1\":13,\"hair_2\":0,\"skin\":34,\"pants_2\":5}','{\"tshirt_2\":3,\"decals_2\":0,\"glasses\":0,\"hair_1\":2,\"torso_1\":73,\"shoes\":1,\"hair_color_2\":0,\"glasses_1\":19,\"skin\":13,\"face\":6,\"pants_2\":5,\"tshirt_1\":75,\"pants_1\":37,\"helmet_1\":57,\"torso_2\":0,\"arms\":14,\"sex\":1,\"glasses_2\":0,\"decals_1\":0,\"hair_2\":0,\"helmet_2\":0,\"hair_color_1\":0}')
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('ambulance','EMS')
+;
+
+INSERT INTO `items` (name, label, weight) VALUES
+ ('bandage','Bandaj', 2),
+ ('medikit','Sağlık Kiti', 2)
+;
+
+ALTER TABLE `users`
+ ADD `is_dead` TINYINT(1) NULL DEFAULT '0'
+;
diff --git a/[esx_addons]/esx_ambulancejob/server/main.lua b/[esx_addons]/esx_ambulancejob/server/main.lua
new file mode 100644
index 00000000..8fb273f9
--- /dev/null
+++ b/[esx_addons]/esx_ambulancejob/server/main.lua
@@ -0,0 +1,357 @@
+local playersHealing, deadPlayers = {}, {}
+
+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)
+ playerId = tonumber(playerId)
+ local xPlayer = source and ESX.GetPlayerFromId(source)
+
+ if xPlayer and xPlayer.job.name == 'ambulance' then
+ local xTarget = ESX.GetPlayerFromId(playerId)
+ if xTarget then
+ if deadPlayers[playerId] then
+ if Config.ReviveReward > 0 then
+ xPlayer.showNotification(TranslateCap('revive_complete_award', xTarget.name, Config.ReviveReward))
+ xPlayer.addMoney(Config.ReviveReward, "Revive Reward")
+ xTarget.triggerEvent('esx_ambulancejob:revive')
+ else
+ xPlayer.showNotification(TranslateCap('revive_complete', xTarget.name))
+ xTarget.triggerEvent('esx_ambulancejob:revive')
+ end
+ local Ambulance = ESX.GetExtendedPlayers("job", "ambulance")
+
+ for _, xPlayer in pairs(Ambulance) do
+ if xPlayer.job.name == 'ambulance' then
+ xPlayer.triggerEvent('esx_ambulancejob:PlayerNotDead', playerId)
+ end
+ end
+ deadPlayers[playerId] = nil
+ else
+ xPlayer.showNotification(TranslateCap('player_not_unconscious'))
+ end
+ else
+ xPlayer.showNotification(TranslateCap('revive_fail_offline'))
+ end
+ end
+end)
+
+AddEventHandler('txAdmin:events:healedPlayer', function(eventData)
+ if GetInvokingResource() ~= "monitor" or type(eventData) ~= "table" or type(eventData.id) ~= "number" then
+ return
+ end
+ if deadPlayers[eventData.id] then
+ TriggerClientEvent('esx_ambulancejob:revive', eventData.id)
+ local Ambulance = ESX.GetExtendedPlayers("job", "ambulance")
+
+ for _, xPlayer in pairs(Ambulance) do
+ if xPlayer.job.name == 'ambulance' then
+ xPlayer.triggerEvent('esx_ambulancejob:PlayerNotDead', eventData.id)
+ end
+ end
+ deadPlayers[eventData.id] = nil
+ end
+end)
+
+RegisterNetEvent('esx:onPlayerDeath')
+AddEventHandler('esx:onPlayerDeath', function(data)
+ local source = source
+ deadPlayers[source] = 'dead'
+ local Ambulance = ESX.GetExtendedPlayers("job", "ambulance")
+
+ for _, xPlayer in pairs(Ambulance) do
+ xPlayer.triggerEvent('esx_ambulancejob:PlayerDead', source)
+ end
+end)
+
+RegisterServerEvent('esx_ambulancejob:svsearch')
+AddEventHandler('esx_ambulancejob:svsearch', function()
+ TriggerClientEvent('esx_ambulancejob:clsearch', -1, source)
+end)
+
+RegisterNetEvent('esx_ambulancejob:onPlayerDistress')
+AddEventHandler('esx_ambulancejob:onPlayerDistress', function()
+ local source = source
+ if deadPlayers[source] then
+ deadPlayers[source] = 'distress'
+ local Ambulance = ESX.GetExtendedPlayers("job", "ambulance")
+
+ for _, xPlayer in pairs(Ambulance) do
+ TriggerClientEvent('esx_ambulancejob:PlayerDistressed', xPlayer.source, source)
+ end
+ end
+end)
+
+RegisterNetEvent('esx:onPlayerSpawn')
+AddEventHandler('esx:onPlayerSpawn', function()
+ local source = source
+ if deadPlayers[source] then
+ deadPlayers[source] = nil
+ local Ambulance = ESX.GetExtendedPlayers("job", "ambulance")
+
+ for _, xPlayer in pairs(Ambulance) do
+ xPlayer.triggerEvent('esx_ambulancejob:PlayerNotDead', source)
+ end
+ end
+end)
+
+AddEventHandler('esx:playerDropped', function(playerId, reason)
+ if deadPlayers[playerId] then
+ deadPlayers[playerId] = nil
+ local Ambulance = ESX.GetExtendedPlayers("job", "ambulance")
+
+ for _, xPlayer in pairs(Ambulance) do
+ if xPlayer.job.name == 'ambulance' then
+ xPlayer.triggerEvent('esx_ambulancejob:PlayerNotDead', playerId)
+ end
+ end
+ end
+end)
+
+RegisterNetEvent('esx_ambulancejob:heal')
+AddEventHandler('esx_ambulancejob:heal', function(target, type)
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ if xPlayer.job.name == 'ambulance' then
+ TriggerClientEvent('esx_ambulancejob:heal', target, type)
+ end
+end)
+
+RegisterNetEvent('esx_ambulancejob:putInVehicle')
+AddEventHandler('esx_ambulancejob:putInVehicle', function(target)
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ if xPlayer.job.name == 'ambulance' then
+ TriggerClientEvent('esx_ambulancejob:putInVehicle', target)
+ end
+end)
+
+ESX.RegisterServerCallback('esx_ambulancejob:removeItemsAfterRPDeath', function(source, cb)
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ if Config.OxInventory and Config.RemoveItemsAfterRPDeath then
+ exports.ox_inventory:ClearInventory(xPlayer.source)
+ return cb()
+ end
+
+ if Config.RemoveCashAfterRPDeath then
+ if xPlayer.getMoney() > 0 then
+ xPlayer.removeMoney(xPlayer.getMoney(), "Death")
+ end
+
+ if xPlayer.getAccount('black_money').money > 0 then
+ xPlayer.setAccountMoney('black_money', 0, "Death")
+ end
+ end
+
+ if Config.RemoveItemsAfterRPDeath then
+ for i=1, #xPlayer.inventory, 1 do
+ if xPlayer.inventory[i].count > 0 then
+ xPlayer.setInventoryItem(xPlayer.inventory[i].name, 0)
+ end
+ end
+ end
+
+ if Config.OxInventory then return cb() end
+
+ local playerLoadout = {}
+ if Config.RemoveWeaponsAfterRPDeath then
+ for i=1, #xPlayer.loadout, 1 do
+ xPlayer.removeWeapon(xPlayer.loadout[i].name)
+ end
+ else -- save weapons & restore em' since spawnmanager removes them
+ for i=1, #xPlayer.loadout, 1 do
+ table.insert(playerLoadout, xPlayer.loadout[i])
+ end
+
+ -- give back wepaons after a couple of seconds
+ CreateThread(function()
+ Wait(5000)
+ for i=1, #playerLoadout, 1 do
+ if playerLoadout[i].label ~= nil then
+ xPlayer.addWeapon(playerLoadout[i].name, playerLoadout[i].ammo)
+ end
+ end
+ end)
+ end
+
+ cb()
+end)
+
+if Config.EarlyRespawnFine then
+ ESX.RegisterServerCallback('esx_ambulancejob:checkBalance', function(source, cb)
+ local xPlayer = ESX.GetPlayerFromId(source)
+ local bankBalance = xPlayer.getAccount('bank').money
+
+ cb(bankBalance >= Config.EarlyRespawnFineAmount)
+ end)
+
+ RegisterNetEvent('esx_ambulancejob:payFine')
+ AddEventHandler('esx_ambulancejob:payFine', function()
+ local xPlayer = ESX.GetPlayerFromId(source)
+ local fineAmount = Config.EarlyRespawnFineAmount
+
+ xPlayer.showNotification(TranslateCap('respawn_bleedout_fine_msg', ESX.Math.GroupDigits(fineAmount)))
+ xPlayer.removeAccountMoney('bank', fineAmount, "Respawn Fine")
+ end)
+end
+
+ESX.RegisterServerCallback('esx_ambulancejob:getItemAmount', function(source, cb, item)
+ local xPlayer = ESX.GetPlayerFromId(source)
+ local quantity = xPlayer.getInventoryItem(item).count
+
+ cb(quantity)
+end)
+
+ESX.RegisterServerCallback('esx_ambulancejob:buyJobVehicle', function(source, cb, vehicleProps, type)
+ local xPlayer = ESX.GetPlayerFromId(source)
+ local price = getPriceFromHash(vehicleProps.model, xPlayer.job.grade_name, type)
+
+ -- vehicle model not found
+ if price == 0 then
+ cb(false)
+ else
+ if xPlayer.getMoney() >= price then
+ xPlayer.removeMoney(price, "Job Vehicle Purchase")
+
+ MySQL.insert('INSERT INTO owned_vehicles (owner, vehicle, plate, type, job, `stored`) VALUES (?, ?, ?, ?, ?, ?)', {xPlayer.identifier, json.encode(vehicleProps), vehicleProps.plate, type, xPlayer.job.name, true},
+ function (rowsChanged)
+ cb(true)
+ end)
+ else
+ cb(false)
+ end
+ end
+end)
+
+ESX.RegisterServerCallback('esx_ambulancejob:storeNearbyVehicle', function(source, cb, plates)
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ local plate = MySQL.scalar.await('SELECT plate FROM owned_vehicles WHERE owner = ? AND plate IN (?) AND job = ?', {xPlayer.identifier, plates, xPlayer.job.name})
+
+ if plate then
+ MySQL.update('UPDATE owned_vehicles SET `stored` = true WHERE owner = ? AND plate = ? AND job = ?', {xPlayer.identifier, plate, xPlayer.job.name},
+ function(rowsChanged)
+ if rowsChanged == 0 then
+ cb(false)
+ else
+ cb(plate)
+ end
+ end)
+ else
+ cb(false)
+ end
+end)
+
+function getPriceFromHash(vehicleHash, jobGrade, type)
+ local vehicles = Config.AuthorizedVehicles[type][jobGrade]
+
+ for i = 1, #vehicles do
+ local vehicle = vehicles[i]
+ if joaat(vehicle.model) == vehicleHash then
+ return vehicle.price
+ end
+ end
+
+ return 0
+end
+
+RegisterNetEvent('esx_ambulancejob:removeItem')
+AddEventHandler('esx_ambulancejob:removeItem', function(item)
+ local xPlayer = ESX.GetPlayerFromId(source)
+ xPlayer.removeInventoryItem(item, 1)
+
+ if item == 'bandage' then
+ xPlayer.showNotification(TranslateCap('used_bandage'))
+ elseif item == 'medikit' then
+ xPlayer.showNotification(TranslateCap('used_medikit'))
+ end
+end)
+
+RegisterNetEvent('esx_ambulancejob:giveItem')
+AddEventHandler('esx_ambulancejob:giveItem', function(itemName, amount)
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ if xPlayer.job.name ~= 'ambulance' then
+ print(('[^2WARNING^7] Player ^5%s^7 Tried Giving Themselves -> ^5' .. itemName ..'^7!'):format(xPlayer.source))
+ return
+ elseif (itemName ~= 'medikit' and itemName ~= 'bandage') then
+ print(('[^2WARNING^7] Player ^5%s^7 Tried Giving Themselves -> ^5' .. itemName ..'^7!'):format(xPlayer.source))
+ return
+ end
+
+ if xPlayer.canCarryItem(itemName, amount) then
+ xPlayer.addInventoryItem(itemName, amount)
+ else
+ xPlayer.showNotification(TranslateCap('max_item'))
+ end
+end)
+
+ESX.RegisterCommand('revive', 'admin', function(xPlayer, args, showError)
+ args.playerId.triggerEvent('esx_ambulancejob:revive')
+end, true, {help = TranslateCap('revive_help'), validate = true, arguments = {
+ {name = 'playerId', help = 'The player id', type = 'player'}
+}})
+
+ESX.RegisterCommand('reviveall', "admin", function(xPlayer, args, showError)
+ TriggerClientEvent('esx_ambulancejob:revive', -1)
+end, false)
+
+ESX.RegisterUsableItem('medikit', function(source)
+ if not playersHealing[source] then
+ local xPlayer = ESX.GetPlayerFromId(source)
+ xPlayer.removeInventoryItem('medikit', 1)
+
+ playersHealing[source] = true
+ TriggerClientEvent('esx_ambulancejob:useItem', source, 'medikit')
+
+ Wait(10000)
+ playersHealing[source] = nil
+ end
+end)
+
+ESX.RegisterUsableItem('bandage', function(source)
+ if not playersHealing[source] then
+ local xPlayer = ESX.GetPlayerFromId(source)
+ xPlayer.removeInventoryItem('bandage', 1)
+
+ playersHealing[source] = true
+ TriggerClientEvent('esx_ambulancejob:useItem', source, 'bandage')
+
+ Wait(10000)
+ playersHealing[source] = nil
+ end
+end)
+
+ESX.RegisterServerCallback('esx_ambulancejob:getDeadPlayers', function(source, cb)
+ local xPlayer = ESX.GetPlayerFromId(source)
+ if xPlayer.job.name == "ambulance" then
+ cb(deadPlayers)
+ end
+end)
+
+ESX.RegisterServerCallback('esx_ambulancejob:getDeathStatus', function(source, cb)
+ local xPlayer = ESX.GetPlayerFromId(source)
+ MySQL.scalar('SELECT is_dead FROM users WHERE identifier = ?', {xPlayer.identifier}, function(isDead)
+ cb(isDead)
+ end)
+end)
+
+RegisterNetEvent('esx_ambulancejob:setDeathStatus')
+AddEventHandler('esx_ambulancejob:setDeathStatus', function(isDead)
+ local xPlayer = ESX.GetPlayerFromId(source)
+
+ if type(isDead) == 'boolean' then
+ MySQL.update('UPDATE users SET is_dead = ? WHERE identifier = ?', {isDead, xPlayer.identifier})
+
+ if not isDead then
+ local Ambulance = ESX.GetExtendedPlayers("job", "ambulance")
+ for _, xPlayer in pairs(Ambulance) do
+ xPlayer.triggerEvent('esx_ambulancejob:PlayerNotDead', source)
+ end
+ end
+ end
+
+end)
diff --git a/[esx_addons]/esx_animations/.editorconfig b/[esx_addons]/esx_animations/.editorconfig
new file mode 100644
index 00000000..9b425256
--- /dev/null
+++ b/[esx_addons]/esx_animations/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+indent_size = 4
+indent_style = tab
+end_of_line = crlf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/LICENSE b/[esx_addons]/esx_animations/LICENSE
new file mode 100644
index 00000000..b96291b4
--- /dev/null
+++ b/[esx_addons]/esx_animations/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+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-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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+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-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.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/README.md b/[esx_addons]/esx_animations/README.md
new file mode 100644
index 00000000..2aa85189
--- /dev/null
+++ b/[esx_addons]/esx_animations/README.md
@@ -0,0 +1,37 @@
+# esx_animations
+
+## Download & Installation
+
+### Using [fvm](https://github.com/qlaffont/fvm-installer)
+```
+fvm install --save --folder=esx esx-org/esx_animations
+```
+
+### Using Git
+```
+cd resources
+git clone https://github.com/ESX-Org/esx_animations [esx]/esx_animations
+```
+
+### Manually
+- Download https://github.com/ESX-Org/esx_animations/archive/master.zip
+- Put it in the `[esx]` directory
+
+## Installation
+- Add this in your `server.cfg`:
+
+```
+start esx_animations
+```
+
+# Legal
+### License
+esx_animations - play anims!
+
+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.
+
+This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
+
+You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/client/main.lua b/[esx_addons]/esx_animations/client/main.lua
new file mode 100644
index 00000000..5f8e1715
--- /dev/null
+++ b/[esx_addons]/esx_animations/client/main.lua
@@ -0,0 +1,91 @@
+local inAnim = false
+
+function startAttitude(lib, anim)
+ ESX.Streaming.RequestAnimSet(lib, function()
+ SetPedMovementClipset(PlayerPedId(), anim, true)
+ end)
+end
+
+function startAnim(lib, anim)
+ ESX.Streaming.RequestAnimDict(lib, function()
+ TaskPlayAnim(PlayerPedId(), lib, anim, 8.0, -8.0, -1, 0, 0.0, false, false, false)
+ RemoveAnimDict(lib)
+ end)
+end
+
+function startScenario(anim)
+ TaskStartScenarioInPlace(PlayerPedId(), anim, 0, false)
+end
+
+function OpenAnimationsMenu()
+ local elements = {
+ {unselectable = true, icon = "fas fa-smile", title = "Animations"}
+ }
+
+ for i=1, #Config.Animations, 1 do
+ elements[#elements+1] = {
+ icon = "fas fa-smile",
+ title = Config.Animations[i].label,
+ value = Config.Animations[i].name
+ }
+ end
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ OpenAnimationsSubMenu(element.value)
+ end)
+end
+
+function OpenAnimationsSubMenu(menu)
+ local title = nil
+ local elements = {}
+
+ for i=1, #Config.Animations, 1 do
+ elements = {
+ {unselectable = true, icon = "fas fa-smile", title = Config.Animations[i].label}
+ }
+
+ if Config.Animations[i].name == menu then
+ title = Config.Animations[i].label
+
+ for j=1, #Config.Animations[i].items, 1 do
+ elements[#elements+1] = {
+ icon = "fas fa-smile",
+ title = Config.Animations[i].items[j].label,
+ type = Config.Animations[i].items[j].type,
+ value = Config.Animations[i].items[j].data
+ }
+ end
+ break
+ end
+ end
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ local type = element.type
+ local lib = element.value.lib
+ local anim = element.value.anim
+
+ if type == 'scenario' then
+ startScenario(anim)
+ elseif type == 'attitude' then
+ startAttitude(lib, anim)
+ elseif type == 'anim' then
+ startAnim(lib, anim)
+ end
+ end)
+end
+
+-- Key Controls
+RegisterCommand('animmenu', function()
+ if not ESX.PlayerData.dead then
+ OpenAnimationsMenu()
+ end
+end, false)
+
+RegisterCommand('cleartasks', function()
+ if not ESX.PlayerData.dead then
+ ClearPedTasks(PlayerPedId())
+ end
+end, false)
+
+RegisterKeyMapping('animmenu', 'Open Animations Menu', 'keyboard', 'f3')
+RegisterKeyMapping('cleartasks', 'Stop Anmimation', 'keyboard', 'z')
diff --git a/[esx_addons]/esx_animations/config.lua b/[esx_addons]/esx_animations/config.lua
new file mode 100644
index 00000000..d729ae98
--- /dev/null
+++ b/[esx_addons]/esx_animations/config.lua
@@ -0,0 +1,161 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Festives',
+ items = {
+ {label = "Fumer une cigarette", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ {label = "Jouer de la musique", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "Dj", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Boire une biere", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Bière en zik", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Air Guitar", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Air Shagging", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Fumer un joint", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Bourré sur place", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Vomir en voiture", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Salutations',
+ items = {
+ {label = "Saluer", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Serrer la main", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Tchek", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Salut bandit", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Salut Militaire", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Travail',
+ items = {
+ {label = "Suspect : se rendre à la police", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Pêcheur", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Police : enquêter", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Police : parler à la radio", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Police : circulation", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Police : jumelles", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Agriculture : récolter", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Dépanneur : réparer le moteur", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Médecin : observer", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Taxi : parler au client", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Taxi : donner la facture", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Epicier : donner les courses", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Barman : servir un shot", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Journaliste : Prendre une photo", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "Tout métiers : Prendre des notes", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "Tout métiers : Coup de marteau", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Clochard : Faire la manche", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Clochard : Faire la statue", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Humeurs',
+ items = {
+ {label = "Féliciter", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Super", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Toi", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Viens", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Keskya ?", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "A moi", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "Je le savais, putain", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "Etre épuisé", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "Je suis dans la merde", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Calme-toi ", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "Qu'est ce que j'ai fait ?", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Avoir peur", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Fight ?", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "C'est pas Possible !", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Enlacer", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Doigt d'honneur", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "Branleur", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Balle dans la tete", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Sports',
+ items = {
+ {label = "Montrer ses muscles", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Barre de musculation", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Faire des pompes", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Faire des abdos", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Faire du yoga", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Divers',
+ items = {
+ {label = "Boire un café", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "S'asseoir", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Attendre contre un mur", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Couché sur le dos", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Couché sur le ventre", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Nettoyer quelque chose", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "Préparer à manger", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "Position de Fouille", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Prendre un selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Ecouter à une porte", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Attitudes',
+ items = {
+ {label = "Normal M", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Normal F", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Depressif", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Depressif F", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Business", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Determine", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Casual", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Trop mange", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Blesse", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "Intimide", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Hobo", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "Malheureux", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Muscle", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Choc", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Sombre", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Fatigue", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Pressee", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Fier", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Petite course", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Mangeuse d'homme", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Impertinent", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arrogante", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+ {
+ name = 'porn',
+ label = 'PEGI 21',
+ items = {
+ {label = "Homme se faire su*** en voiture", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Femme faire une gaterie en voiture", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Homme bais** en voiture", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Femme bais** en voiture", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Se gratter les couilles", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Faire du charme", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Pose michto", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "Montrer sa poitrine", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Strip Tease 1", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Strip Tease 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Stip Tease au sol", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ }
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/fxmanifest.lua b/[esx_addons]/esx_animations/fxmanifest.lua
new file mode 100644
index 00000000..37f03715
--- /dev/null
+++ b/[esx_addons]/esx_animations/fxmanifest.lua
@@ -0,0 +1,15 @@
+fx_version 'adamant'
+
+game 'gta5'
+
+description 'ESX Animations'
+lua54 'yes'
+version '1.9.0'
+
+client_scripts {
+ '@es_extended/imports.lua',
+ 'config.lua',
+ 'client/main.lua'
+}
+
+dependency 'es_extended'
diff --git a/[esx_addons]/esx_animations/localization/br_config.lua b/[esx_addons]/esx_animations/localization/br_config.lua
new file mode 100644
index 00000000..64cff785
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/br_config.lua
@@ -0,0 +1,161 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Festivo',
+ items = {
+ {label = "Fumar cigarros", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ {label = "Tocar um instrumento musical", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "DJ", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Beber", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Festa", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Tocando um violão imaginário", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Celebrando", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "rock and roll ", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Kouření jointu", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Bêbados", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Vômitos no carro", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Saudações',
+ items = {
+ {label = "Saudação", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Aperto de mão", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Aperto de mão 2", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Abraço gangster", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Comprimentar", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Trabalho',
+ items = {
+ {label = "Suspeito: rendição à polícia", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Pesca", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Polícia: investigação", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Polícia: falando no rádio", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Polícia: gerenciamento de tráfego", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Polícia: binóculos", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Agricultura: coleta", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Mecânico: reparação de motores", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Médico: exame", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Táxi: conversando com o cliente", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Táxi: entregando uma fatura", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Vendedor: bens de alimentação", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Barman: Derramando uma bebida", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Jornalista: sessão de fotos", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "Outro trabalho: anotando", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "Outros trabalhos: rosqueamento de martelo", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Hobo: segurando cartazes", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Hobo: estátuas de imitação", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Humor',
+ items = {
+ {label = "Aplausos", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Super", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Apontando com o dedo", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Vem cá", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Então, o que houve?", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "Já?", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "Eu sabia, o inferno", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "Pendurado", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "Está ferrado", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Tapa na cara", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Acalme-se", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "O que eu fiz?", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Oh não", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Batalha?", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "Isso não é possível!", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Beijo", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Dar dedo", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "Masturbando", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Bala na cabeça", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Esportes',
+ items = {
+ {label = "Mostrando músculos", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Fortalecimento", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Clicando", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Sentar", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Yoga", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Outros',
+ items = {
+ {label = "Bebendo café", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "Sentado", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Encostado em uma parede", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Deitado de costas", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Deitado de bruços", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Limpeza", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "Churrasco", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "Tour pessoal", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Tirando uma selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Ouvindo atras da porta", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Atitudes',
+ items = {
+ {label = "Homem normal", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Mulher normal", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Homem deprimido", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Mulher deprimida", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Negócios", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Determinado", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Comum", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Travessia", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Lesões", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "Pressa", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Sem abrigo", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "Triste", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Muscularidade", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Chocado", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Suspeito", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Fadiga", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Êxito", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Orgulhoso", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Arrancado", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Gay", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Insolência", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arrogância", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+ {
+ name = 'porn',
+ label = 'Sex',
+ items = {
+ {label = "Fumar no carro - homem", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Fumar no carro - mulher", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Sexo no carro - homem", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Sexo no carro - mulher", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Raspagem na virilha", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Prostitutas em pé", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Pose de prostituta", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "mostrando o peito", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Striptease", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Striptease 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Striptease 3", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ }
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/localization/cs_config.lua b/[esx_addons]/esx_animations/localization/cs_config.lua
new file mode 100644
index 00000000..74b8e76e
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/cs_config.lua
@@ -0,0 +1,161 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Slavnostní',
+ items = {
+ {label = "Kouření cigarety", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ {label = "Hraní na hudební nástroj", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "DJ", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Pití", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Párty", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Hraní na imaginární kytaru", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Oslavování", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Kouření jointu", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Ožralecké balancování", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Zvracení v autě", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Pozdravy',
+ items = {
+ {label = "Pozdrav", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Podání ruky", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Podání ruky 2", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Gangsterské objetí", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Salutování", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Práce',
+ items = {
+ {label = "Podezřelý: vzdání se policii", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Rybaření", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Policie: vyšetřování", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Policie: mluvení do vysílačky", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Policie: řízení dopravy", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Policie: dalekohled", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Zemědělství: sbírání", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Mechanik: oprava motoru", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Lékař: prohlídka", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Taxi: mluvení k zákazníkovi", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Taxi: dávání faktury", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Prodavač: podávání zboží", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Barman: nalití panáka", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Novinář: focení", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "Jiná práce: zapisování poznámek", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "Jiná práce: ťukání kladivem", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Tulák: držení cedule", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Tulák: imitace sochy", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Nálady',
+ items = {
+ {label = "Potlesk", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Super", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Ukázání prstem", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Pojď sem", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Tak co je?", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "Já?", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "Já to věděl sakra", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "Postávání", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "Je to v háji", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Klídek", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "Co jsem to udělal?", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Oh ne", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Bitka?", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "To snad není možné!", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Polibek", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Fakování", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "Onanování", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Kulka do hlavy", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Sporty',
+ items = {
+ {label = "Ukázání svalů", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Posilování", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Klikování", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Sedy lehy", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Jóga", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Ostatní',
+ items = {
+ {label = "Pití kávy", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "Sedění", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Opření o zeď", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Ležení na zádech", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Ležení na břiše", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Uklízení", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "Grilování", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "Osobní prohlídka", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Focení selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Poslouchání u dveří", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Postoje',
+ items = {
+ {label = "Normální muž", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Normální žena", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Deprese muž", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Deprese žena", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Business", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Odhodlaný", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Běžný", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Přejezení", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Zranění", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "Pospíchání", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Bezdomovec", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "Smutný", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Svalnatost", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Šokovaný", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Podezřelý", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Únava", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Uspěchanost", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Pyšný", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Sprint", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Gay", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Drzost", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arogance", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+ {
+ name = 'porn',
+ label = 'Sex',
+ items = {
+ {label = "Kouření v autě - muž", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Kouření v autě - žena", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Sex v autě - muž", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Sex v autě - žena", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Škrabání v rozkroku", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Stání prostitutky", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Póza prostitutky", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "Ukázání prsou", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Striptýz", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Striptýz 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Striptýz 3", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ }
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/localization/en_config.lua b/[esx_addons]/esx_animations/localization/en_config.lua
new file mode 100644
index 00000000..34f3019a
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/en_config.lua
@@ -0,0 +1,162 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Festive',
+ items = {
+ {label = "Smoke", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ {label = "Musician", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "Dj", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Coffee", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Beer", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Air Guitar", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Air Shagging", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Fumer un joint", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Drunk Standing", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Vomiting", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Greetings',
+ items = {
+ {label = "Hello", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Wave", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Handshake", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Hugging", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Salute", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Job',
+ items = {
+ {label = "Suspect : Surrender", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Fishing", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Police : Investigate", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Police : Use Radio", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Police : Traffic", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Police : Binoculars", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Agriculture : Planting", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Mechanic : Fixing Motor", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Medic : Kneel", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Taxi : Talk to customer", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Taxi : Give bill", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Grocer : Give", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Barman : Serve Shot", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Journalist : Take Photos", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "All Jobs : Clipboard", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "All Jobs : Hammering", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Bum : Holding Sign", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Bum : Human Statue", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Fun',
+ items = {
+ {label = "Cheering", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Super", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Point", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Come here", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Bring it on", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "Me", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "I knew it", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "Exhausted", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "I'm the shit", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Calm down ", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "What did I do?", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Fear", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Fight ?", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "It's not possible !", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Embrace", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Finger of honor", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "You wanker", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Bullet in the head", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Sports',
+ items = {
+ {label = "Flex muscles", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Lift weights", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Do push ups", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Do sit ups", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Do yoga", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Divers',
+ items = {
+ {label = "Drink coffee", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "Sit", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Lean against wall", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Sunbathe Back", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Sunbathe Front", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Clean", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "BBQ", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "Search", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Take selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Listen to wall/door", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Walking Styles',
+ items = {
+ {label = "Normal M", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Normal F", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Depressed male", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Depressed female", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Business", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Determined", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Casual", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Ate too much", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Injured", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "In a hurry", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Hobo", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "sad", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Muscle", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Shocked", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Being shady", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Buzzed", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Hurry", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Proud", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Short race", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Man eater", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Sassy", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arrogant", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+ {
+ name = 'porn',
+ label = 'NSFW',
+ items = {
+ {label = "Man receiving in car", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Woman giving in car", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Man on bottom in car", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Woman on top in car", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Scratch nuts", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Hooker 1", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Hooker 2", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "Hooker 3", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Strip Tease 1", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Strip Tease 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Stip Tease On Knees", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ },
+
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/localization/fi_config.lua b/[esx_addons]/esx_animations/localization/fi_config.lua
new file mode 100644
index 00000000..84cdada3
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/fi_config.lua
@@ -0,0 +1,164 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Juhlalliset',
+ items = {
+ --{label = "Polta tupakkia", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ {label = "Soita musiikkia", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "Tiskijukka", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Juo olutta", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Biletä", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Ilmakitara", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Humppaa ilmaa", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Polta pilveä", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Humala idle", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Oksenna ulos(auto,vänkäri)", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ {label = "Herää darrasta ja oksenna", type = "anim", data = {lib = "missfam5_blackout", anim = "vomit"}},
+ {label = "Oksenna seisoalteen(nojaten)", type = "anim", data = {lib = "missheistpaletoscore1leadinout", anim = "trv_puking_leadout"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Tervehdykset',
+ items = {
+ {label = "Tervehdi", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Kättele", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Kättele 2", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Gangi tervehdys", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Käsi lipalle", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Työ',
+ items = {
+ {label = "Epäilty : mene polville", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Kalasta", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Poliisi : tutki rikospaikkaa", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Poliisi : puhu radioon", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Poliisi : ohjaa liikenettä", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Poliisi : kiikaroi", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Istuta", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Mekaanikko : Korjaa moottoria", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Mekaanikko : Hitsaa", type = "scenario", data = {anim = "WORLD_HUMAN_WELDING"}},
+ {label = "EMS : tutki", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Taxi : Puhu asiakkalle", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Taxi : Anna lasku", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Myyjä : Siirrä laatikoita", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Baarimikko : Kaada shotti", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Journalisti : Ota valokuvia", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "Muut työt : Katsele muistiinpanoja", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "Muut Työt : Vasaroi", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Pummi : Näytä kylttiä", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Pummi : Ole patsas", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Humoristiset',
+ items = {
+ {label = "Taputa", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Peukut", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Osota", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Tuu tänne", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Haasta riitaa", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "minä", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "varasta, ylähylly", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "Hengästynyt", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Rauhoittele", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "Pelästy", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Pelkää", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Valmistu tappelluun", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "Voi rähmä!", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Suutele", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Keskisormet", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "Runkkaa", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Ammu itseä päähän", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Sporttiset',
+ items = {
+ {label = "Esittele lihaksia", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Nostele painoja", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Punnerra", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Tee vatsalihaksia", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Yoogaa", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Muut',
+ items = {
+ {label = "Juo kahvia", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "Istua", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Nojaa taakse", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Ota aurinkoa selällään", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Ota aurinkoa mahallaan", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Pese", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "Grillaa", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "T-pose", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Ota selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Kuuntele ovea", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Asenteet',
+ items = {
+ {label = "Normaali M", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Normaali N", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Masentunut M", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Masentunut N", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Varakas", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Rohkea", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Filthy Kasuaali", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Vitun Läski", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipsteri", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Loukkaantunut", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "Kiireinen", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Pummi", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "Surullinen", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Lihaksikas", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Järkyttynyt", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Kovis", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Väsynyt", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Kiirreellisempi", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Ylpeä", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Lyhyen kilpailun juoksija", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Miesten hurmaaja", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Nenäkäs", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Ylimielinen", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+
+ {
+ name = 'porn',
+ label = 'Härski K-18',
+ items = {
+ {label = "Kuski (poskihoito)", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Vänkäri (poskihoito)", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Kuski (panee)", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Vänkäri (panee)", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Korjaa pallien sijaintia", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Strippari idle", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Strippari rööki", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "Heruta tissejä", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Strippi tanssi 1", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Strippi tanssi 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Twerkkaa", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ }
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/localization/nl_config.lua b/[esx_addons]/esx_animations/localization/nl_config.lua
new file mode 100644
index 00000000..d61e38d1
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/nl_config.lua
@@ -0,0 +1,162 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Feestelijk',
+ items = {
+ {label = "Roken", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ {label = "Muzikant", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "Dj", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Koffie", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Bier", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Lucht Gitaar", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Lucht Shagging", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Fumer un joint", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Dronken houding", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Overgevem", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Ontmoetingen',
+ items = {
+ {label = "Hallo", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Zwaai", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Schud hand", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Knuffel", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Saluteer", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Werkzaamheden',
+ items = {
+ {label = "Verdachte : Geef over", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Vissen", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Politie : Onderzoek", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Politie : Gebruik radio", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Politie : Verkeer", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Politie : Verrekijker", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Boer : Planten", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Monteur : Repareer motor", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Arts : Kniel", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Taxi : Praat met klant", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Taxi : Geef factuur", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Cashier : Geef", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Barman : Geef een shot", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Journalist : Neem fotos", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "Klembord", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "Hamer", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Zwerver : Houd bord vast", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Zwerver : Menselijk beeld", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Humor',
+ items = {
+ {label = "Juichen", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Super", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Wijs", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Kom hier", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Kom maar op", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "Ik", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "Ik wist het", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "Uitgeput", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "Ik ben de shit", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Doe rustig", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "Wat heb ik gedaan?", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Bang", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Vechten?", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "Dat is onmogelijk!", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Omhels", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Middelvinger", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "Jij rukker", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Doodsbedreiging", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Sport',
+ items = {
+ {label = "Flex spieren", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Gewichten heffen", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Push ups", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Sit ups", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Yoga", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Diverse',
+ items = {
+ {label = "Drink koffie", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "Zit", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Leun tegen muur", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Op je buik zonnen", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Op je rug zonnen", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Maak schoon", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "Barbeque", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "Zoek", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Neem selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Luister aan muur/deur", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Loop stijlen',
+ items = {
+ {label = "Normaal M", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Normaal V", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Depressieve man", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Depressieve vrouw", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Zakelijk", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Vastberaden", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Normaal", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Te veel gegeten", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Gewond", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "In een haast", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Zwerver", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "Verdrietig", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Patser", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Geschokkeerd", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Verdacht", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Gespannen", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Haast", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Trots", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Korte race", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Mannen verslinder", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Onbeschaamd", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arrogant", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+ {
+ name = 'porn',
+ label = 'NSFW',
+ items = {
+ {label = "Man krijgt in de auto", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Vrouw geeft in de auto", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Man onder op in de auto", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Vrouw boven op in de auto", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Krab balzak", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Prostituée 1", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Prostituée 2", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "Prostituée 3", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Strip Tease 1", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Strip Tease 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Stip Tease op knieën", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ },
+
+}
diff --git a/[esx_addons]/esx_animations/localization/pl_config.lua b/[esx_addons]/esx_animations/localization/pl_config.lua
new file mode 100644
index 00000000..03243794
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/pl_config.lua
@@ -0,0 +1,161 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Imprezowe',
+ items = {
+ {label = "Graj na gitarze", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "Dj", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Picie piwa 'LEGALNIE'", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Picie piwa", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Udawanie gry na gitarze", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Dokowanie", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Fumer un jo int", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Pijany", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Wymiotowanie z auta", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Przywitania',
+ items = {
+ {label = "Witaj", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Cześć", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Podaj reke", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Gangsterskie", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Saluuut", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Prace',
+ items = {
+ {label = "Na kolana", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Łow ryby", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Policja: sprawdź dowody", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Policja: rozmowaij przez radio", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Policja: kieruj ruchem", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Użyj lornetki", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Wykopki", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Mechanik: sprawdź/napraw silnik", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Medyk: sprawdź stan", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Taxi: rozmawiaj z klientem", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Taxi : wystaw rachunek", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Załaduj towar", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Barman: polej kolejke", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Redaktor: rób zdjęcia", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "Patrz w notatki", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "Jebaj młotkiem", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Trzymaj kartke", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Pozuj", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Humor',
+ items = {
+ {label = "Klaskaj", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "OK", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Ty", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Zawolaj", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "O co cho??", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "A moi", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "Mam to", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "BRAK!!!!!", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "BRAK!!!!!", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Spokojnie ", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "Zdziwienie", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Poddaj się", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Przygotuj się do walki", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "Nie m ch**a", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Przytul", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Zajeb fakera", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "Marszcz freda", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Strzel sobie w głowe", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Sport',
+ items = {
+ {label = "Napinaj miesnie", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Wyciskaj sztange", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Pompuj", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Rob Brzuszki", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Yoga", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Inne',
+ items = {
+ {label = "Pij kawe", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "Usiadz na krzesle", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Przegladaj smartfon", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Polóż się na ziemi", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Polóż się na ziemi na brzuchu", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Umyj", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "Smaż na grillu", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "Pozuj: samolot", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Rób selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Otwieraj sejf", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Zachowania',
+ items = {
+ {label = "Pewniak M", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Pewniak K", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Smutas M", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Smutas K", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Biznesman", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Odważny", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Luzak", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Gruby", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Poszkodowany", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "W pośpiechu", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Bezdomny", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "Smutny", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Siłacz", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Zszokowany", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Podejrzany", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Nabuzowany", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "W pośpiechu 2", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Pieniądze", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Szybki", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Zjadacz", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Impertynencki", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arogancki", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+
+ {
+ name = 'porn',
+ label = 'Wulgarne',
+ items = {
+ {label = "Głebokie gardlo", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Rób loda", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Zimny lokiec", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Siadaj na berło", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Drap sie po jajach", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Uwodź", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Dziwka pali szluga", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "Machaj cyckami", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Strptiz", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Strptiz 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Taniec erotyczny", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ },
+}
diff --git a/[esx_addons]/esx_animations/localization/ru_config.lua b/[esx_addons]/esx_animations/localization/ru_config.lua
new file mode 100644
index 00000000..0cc8516a
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/ru_config.lua
@@ -0,0 +1,161 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Действия',
+ items = {
+ {label = "Курнуть", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ --{label = "Jouer de la musique", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "Dj", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Пить", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Веселиться с пивасом", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Воздушная гитара", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Воздушный перепихон", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ {label = "Курить как профи", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Изоброжать пьянь", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ --{label = "Vomir en voiture", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Приветствия',
+ items = {
+ {label = "Салют", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Рукопожатие", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Крутое Рукопожатие", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Рука-обнимашка", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Отдать честь", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Работа',
+ items = {
+ {label = "На колени, руки за голову", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Рыбачить", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Police : Осматривать", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Police : Проверять рацию", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Police : Махать палкой", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Police : Глядеть вдаль биноклем", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Капать лопаткой", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Ремонтировать что-то", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Медик : Осморт лежачего", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ --{label = "Taxi : parler au client", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ --{label = "Taxi : donner la facture", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Достать, положитьб перед собой", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Бармен : Налить рюмку", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Фотографировать", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "Работать с блокнотом", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "Молотить", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Попрошайничать", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Изображать статую", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Эмоции',
+ items = {
+ {label = "Ура! Заебись", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Супер", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Показать пальцем", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Сюда иди", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Че нах ?", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "А я?", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ --{label = "Je le savais, putain", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ --{label = "Etre épuisé", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ --{label = "Je suis dans la merde", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Тихо - тихо", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "Шо там ебать?", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Страшно", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Разминаться", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "Черт!", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Обьятия с поцелуем", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Два фака", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "Мастурбация", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Застрелиться", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Спорт',
+ items = {
+ {label = "Выебываться мускулами", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Поднимать штангу", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Отжимание", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Пресс", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Йога", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Разное',
+ items = {
+ --{label = "Boire un café", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ --{label = "S'asseoir", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Курить у стенки", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Лежать", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Лежать на животе", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Протирать", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "Жарить на грилле", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ --{label = "Position de Fouille", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Селфи", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Подслушивать", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Походка',
+ items = {
+ {label = "Normal M", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Normal F", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Depressif", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Depressif F", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Business", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Determine", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Casual", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Trop mange", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Blesse", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "Intimide", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Hobo", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "Malheureux", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Muscle", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Choc", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Sombre", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Fatigue", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Pressee", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Fier", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Petite course", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Mangeuse d'homme", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Impertinent", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arrogante", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+ {
+ name = 'porn',
+ label = '18+ БЛЯТЬ',
+ items = {
+ {label = "Тебе сосут (сидя) в машине", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Ты сосешь (сидя) в машине", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Тебе сосут в машине, оч приятно", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Трах в машине", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Зачесались яйца", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Аура шлюхи", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Поза шлюхи", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "Титькотрясение", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Стрип 1", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Стрип 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Стрип 3", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ }
+}
diff --git a/[esx_addons]/esx_animations/localization/si_config.lua b/[esx_addons]/esx_animations/localization/si_config.lua
new file mode 100644
index 00000000..da4005f8
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/si_config.lua
@@ -0,0 +1,162 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Prazniki',
+ items = {
+ {label = "Smoke", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ {label = "Musician", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "Dj", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Coffee", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Beer", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Air Guitar", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Air Shagging", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Fumer un joint", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Drunk Standing", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Vomiting", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Pozdravi',
+ items = {
+ {label = "Hello", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Wave", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Handshake", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Hugging", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Salute", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Sluzba',
+ items = {
+ {label = "Suspect : Surrender", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "Fishing", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Police : Investigate", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Police : Use Radio", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Police : Traffic", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Police : Binoculars", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Agriculture : Planting", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Mechanic : Fixing Motor", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Medic : Kneel", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Taxi : Talk to customer", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Taxi : Give bill", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Grocer : Give", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Barman : Serve Shot", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Journalist : Take Photos", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "All Jobs : Clipboard", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "All Jobs : Hammering", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Bum : Holding Sign", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Bum : Human Statue", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Zabava',
+ items = {
+ {label = "Cheering", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Super", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Point", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Come here", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Bring it on", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "Me", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "I knew it", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "Exhausted", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "I'm the shit", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Calm down ", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "What did I do?", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Fear", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Fight ?", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "It's not possible !", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Embrace", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Finger of honor", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "You wanker", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Bullet in the head", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Sporti',
+ items = {
+ {label = "Flex muscles", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Lift weights", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Do push ups", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Do sit ups", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Do yoga", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Razno',
+ items = {
+ {label = "Drink coffee", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "Sit", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Lean against wall", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Sunbathe Back", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Sunbathe Front", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Clean", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "BBQ", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "Search", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Take selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Listen to wall/door", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Stili hoje',
+ items = {
+ {label = "Normal M", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Normal F", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Depressed male", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Depressed female", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Business", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Determined", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Casual", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Ate too much", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Injured", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "In a hurry", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Hobo", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "sad", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Muscle", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Shocked", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Being shady", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Buzzed", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Hurry", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Proud", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Short race", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Man eater", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Sassy", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arrogant", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+ {
+ name = 'porn',
+ label = 'NSFW',
+ items = {
+ {label = "Man receiving in car", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "Woman giving in car", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "Man on bottom in car", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "Woman on top in car", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "Scratch nuts", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "Hooker 1", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "Hooker 2", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "Hooker 3", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "Strip Tease 1", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "Strip Tease 2", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "Stip Tease On Knees", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ },
+
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_animations/localization/sv_config.lua b/[esx_addons]/esx_animations/localization/sv_config.lua
new file mode 100644
index 00000000..547d63f8
--- /dev/null
+++ b/[esx_addons]/esx_animations/localization/sv_config.lua
@@ -0,0 +1,162 @@
+Config = {}
+
+Config.Animations = {
+
+ {
+ name = 'festives',
+ label = 'Festliga',
+ items = {
+ {label = "Rök en cigarett", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING"}},
+ {label = "Spela musik", type = "scenario", data = {anim = "WORLD_HUMAN_MUSICIAN"}},
+ {label = "DJ", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@dj", anim = "dj"}},
+ {label = "Drick en öl", type = "scenario", data = {anim = "WORLD_HUMAN_DRINKING"}},
+ {label = "Party", type = "scenario", data = {anim = "WORLD_HUMAN_PARTYING"}},
+ {label = "Luftgitarr", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@air_guitar", anim = "air_guitar"}},
+ {label = "Dansa", type = "anim", data = {lib = "anim@mp_player_intcelebrationfemale@air_shagging", anim = "air_shagging"}},
+ {label = "Rock'n'roll", type = "anim", data = {lib = "mp_player_int_upperrock", anim = "mp_player_int_rock"}},
+ -- {label = "Mekka en joint", type = "scenario", data = {anim = "WORLD_HUMAN_SMOKING_POT"}},
+ {label = "Fylld på platsen", type = "anim", data = {lib = "amb@world_human_bum_standing@drunk@idle_a", anim = "idle_a"}},
+ {label = "Spy", type = "anim", data = {lib = "oddjobs@taxi@tie", anim = "vomit_outside"}},
+ }
+ },
+
+ {
+ name = 'greetings',
+ label = 'Hälsningar',
+ items = {
+ {label = "Hälsa", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_hello"}},
+ {label = "Skaka hand", type = "anim", data = {lib = "mp_common", anim = "givetake1_a"}},
+ {label = "Skaka hand 2", type = "anim", data = {lib = "mp_ped_interaction", anim = "handshake_guy_a"}},
+ {label = "Gangsterhälsning", type = "anim", data = {lib = "mp_ped_interaction", anim = "hugs_guy_a"}},
+ {label = "Militärhälsning", type = "anim", data = {lib = "mp_player_int_uppersalute", anim = "mp_player_int_salute"}},
+ }
+ },
+
+ {
+ name = 'work',
+ label = 'Jobb',
+ items = {
+ {label = "Misstänkt: gå till polisen", type = "anim", data = {lib = "random@arrests@busted", anim = "idle_c"}},
+ {label = "FIskare", type = "scenario", data = {anim = "world_human_stand_fishing"}},
+ {label = "Polis utreda", type = "anim", data = {lib = "amb@code_human_police_investigate@idle_b", anim = "idle_f"}},
+ {label = "Polis: prata på radion", type = "anim", data = {lib = "random@arrests", anim = "generic_radio_chatter"}},
+ {label = "Polis: trafik", type = "scenario", data = {anim = "WORLD_HUMAN_CAR_PARK_ATTENDANT"}},
+ {label = "Polis: kikare", type = "scenario", data = {anim = "WORLD_HUMAN_BINOCULARS"}},
+ {label = "Jordbruk: skörd", type = "scenario", data = {anim = "world_human_gardener_plant"}},
+ {label = "Mekaniker: reparera motorn", type = "anim", data = {lib = "mini@repair", anim = "fixing_a_ped"}},
+ {label = "Läkare: observera", type = "scenario", data = {anim = "CODE_HUMAN_MEDIC_KNEEL"}},
+ {label = "Taxi: prata med kunden", type = "anim", data = {lib = "oddjobs@taxi@driver", anim = "leanover_idle"}},
+ {label = "Taxi: ge räkning", type = "anim", data = {lib = "oddjobs@taxi@cyi", anim = "std_hand_off_ps_passenger"}},
+ {label = "Livsmedel: ge handla", type = "anim", data = {lib = "mp_am_hold_up", anim = "purchase_beerbox_shopkeeper"}},
+ {label = "Bartender: tjäna en shot", type = "anim", data = {lib = "mini@drinking", anim = "shots_barman_b"}},
+ {label = "Reporter: Ta en bild", type = "scenario", data = {anim = "WORLD_HUMAN_PAPARAZZI"}},
+ {label = "Ta noteringar", type = "scenario", data = {anim = "WORLD_HUMAN_CLIPBOARD"}},
+ {label = "Använd hammare", type = "scenario", data = {anim = "WORLD_HUMAN_HAMMERING"}},
+ {label = "Gör rundan", type = "scenario", data = {anim = "WORLD_HUMAN_BUM_FREEWAY"}},
+ {label = "Statyn", type = "scenario", data = {anim = "WORLD_HUMAN_HUMAN_STATUE"}},
+ }
+ },
+
+ {
+ name = 'humors',
+ label = 'Humor',
+ items = {
+ {label = "Gratulera", type = "scenario", data = {anim = "WORLD_HUMAN_CHEERING"}},
+ {label = "Stor", type = "anim", data = {lib = "mp_action", anim = "thanks_male_06"}},
+ {label = "Peka", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_point"}},
+ {label = "Kom hit", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_come_here_soft"}},
+ {label = "Kom an", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_bring_it_on"}},
+ {label = "Till mig", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_me"}},
+ {label = "Jag visste det, skit", type = "anim", data = {lib = "anim@am_hold_up@male", anim = "shoplift_high"}},
+ {label = "Utmattad", type = "scenario", data = {lib = "amb@world_human_jog_standing@male@idle_b", anim = "idle_d"}},
+ {label = "Jag är i skiten", type = "scenario", data = {lib = "amb@world_human_bum_standing@depressed@idle_a", anim = "idle_a"}},
+ {label = "Facepalm", type = "anim", data = {lib = "anim@mp_player_intcelebrationmale@face_palm", anim = "face_palm"}},
+ {label = "Lugna ner ", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_easy_now"}},
+ {label = "Vad gjorde jag?", type = "anim", data = {lib = "oddjobs@assassinate@multi@", anim = "react_big_variations_a"}},
+ {label = "Att vara rädd", type = "anim", data = {lib = "amb@code_human_cower_stand@male@react_cowering", anim = "base_right"}},
+ {label = "Slåss?", type = "anim", data = {lib = "anim@deathmatch_intros@unarmed", anim = "intro_male_unarmed_e"}},
+ {label = "Det är inte möjligt!", type = "anim", data = {lib = "gestures@m@standing@casual", anim = "gesture_damn"}},
+ {label = "Omfamna", type = "anim", data = {lib = "mp_ped_interaction", anim = "kisses_guy_a"}},
+ {label = "Finger av ära", type = "anim", data = {lib = "mp_player_int_upperfinger", anim = "mp_player_int_finger_01_enter"}},
+ {label = "Vinka", type = "anim", data = {lib = "mp_player_int_upperwank", anim = "mp_player_int_wank_01"}},
+ {label = "Begå självmord", type = "anim", data = {lib = "mp_suicide", anim = "pistol"}},
+ }
+ },
+
+ {
+ name = 'sports',
+ label = 'Sporter',
+ items = {
+ {label = "Flexa muskler", type = "anim", data = {lib = "amb@world_human_muscle_flex@arms_at_side@base", anim = "base"}},
+ {label = "Viktstång", type = "anim", data = {lib = "amb@world_human_muscle_free_weights@male@barbell@base", anim = "base"}},
+ {label = "Armhävningar", type = "anim", data = {lib = "amb@world_human_push_ups@male@base", anim = "base"}},
+ {label = "Gör situps", type = "anim", data = {lib = "amb@world_human_sit_ups@male@base", anim = "base"}},
+ {label = "Yoga", type = "anim", data = {lib = "amb@world_human_yoga@male@base", anim = "base_a"}},
+ }
+ },
+
+ {
+ name = 'misc',
+ label = 'Olika',
+ items = {
+ {label = "Drick en kaffe", type = "anim", data = {lib = "amb@world_human_aa_coffee@idle_a", anim = "idle_a"}},
+ {label = "Sitta", type = "anim", data = {lib = "anim@heists@prison_heistunfinished_biztarget_idle", anim = "target_idle"}},
+ {label = "Luta dig", type = "scenario", data = {anim = "world_human_leaning"}},
+ {label = "Ligg på ryggen", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE_BACK"}},
+ {label = "Ligg på magen", type = "scenario", data = {anim = "WORLD_HUMAN_SUNBATHE"}},
+ {label = "Rengör något", type = "scenario", data = {anim = "world_human_maid_clean"}},
+ {label = "Förbered dig för att äta", type = "scenario", data = {anim = "PROP_HUMAN_BBQ"}},
+ {label = "Sex Position", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_bj_to_prop_female"}},
+ {label = "Ta en selfie", type = "scenario", data = {anim = "world_human_tourist_mobile"}},
+ {label = "Lyssna på en dörr", type = "anim", data = {lib = "mini@safe_cracking", anim = "idle_base"}},
+ }
+ },
+
+ {
+ name = 'attitudem',
+ label = 'Attituder',
+ items = {
+ {label = "Självsäker M", type = "attitude", data = {lib = "move_m@confident", anim = "move_m@confident"}},
+ {label = "Självsäker K", type = "attitude", data = {lib = "move_f@heels@c", anim = "move_f@heels@c"}},
+ {label = "Deprimerad M", type = "attitude", data = {lib = "move_m@depressed@a", anim = "move_m@depressed@a"}},
+ {label = "Deprimerad K", type = "attitude", data = {lib = "move_f@depressed@a", anim = "move_f@depressed@a"}},
+ {label = "Business", type = "attitude", data = {lib = "move_m@business@a", anim = "move_m@business@a"}},
+ {label = "Modig", type = "attitude", data = {lib = "move_m@brave@a", anim = "move_m@brave@a"}},
+ {label = "Nonchalant", type = "attitude", data = {lib = "move_m@casual@a", anim = "move_m@casual@a"}},
+ {label = "Fet", type = "attitude", data = {lib = "move_m@fat@a", anim = "move_m@fat@a"}},
+ {label = "Hipster", type = "attitude", data = {lib = "move_m@hipster@a", anim = "move_m@hipster@a"}},
+ {label = "Skadad", type = "attitude", data = {lib = "move_m@injured", anim = "move_m@injured"}},
+ {label = "Bråttom", type = "attitude", data = {lib = "move_m@hurry@a", anim = "move_m@hurry@a"}},
+ {label = "Hemlös", type = "attitude", data = {lib = "move_m@hobo@a", anim = "move_m@hobo@a"}},
+ {label = "Ledsen", type = "attitude", data = {lib = "move_m@sad@a", anim = "move_m@sad@a"}},
+ {label = "Muskler", type = "attitude", data = {lib = "move_m@muscle@a", anim = "move_m@muscle@a"}},
+ {label = "Chockad", type = "attitude", data = {lib = "move_m@shocked@a", anim = "move_m@shocked@a"}},
+ {label = "Shadyped", type = "attitude", data = {lib = "move_m@shadyped@a", anim = "move_m@shadyped@a"}},
+ {label = "Surrande", type = "attitude", data = {lib = "move_m@buzzed", anim = "move_m@buzzed"}},
+ {label = "Pressad", type = "attitude", data = {lib = "move_m@hurry_butch@a", anim = "move_m@hurry_butch@a"}},
+ {label = "Pengar", type = "attitude", data = {lib = "move_m@money", anim = "move_m@money"}},
+ {label = "Snabb", type = "attitude", data = {lib = "move_m@quick", anim = "move_m@quick"}},
+ {label = "Man ätare", type = "attitude", data = {lib = "move_f@maneater", anim = "move_f@maneater"}},
+ {label = "Oförskämd", type = "attitude", data = {lib = "move_f@sassy", anim = "move_f@sassy"}},
+ {label = "Arrogant", type = "attitude", data = {lib = "move_f@arrogant@a", anim = "move_f@arrogant@a"}},
+ }
+ },
+
+ {
+ name = 'porn',
+ label = 'Sexställningar',
+ items = {
+ {label = "1", type = "anim", data = {lib = "oddjobs@towing", anim = "m_blow_job_loop"}},
+ {label = "2", type = "anim", data = {lib = "oddjobs@towing", anim = "f_blow_job_loop"}},
+ {label = "3", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_player"}},
+ {label = "4", type = "anim", data = {lib = "mini@prostitutes@sexlow_veh", anim = "low_car_sex_loop_female"}},
+ {label = "5", type = "anim", data = {lib = "mp_player_int_uppergrab_crotch", anim = "mp_player_int_grab_crotch"}},
+ {label = "6", type = "anim", data = {lib = "mini@strip_club@idles@stripper", anim = "stripper_idle_02"}},
+ {label = "7", type = "scenario", data = {anim = "WORLD_HUMAN_PROSTITUTE_HIGH_CLASS"}},
+ {label = "8", type = "anim", data = {lib = "mini@strip_club@backroom@", anim = "stripper_b_backroom_idle_b"}},
+ {label = "9", type = "anim", data = {lib = "mini@strip_club@lap_dance@ld_girl_a_song_a_p1", anim = "ld_girl_a_song_a_p1_f"}},
+ {label = "10", type = "anim", data = {lib = "mini@strip_club@private_dance@part2", anim = "priv_dance_p2"}},
+ {label = "11", type = "anim", data = {lib = "mini@strip_club@private_dance@part3", anim = "priv_dance_p3"}},
+ }
+ }
+}
diff --git a/[esx_addons]/esx_bankerjob/.editorconfig b/[esx_addons]/esx_bankerjob/.editorconfig
new file mode 100644
index 00000000..9b425256
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/.editorconfig
@@ -0,0 +1,9 @@
+root = true
+
+[*]
+indent_size = 4
+indent_style = tab
+end_of_line = crlf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
\ No newline at end of file
diff --git a/[esx_addons]/esx_bankerjob/LICENSE b/[esx_addons]/esx_bankerjob/LICENSE
new file mode 100644
index 00000000..4410e5f1
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+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-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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+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-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.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/[esx_addons]/esx_bankerjob/README.md b/[esx_addons]/esx_bankerjob/README.md
new file mode 100644
index 00000000..68250d5d
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/README.md
@@ -0,0 +1,44 @@
+# esx_bankerjob
+
+## Requirements
+
+- [cron](https://github.com/ESX-Org/cron)
+- [esx_addonaccount](https://github.com/ESX-Org/esx_addonaccount)
+- [esx_society](https://github.com/ESX-Org/esx_society)
+
+## Download & Installation
+
+### Using [fvm](https://github.com/qlaffont/fvm-installer)
+```
+fvm install --save --folder=esx esx-org/esx_bankerjob
+```
+
+### Using Git
+```
+cd resources
+git clone https://github.com/ESX-Org/esx_bankerjob [esx]/esx_bankerjob
+```
+
+### Manually
+- Download https://github.com/ESX-Org/esx_bankerjob/archive/master.zip
+- Put it in the `[esx]` directory
+
+## Installation
+- Import `esx_bankerjob.sql` in your database
+- Add this in your `server.cfg`:
+
+```
+start esx_bankerjob
+```
+
+# Legal
+### License
+esx_bankerjob - bank script
+
+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.
+
+This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
+
+You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.
\ No newline at end of file
diff --git a/[esx_addons]/esx_bankerjob/client/main.lua b/[esx_addons]/esx_bankerjob/client/main.lua
new file mode 100644
index 00000000..eab4b623
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/client/main.lua
@@ -0,0 +1,256 @@
+local CurrentActionData, CurrentAction, CurrentActionMsg, hasAlreadyEnteredMarker, lastZone = {}
+
+RegisterNetEvent('esx:playerLoaded')
+AddEventHandler('esx:playerLoaded', function (xPlayer)
+ ESX.PlayerData = xPlayer
+end)
+
+RegisterNetEvent('esx:setJob')
+AddEventHandler('esx:setJob', function (job)
+ ESX.PlayerData.job = job
+end)
+
+function OpenBankActionsMenu()
+ local elements = {
+ {unselectable = true, icon = "fas fa-bank", title = TranslateCap("bank")},
+ {icon = "fas fa-users", title = TranslateCap("customers"), value = "customers"},
+ {icon = "fas fa-scroll", title = TranslateCap("billing"), value = "billing"}
+ }
+
+ if ESX.PlayerData.job.grade_name == 'boss' then
+ elements[#elements+1] = {
+ icon = "fas fa-wallet",
+ title = TranslateCap("boss_actions"),
+ value = "boss_actions"
+ }
+ end
+
+ ESX.CloseContext()
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.value == "customers" then
+ OpenCustomersMenu()
+ elseif element.value == "billing" then
+ CreateBillingDialog()
+ elseif element.value == "boss_actions" then
+ TriggerEvent('esx_society:openBossMenu', 'banker', function(data, menu)
+ menu.close()
+ end, {wash = false})
+ CurrentAction = 'bank_actions_menu'
+ CurrentActionMsg = TranslateCap('press_input_context_to_open_menu')
+ CurrentActionData = {}
+ end
+ end, function(menu)
+ CurrentAction = 'bank_actions_menu'
+ CurrentActionMsg = TranslateCap('press_input_context_to_open_menu')
+ CurrentActionData = {}
+ end)
+end
+
+function OpenCustomersMenu()
+ ESX.TriggerServerCallback('esx_bankerjob:getCustomers', function(customers)
+ local elements = {
+ {unselectable = true, icon = "fas fa-users", title = TranslateCap('customer')}
+ }
+
+ for i=1, #customers do
+ elements[#elements+1] = {
+ icon = "fas fa-user",
+ title = customers[i].name,
+ bankSavings = customers[i].bankSavings,
+ data = customers[i]
+ }
+ end
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ local elements2 = {
+ {unselectable = true, icon = "fas fa-user", title = element.title},
+ {unselectable = true, icon = "fas fa-wallet", title = "$"..ESX.Math.GroupDigits(element.bankSavings)},
+ {icon = "fas fa-wallet", title = TranslateCap('deposit'), value = "deposit"},
+ {icon = "fas fa-wallet", title = TranslateCap('withdraw'), value = "withdraw"},
+ }
+ ESX.OpenContext("right", elements2, function(menu2,element2)
+ local customer = element.data
+ if element2.value == "deposit" then
+ local elements = {
+ {unselectable = true, icon = "fas fa-scroll", title = TranslateCap('amount')},
+ {title = "Amount", input = true, inputType = "number", inputMin = 1, inputMax = 250000, inputPlaceholder = "Amount to bill.."},
+ {icon = "fas fa-check-double", title = "Confirm", val = "confirm"}
+ }
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.val == "confirm" then
+ local amount = tonumber(menu.eles[2].inputValue)
+
+ if amount == nil then
+ ESX.ShowNotification(TranslateCap('invalid_amount'))
+ else
+ ESX.CloseContext()
+ TriggerServerEvent('esx_bankerjob:customerDeposit', customer.source, amount)
+ ESX.ShowNotification("You have deposited $"..amount.." into "..element.title.."s account.")
+ OpenCustomersMenu()
+ end
+ end
+ end, function(menu)
+ CurrentAction = 'bank_actions_menu'
+ CurrentActionMsg = TranslateCap('press_input_context_to_open_menu')
+ CurrentActionData = {}
+ end)
+ elseif element2.value == "withdraw" then
+ local elements = {
+ {unselectable = true, icon = "fas fa-scroll", title = TranslateCap('amount')},
+ {title = "Amount", input = true, inputType = "number", inputMin = 1, inputMax = 250000, inputPlaceholder = "Amount to bill.."},
+ {icon = "fas fa-check-double", title = "Confirm", val = "confirm"}
+ }
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.val == "confirm" then
+ local amount = tonumber(menu.eles[2].inputValue)
+
+ if amount == nil then
+ ESX.ShowNotification(TranslateCap('invalid_amount'))
+ else
+ ESX.CloseContext()
+ TriggerServerEvent('esx_bankerjob:customerWithdraw', customer.source, amount)
+ ESX.ShowNotification("You have withdrawn $"..amount.." from "..element.title.."s account.")
+ OpenCustomersMenu()
+ end
+ end
+ end, function(menu)
+ CurrentAction = 'bank_actions_menu'
+ CurrentActionMsg = TranslateCap('press_input_context_to_open_menu')
+ CurrentActionData = {}
+ end)
+ end
+ end, function(menu)
+ CurrentAction = 'bank_actions_menu'
+ CurrentActionMsg = TranslateCap('press_input_context_to_open_menu')
+ CurrentActionData = {}
+ end)
+ end, function(menu)
+ CurrentAction = 'bank_actions_menu'
+ CurrentActionMsg = TranslateCap('press_input_context_to_open_menu')
+ CurrentActionData = {}
+ end)
+ end)
+end
+
+function CreateBillingDialog()
+ local elements = {
+ {unselectable = true, icon = "fas fa-scroll", title = TranslateCap('bill_amount')},
+ {title = "Amount", input = true, inputType = "number", inputMin = 1, inputMax = 250000, inputPlaceholder = "Amount to bill.."},
+ {icon = "fas fa-check-double", title = "Confirm", val = "confirm"}
+ }
+
+ ESX.OpenContext("right", elements, function(menu,element)
+ if element.val == "confirm" then
+ local amount = tonumber(menu.eles[2].inputValue)
+
+ if amount == nil then
+ ESX.ShowNotification(TranslateCap('invalid_amount'))
+ else
+ ESX.CloseContext()
+
+ local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
+
+ if closestPlayer == -1 or closestDistance > 5.0 then
+ ESX.ShowNotification(TranslateCap('no_player_nearby'))
+ else
+ TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(closestPlayer), 'society_banker', 'Bank', amount)
+ end
+ end
+ end
+ end, function(menu)
+ CurrentAction = 'bank_actions_menu'
+ CurrentActionMsg = TranslateCap('press_input_context_to_open_menu')
+ CurrentActionData = {}
+ end)
+end
+
+AddEventHandler('esx_bankerjob:hasEnteredMarker', function (zone)
+ if zone == 'BankActions' and ESX.PlayerData.job and ESX.PlayerData.job.name == 'banker' then
+ CurrentAction = 'bank_actions_menu'
+ CurrentActionMsg = TranslateCap('press_input_context_to_open_menu')
+ CurrentActionData = {}
+ end
+end)
+
+AddEventHandler('esx_bankerjob:hasExitedMarker', function (zone)
+ CurrentAction = nil
+ ESX.CloseContext()
+end)
+
+-- Create Blips
+CreateThread(function()
+ local blip = AddBlipForCoord(Config.Zones.BankActions.Coords)
+
+ SetBlipSprite(blip, 108)
+ SetBlipColour(blip, 30)
+ SetBlipAsShortRange(blip, true)
+
+ BeginTextCommandSetBlipName('STRING')
+ AddTextComponentSubstringPlayerName(TranslateCap('bank'))
+ EndTextCommandSetBlipName(blip)
+end)
+
+-- Draw marker & activate menu when player is inside marker
+CreateThread(function()
+ while true do
+ Wait(0)
+
+ if ESX.PlayerData.job and ESX.PlayerData.job.name == 'banker' then
+ local playerCoords = GetEntityCoords(PlayerPedId())
+ local isInMarker, letSleep, currentZone = false, true
+
+ for k,v in pairs(Config.Zones) do
+ local distance = #(playerCoords - v.Coords)
+
+ if v.Type ~= -1 and distance < Config.DrawDistance then
+ letSleep = false
+ DrawMarker(v.Type, v.Coords, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, v.Size.x, v.Size.y, v.Size.z, v.Color.r, v.Color.g, v.Color.b, 100, false, true, 2, false, nil, nil, false)
+ end
+
+ if distance < v.Size.x then
+ isInMarker, currentZone, letSleep = true, k, false
+ end
+ end
+
+ if isInMarker and not hasAlreadyEnteredMarker then
+ hasAlreadyEnteredMarker, lastZone = true, currentZone
+ TriggerEvent('esx_bankerjob:hasEnteredMarker', currentZone)
+ end
+
+ if not isInMarker and hasAlreadyEnteredMarker then
+ hasAlreadyEnteredMarker = false
+ TriggerEvent('esx_bankerjob:hasExitedMarker', lastZone)
+ end
+
+ if letSleep then
+ Wait(500)
+ end
+ else
+ Wait(500)
+ end
+ end
+end)
+
+-- Key Controls
+CreateThread(function()
+ while true do
+ Wait(0)
+
+ if CurrentAction then
+ ESX.ShowHelpNotification(CurrentActionMsg)
+
+ if IsControlJustReleased(0, 38) and ESX.PlayerData.job and ESX.PlayerData.job.name == 'banker' then
+ if CurrentAction == 'bank_actions_menu' then
+ OpenBankActionsMenu()
+ end
+
+ CurrentAction = nil
+ end
+ else
+ Wait(500)
+ end
+ end
+end)
diff --git a/[esx_addons]/esx_bankerjob/config.lua b/[esx_addons]/esx_bankerjob/config.lua
new file mode 100644
index 00000000..9e26ffe1
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/config.lua
@@ -0,0 +1,13 @@
+Config = {}
+Config.DrawDistance = 10.0
+Config.BankSavingPercentage = 2.5
+Config.Locale = GetConvar('esx:locale', 'en')
+
+Config.Zones = {
+ BankActions = {
+ Coords = vector3(260.1, 204.3, 109.2),
+ Size = {x = 1.5, y = 1.5, z = 1.0},
+ Color = {r = 102, g = 102, b = 204},
+ Type = 1
+ }
+}
diff --git a/[esx_addons]/esx_bankerjob/esx_bankerjob.sql b/[esx_addons]/esx_bankerjob/esx_bankerjob.sql
new file mode 100644
index 00000000..83b9a13f
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/esx_bankerjob.sql
@@ -0,0 +1,18 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_banker','Banque',1),
+ ('bank_savings','Livret Bleu',0)
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('banker','Banquier')
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('banker',0,'advisor','Conseiller',10,'{}','{}'),
+ ('banker',1,'banker','Banquier',20,'{}','{}'),
+ ('banker',2,'business_banker',"Banquier d\'affaire",30,'{}','{}'),
+ ('banker',3,'trader','Trader',40,'{}','{}'),
+ ('banker',4,'boss','Patron',0,'{}','{}')
+;
diff --git a/[esx_addons]/esx_bankerjob/fxmanifest.lua b/[esx_addons]/esx_bankerjob/fxmanifest.lua
new file mode 100644
index 00000000..47eb4d5f
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/fxmanifest.lua
@@ -0,0 +1,30 @@
+fx_version 'adamant'
+
+game 'gta5'
+
+description 'ESX Banker job'
+
+version '1.9.0'
+lua54 'yes'
+shared_script '@es_extended/imports.lua'
+
+server_scripts {
+ '@async/async.lua',
+ '@oxmysql/lib/MySQL.lua',
+ '@es_extended/locale.lua',
+ 'config.lua',
+ 'locales/*.lua',
+ 'server/main.lua'
+}
+
+client_scripts {
+ '@es_extended/locale.lua',
+ 'config.lua',
+ 'locales/*.lua',
+ 'client/main.lua'
+}
+
+dependencies {
+ 'es_extended',
+ 'esx_society'
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/br.lua b/[esx_addons]/esx_bankerjob/locales/br.lua
new file mode 100644
index 00000000..6bc9341c
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/br.lua
@@ -0,0 +1,16 @@
+Locales['br'] = {
+ ['actions'] = 'ações',
+ ['amount'] = 'quantidade',
+ ['balance'] = 'saldo',
+ ['bank'] = 'banco',
+ ['bill_amount'] = 'montante de dinheiro',
+ ['billing'] = 'faturamento',
+ ['customer'] = 'cliente',
+ ['customers'] = 'clientes',
+ ['deposit'] = 'depositar',
+ ['invalid_amount'] = 'quantidade inválida',
+ ['no_player_nearby'] = 'nenhum jogador nas proximidades',
+ ['press_input_context_to_open_menu'] = 'pressione [E] para abrir o menu',
+ ['withdraw'] = 'sacar',
+ ['boss_actions'] = 'boss Actions',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/de.lua b/[esx_addons]/esx_bankerjob/locales/de.lua
new file mode 100644
index 00000000..dfd68f42
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/de.lua
@@ -0,0 +1,16 @@
+Locales['de'] = {
+ ['actions'] = 'Aktionen',
+ ['amount'] = 'Betrag',
+ ['balance'] = 'Kontostand',
+ ['bank'] = 'Bank',
+ ['bill_amount'] = 'Rechnungsbetrag',
+ ['billing'] = 'Rechnung',
+ ['customer'] = 'Kunde',
+ ['customers'] = 'Client',
+ ['deposit'] = 'einzahlen',
+ ['invalid_amount'] = 'ungültiger Betrag',
+ ['no_player_nearby'] = 'kein Spieler in der Nähe',
+ ['press_input_context_to_open_menu'] = 'Drücke [E] um das Bank Menü zu öffnen',
+ ['withdraw'] = 'Abheben',
+ ['boss_actions'] = 'boss Actions',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/en.lua b/[esx_addons]/esx_bankerjob/locales/en.lua
new file mode 100644
index 00000000..66fae148
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/en.lua
@@ -0,0 +1,16 @@
+Locales['en'] = {
+ ['actions'] = 'actions',
+ ['amount'] = 'amount',
+ ['balance'] = 'balance',
+ ['bank'] = 'bank',
+ ['bill_amount'] = 'bill amount',
+ ['billing'] = 'billing',
+ ['customer'] = 'customer',
+ ['customers'] = 'clients',
+ ['deposit'] = 'deposit',
+ ['invalid_amount'] = 'invalid amount',
+ ['no_player_nearby'] = 'no player nearby',
+ ['press_input_context_to_open_menu'] = 'press [E] to open the Bank Menu.',
+ ['withdraw'] = 'withdraw',
+ ['boss_actions'] = 'boss Actions',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/es.lua b/[esx_addons]/esx_bankerjob/locales/es.lua
new file mode 100644
index 00000000..f108ffe0
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/es.lua
@@ -0,0 +1,16 @@
+Locales['es'] = {
+ ['actions'] = 'acciones',
+ ['amount'] = 'cantidad',
+ ['balance'] = 'balance',
+ ['bank'] = 'Banco',
+ ['bill_amount'] = 'total de la factura',
+ ['billing'] = 'facturación',
+ ['customer'] = 'cliente',
+ ['customers'] = 'Clientes',
+ ['deposit'] = 'depositar',
+ ['invalid_amount'] = 'Monto invalido',
+ ['no_player_nearby'] = 'no hay jugadores cerca',
+ ['press_input_context_to_open_menu'] = 'presione [E] para abrir el Menú del banc .',
+ ['withdraw'] = 'retirar',
+ ['boss_actions'] = 'Acciones del jefe',
+ }
\ No newline at end of file
diff --git a/[esx_addons]/esx_bankerjob/locales/et.lua b/[esx_addons]/esx_bankerjob/locales/et.lua
new file mode 100644
index 00000000..474ede2a
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/et.lua
@@ -0,0 +1,16 @@
+Locales['et'] = {
+ ['actions'] = 'Tegevused',
+ ['amount'] = 'Kogus',
+ ['balance'] = 'Saldo',
+ ['bank'] = 'Pank',
+ ['bill_amount'] = 'Arve suurus',
+ ['billing'] = 'Arve',
+ ['customer'] = 'Klient',
+ ['customers'] = 'Kliendid',
+ ['deposit'] = 'Sisesta',
+ ['invalid_amount'] = 'Vale kogus',
+ ['no_player_nearby'] = 'Ühtegi isikut pole ligidal',
+ ['press_input_context_to_open_menu'] = 'Vajuta [E], et avada panga menüü.',
+ ['withdraw'] = 'Võta välja',
+ ['boss_actions'] = 'Bossi tegevused',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/fi.lua b/[esx_addons]/esx_bankerjob/locales/fi.lua
new file mode 100644
index 00000000..27941be9
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/fi.lua
@@ -0,0 +1,16 @@
+Locales['fi'] = {
+ ['actions'] = 'toiminnot',
+ ['amount'] = 'määrä',
+ ['balance'] = 'balanssi',
+ ['bank'] = 'Pankki',
+ ['bill_amount'] = 'laskun määrä',
+ ['billing'] = 'laskutus',
+ ['customer'] = 'asiakas',
+ ['customers'] = 'asiakkaat',
+ ['deposit'] = 'talletus',
+ ['invalid_amount'] = 'virheellinen määrä',
+ ['no_player_nearby'] = 'ei pelaajia lähettyvillä',
+ ['press_input_context_to_open_menu'] = 'Paina [E] avataksesi valikon',
+ ['withdraw'] = 'nosta',
+ ['boss_actions'] = 'pomo valinnat',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/fr.lua b/[esx_addons]/esx_bankerjob/locales/fr.lua
new file mode 100644
index 00000000..ceb3efed
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/fr.lua
@@ -0,0 +1,16 @@
+Locales['fr'] = {
+ ['actions'] = 'actions',
+ ['amount'] = 'montant',
+ ['balance'] = 'solde',
+ ['bank'] = 'banque',
+ ['bill_amount'] = 'montant de la facture',
+ ['billing'] = 'facturation',
+ ['customer'] = 'client',
+ ['customers'] = 'clients',
+ ['deposit'] = 'virement',
+ ['invalid_amount'] = 'montant invalide',
+ ['no_player_nearby'] = 'aucun joueur à proximité',
+ ['press_input_context_to_open_menu'] = 'appuyez sur [E] pour ouvrir le menu',
+ ['withdraw'] = 'retrait',
+ ['boss_actions'] = 'action Patron',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/hu.lua b/[esx_addons]/esx_bankerjob/locales/hu.lua
new file mode 100644
index 00000000..79570d88
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/hu.lua
@@ -0,0 +1,16 @@
+Locales['hu'] = {
+ ['actions'] = 'műveletek',
+ ['amount'] = 'összeg',
+ ['balance'] = 'egyenleg',
+ ['bank'] = 'bank',
+ ['bill_amount'] = 'Számla összege',
+ ['billing'] = 'Számlázás',
+ ['customer'] = 'Vevő',
+ ['customers'] = 'Kliensek',
+ ['deposit'] = 'Befizetés',
+ ['invalid_amount'] = 'Érvénytelen mennyiség',
+ ['no_player_nearby'] = 'Nincsen játékos a közeledben',
+ ['press_input_context_to_open_menu'] = 'Nyomj [E] hogy megnyisd a bankot.',
+ ['withdraw'] = 'Kivétel',
+ ['boss_actions'] = 'Főnöki menü',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/it.lua b/[esx_addons]/esx_bankerjob/locales/it.lua
new file mode 100644
index 00000000..47ac737d
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/it.lua
@@ -0,0 +1,16 @@
+Locales['it'] = {
+ ['actions'] = 'azioni',
+ ['amount'] = 'importo',
+ ['balance'] = 'saldo',
+ ['bank'] = 'banca',
+ ['bill_amount'] = 'importo fattura',
+ ['billing'] = 'fattura',
+ ['customer'] = 'cliente',
+ ['customers'] = 'clienti',
+ ['deposit'] = 'deposito',
+ ['invalid_amount'] = 'importo non valido',
+ ['no_player_nearby'] = 'nessun giocatore nelle vicinanze',
+ ['press_input_context_to_open_menu'] = 'premi [E] per aprire il menu della banca.',
+ ['withdraw'] = 'ritira',
+ ['boss_actions'] = 'azioni boss',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/nl.lua b/[esx_addons]/esx_bankerjob/locales/nl.lua
new file mode 100644
index 00000000..c797c8f3
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/nl.lua
@@ -0,0 +1,16 @@
+Locales['nl'] = {
+ ['actions'] = 'acties',
+ ['amount'] = 'bedrag',
+ ['balance'] = 'saldo',
+ ['bank'] = 'bank',
+ ['bill_amount'] = 'rekening bedrag',
+ ['billing'] = 'rekeningen',
+ ['customer'] = 'klant',
+ ['customers'] = 'klanten',
+ ['deposit'] = 'storten',
+ ['invalid_amount'] = 'ongedig bedrag',
+ ['no_player_nearby'] = 'geen speler in de omgeving',
+ ['press_input_context_to_open_menu'] = 'druk op [E] om het Bank Menute openen.',
+ ['withdraw'] = 'opnemen',
+ ['boss_actions'] = 'baas acties',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/si.lua b/[esx_addons]/esx_bankerjob/locales/si.lua
new file mode 100644
index 00000000..a3d5071c
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/si.lua
@@ -0,0 +1,16 @@
+Locales['si'] = {
+ ['actions'] = 'actions',
+ ['amount'] = 'znesek',
+ ["balance"] = "balance",
+ ['bank'] = 'bank',
+ ['bill_amount'] = 'znesek računa',
+ ["billing"] = "billing",
+ ["customer"] = "customer",
+ ['customers'] = 'customers',
+ ["deposit"] = "deposit",
+ ["invalid_amount"] = "neveljavni znesek",
+ ['no_player_nearby'] = 'v bližini ni igralca',
+ ['press_input_context_to_open_menu'] = 'pritisnite [E] za odprtje menija banke Bank.',
+ ['withdraw'] = 'umakni',
+ ['boss_actions'] = 'boss Actions',
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_bankerjob/locales/sv.lua b/[esx_addons]/esx_bankerjob/locales/sv.lua
new file mode 100644
index 00000000..aa76049c
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/sv.lua
@@ -0,0 +1,16 @@
+Locales['sv'] = {
+ ['actions'] = 'Handlingar',
+ ['amount'] = 'Belopp',
+ ['balance'] = 'Saldo',
+ ['bank'] = 'Bank',
+ ['bill_amount'] = 'Räkningsbelopp',
+ ['billing'] = 'Fakturering',
+ ['customer'] = 'Kund',
+ ['customers'] = 'Kunder',
+ ['deposit'] = 'Insättning',
+ ['invalid_amount'] = 'Ogiltig belopp',
+ ['no_player_nearby'] = 'Ingen spelare i närheten',
+ ['press_input_context_to_open_menu'] = 'Tryck [E] för att öppna Bankmenyn.',
+ ['withdraw'] = 'Ta ut',
+ ['boss_actions'] = 'Chef handlingar',
+}
diff --git a/[esx_addons]/esx_bankerjob/locales/tr.lua b/[esx_addons]/esx_bankerjob/locales/tr.lua
new file mode 100644
index 00000000..e7f76b64
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/locales/tr.lua
@@ -0,0 +1,17 @@
+Locales['tr'] = {
+ ['actions'] = 'hareketler',
+ ['amount'] = 'tutar',
+ ['balance'] = 'bakiye',
+ ['bank'] = 'banka',
+ ['bill_amount'] = 'fatura tutarı',
+ ['billing'] = 'faturalandırma',
+ ['customer'] = 'müşteri',
+ ['customers'] = 'müşteriler',
+ ['deposit'] = 'para yatır',
+ ['invalid_amount'] = 'geçersiz tutar',
+ ['no_player_nearby'] = 'yakında oyuncu yok',
+ ['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',
+ }
+
\ No newline at end of file
diff --git a/[esx_addons]/esx_bankerjob/localization/de_esx_bankerjob.sql b/[esx_addons]/esx_bankerjob/localization/de_esx_bankerjob.sql
new file mode 100644
index 00000000..6af7cd59
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/localization/de_esx_bankerjob.sql
@@ -0,0 +1,18 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_banker','Bank',1),
+ ('bank_savings','Bank',0)
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('banker','Banker')
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('banker',0,'advisor','Berater',10,'{}','{}'),
+ ('banker',1,'banker','Banker',20,'{}','{}'),
+ ('banker',2,'business_banker','Business Banker',30,'{}','{}'),
+ ('banker',3,'trader','Trader',40,'{}','{}'),
+ ('banker',4,'boss','Boss',0,'{}','{}')
+;
diff --git a/[esx_addons]/esx_bankerjob/localization/en_esx_bankerjob.sql b/[esx_addons]/esx_bankerjob/localization/en_esx_bankerjob.sql
new file mode 100644
index 00000000..779b3bf8
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/localization/en_esx_bankerjob.sql
@@ -0,0 +1,18 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_banker','Bank',1),
+ ('bank_savings','Bank Savings',0)
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('banker','Banker')
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('banker',0,'advisor','Advisor',10,'{}','{}'),
+ ('banker',1,'banker','Banker',20,'{}','{}'),
+ ('banker',2,'business_banker','Business Banker',30,'{}','{}'),
+ ('banker',3,'trader','Trader',40,'{}','{}'),
+ ('banker',4,'boss','Lead Banker',0,'{}','{}')
+;
diff --git a/[esx_addons]/esx_bankerjob/localization/esx_es_esx_bankerjob.sql b/[esx_addons]/esx_bankerjob/localization/esx_es_esx_bankerjob.sql
new file mode 100644
index 00000000..1b60b113
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/localization/esx_es_esx_bankerjob.sql
@@ -0,0 +1,18 @@
+USE `essentialmode`;
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_banker','Bank',1),
+ ('bank_savings','Ahorro bancario',0)
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('banker','Banquero')
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('banker',0,'advisor','Asesores',10,'{}','{}'),
+ ('banker',1,'banker','Banquero',20,'{}','{}'),
+ ('banker',2,'business_banker','Banquero de negocios',30,'{}','{}'),
+ ('banker',3,'trader','Comerciante',40,'{}','{}'),
+ ('banker',4,'boss','Banquero principal',0,'{}','{}')
+;
diff --git a/[esx_addons]/esx_bankerjob/localization/fi_esx_bankerjob.sql b/[esx_addons]/esx_bankerjob/localization/fi_esx_bankerjob.sql
new file mode 100644
index 00000000..6b851c77
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/localization/fi_esx_bankerjob.sql
@@ -0,0 +1,18 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_banker','Pankki',1),
+ ('bank_savings','Pankki',0)
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('banker','Pankkiiri')
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('banker',0,'advisor','Konsultti',10,'{}','{}'),
+ ('banker',1,'banker','Pankkiiri',20,'{}','{}'),
+ ('banker',2,'business_banker','Yritys Pankkiiri',30,'{}','{}'),
+ ('banker',3,'trader','Välittäjä',40,'{}','{}'),
+ ('banker',4,'boss','Pomo',0,'{}','{}')
+;
diff --git a/[esx_addons]/esx_bankerjob/localization/nl_esx_bankerjob.sql b/[esx_addons]/esx_bankerjob/localization/nl_esx_bankerjob.sql
new file mode 100644
index 00000000..c1289316
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/localization/nl_esx_bankerjob.sql
@@ -0,0 +1,16 @@
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_banker','Bank',1),
+ ('bank_savings','Spaarrekening',0)
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('banker','Bankier')
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('banker',0,'advisor','Adviseur',10,'{}','{}'),
+ ('banker',1,'banker','Bankoer',20,'{}','{}'),
+ ('banker',2,'business_banker','Bedrijfs Bankier',30,'{}','{}'),
+ ('banker',3,'trader','Stocktrader',40,'{}','{}'),
+ ('banker',4,'boss','Hoofd Bankier',0,'{}','{}')
+;
diff --git a/[esx_addons]/esx_bankerjob/localization/sv_esx_bankerjob.sql b/[esx_addons]/esx_bankerjob/localization/sv_esx_bankerjob.sql
new file mode 100644
index 00000000..a0323b98
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/localization/sv_esx_bankerjob.sql
@@ -0,0 +1,18 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_banker','Bank',1),
+ ('bank_savings','Bank',0)
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('banker','Banktjänsteman')
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('banker',0,'advisor','Rådgivare',10,'{}','{}'),
+ ('banker',1,'banker','Banktjänsteman',20,'{}','{}'),
+ ('banker',2,'business_banker','Företagstjänsteman',30,'{}','{}'),
+ ('banker',3,'trader','Köpman',40,'{}','{}'),
+ ('banker',4,'boss','VD',0,'{}','{}')
+;
diff --git a/[esx_addons]/esx_bankerjob/localization/tr_esx_bankerjob.sql b/[esx_addons]/esx_bankerjob/localization/tr_esx_bankerjob.sql
new file mode 100644
index 00000000..89d032df
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/localization/tr_esx_bankerjob.sql
@@ -0,0 +1,18 @@
+
+
+INSERT INTO `addon_account` (name, label, shared) VALUES
+ ('society_banker','Banka',1),
+ ('bank_savings','Banka Birikimi',0)
+;
+
+INSERT INTO `jobs` (name, label) VALUES
+ ('banker','Bankacı')
+;
+
+INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
+ ('banker',0,'advisor','Danışman',10,'{}','{}'),
+ ('banker',1,'banker','Bankacı',20,'{}','{}'),
+ ('banker',2,'business_banker','İşletme Bankacısı',30,'{}','{}'),
+ ('banker',3,'trader','Borsacı',40,'{}','{}'),
+ ('banker',4,'boss','Yönetici',0,'{}','{}')
+;
diff --git a/[esx_addons]/esx_bankerjob/server/main.lua b/[esx_addons]/esx_bankerjob/server/main.lua
new file mode 100644
index 00000000..93fa459b
--- /dev/null
+++ b/[esx_addons]/esx_bankerjob/server/main.lua
@@ -0,0 +1,109 @@
+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)
+ local xPlayer = ESX.GetPlayerFromId(target)
+
+ TriggerEvent('esx_addonaccount:getSharedAccount', 'society_banker', function (account)
+ if amount > 0 and account.money >= amount then
+ account.removeMoney(amount)
+
+ TriggerEvent('esx_addonaccount:getAccount', 'bank_savings', xPlayer.identifier, function (account)
+ account.addMoney(amount)
+ end)
+ else
+ TriggerClientEvent('esx:showNotification', xPlayer.source, TranslateCap('invalid_amount'))
+ end
+ end)
+end)
+
+RegisterServerEvent('esx_bankerjob:customerWithdraw')
+AddEventHandler('esx_bankerjob:customerWithdraw', function (target, amount)
+ local xPlayer = ESX.GetPlayerFromId(target)
+
+ TriggerEvent('esx_addonaccount:getAccount', 'bank_savings', xPlayer.identifier, function (account)
+ if amount > 0 and account.money >= amount then
+ account.removeMoney(amount)
+
+ TriggerEvent('esx_addonaccount:getSharedAccount', 'society_banker', function (account)
+ account.addMoney(amount)
+ end)
+ else
+ TriggerClientEvent('esx:showNotification', xPlayer.source, TranslateCap('invalid_amount'))
+ end
+ end)
+end)
+
+ESX.RegisterServerCallback('esx_bankerjob:getCustomers', function (source, cb)
+ local xPlayers = ESX.GetExtendedPlayers()
+ local customers = {}
+
+ for i=1, #(xPlayers) do
+ local xPlayer = xPlayers[i]
+
+ TriggerEvent('esx_addonaccount:getAccount', 'bank_savings', xPlayer.identifier, function(account)
+ table.insert(customers, {
+ source = xPlayer.source,
+ name = xPlayer.name,
+ bankSavings = account.money
+ })
+ end)
+ end
+
+ cb(customers)
+end)
+
+function CalculateBankSavings(d, h, m)
+ local asyncTasks = {}
+
+ MySQL.query('SELECT * FROM addon_account_data WHERE account_name = @account_name', {
+ ['@account_name'] = 'bank_savings'
+ }, function(result)
+ local bankInterests = 0
+
+ for i=1, #result, 1 do
+ local xPlayer = ESX.GetPlayerFromIdentifier(result[i].owner)
+
+ if xPlayer then
+ TriggerEvent('esx_addonaccount:getAccount', 'bank_savings', xPlayer.identifier, function(account)
+ local interests = math.floor(account.money / 100 * Config.BankSavingPercentage)
+ bankInterests = bankInterests + interests
+
+ table.insert(asyncTasks, function(cb)
+ account.addMoney(interests)
+ end)
+ end)
+ else
+ local interests = math.floor(result[i].money / 100 * Config.BankSavingPercentage)
+ local newMoney = result[i].money + interests
+ bankInterests = bankInterests + interests
+
+ local function scope(newMoney, owner)
+ table.insert(asyncTasks, function(cb)
+ MySQL.update('UPDATE addon_account_data SET money = @money WHERE owner = @owner AND account_name = @account_name', {
+ ['@money'] = newMoney,
+ ['@owner'] = owner,
+ ['@account_name'] = 'bank_savings',
+ }, function(rowsChanged)
+ cb()
+ end)
+ end)
+ end
+
+ scope(newMoney, result[i].owner)
+ end
+ end
+
+ TriggerEvent('esx_addonaccount:getSharedAccount', 'society_banker', function(account)
+ account.addMoney(bankInterests)
+ end)
+
+ Async.parallelLimit(asyncTasks, 5, function(results)
+ print('[^2INFO^7] Calculated interest Rate')
+ end)
+ end)
+end
+
+TriggerEvent('cron:runAt', 22, 0, CalculateBankSavings)
diff --git a/[esx_addons]/esx_banking/LICENSE b/[esx_addons]/esx_banking/LICENSE
new file mode 100644
index 00000000..7c2c49f9
--- /dev/null
+++ b/[esx_addons]/esx_banking/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+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-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.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+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-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.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
\ No newline at end of file
diff --git a/[esx_addons]/esx_banking/README.md b/[esx_addons]/esx_banking/README.md
new file mode 100644
index 00000000..46061ac0
--- /dev/null
+++ b/[esx_addons]/esx_banking/README.md
@@ -0,0 +1,59 @@
+[ESX] Banking
Discord - Website - Documentation
+
+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
+
+- Download https://github.com/esx-framework/esx-legacy/tree/main/%5Besx_addons%5D/esx_banking
+- Put it in the `[esx-addons]` directory
+
+## Installation
+
+- Add this to your `server.cfg`:
+
+```
+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)
+
+- First param: source - player source
+- Second param: logType - WITHDRAW,DEPOSIT,TRANSFER_RECEIVE you can only use these log types!
+- Third param: amount - The amount to be logged
+
+For example: exports["esx_banking"]:logTransaction(source,"WITHDRAW",200)
+```
+
+# Legal
+
+### License
+
+esx_banking - banking script for ESX
+
+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.
+
+This program Is distributed In the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty Of MERCHANTABILITY Or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License For more details.
+
+You should have received a copy Of the GNU General Public License along with this program. If Not, see http://www.gnu.org/licenses/.
diff --git a/[esx_addons]/esx_banking/banking.sql b/[esx_addons]/esx_banking/banking.sql
new file mode 100644
index 00000000..f225e2cc
--- /dev/null
+++ b/[esx_addons]/esx_banking/banking.sql
@@ -0,0 +1,11 @@
+CREATE TABLE IF NOT EXISTS `banking` (
+ `identifier` varchar(46) DEFAULT NULL,
+ `type` varchar(50) DEFAULT NULL,
+ `amount` int(64) DEFAULT NULL,
+ `time` bigint(20) DEFAULT NULL,
+ `ID` int(11) NOT NULL AUTO_INCREMENT,
+ `balance` int(11) DEFAULT 0,
+ PRIMARY KEY (`ID`)
+) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
+
+ALTER TABLE `users` ADD COLUMN `pincode` INT NULL;
diff --git a/[esx_addons]/esx_banking/client/main.lua b/[esx_addons]/esx_banking/client/main.lua
new file mode 100644
index 00000000..a4cddb14
--- /dev/null
+++ b/[esx_addons]/esx_banking/client/main.lua
@@ -0,0 +1,260 @@
+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)
\ No newline at end of file
diff --git a/[esx_addons]/esx_banking/config.lua b/[esx_addons]/esx_banking/config.lua
new file mode 100644
index 00000000..a30d5eed
--- /dev/null
+++ b/[esx_addons]/esx_banking/config.lua
@@ -0,0 +1,132 @@
+Config = {
+ DrawMarker = 10,
+ ShowMarker = true,
+ Locale = GetConvar('esx:locale', 'en'),
+ EnablePeds = true,
+ AtmModels = {`prop_fleeca_atm`, `prop_atm_01`, `prop_atm_02`, `prop_atm_03`},
+ Banks = {
+ {
+ Position = vector4(149.91, -1040.74, 29.374, 160),
+ Blip = {
+ Enabled = true,
+ Color = 69,
+ Label = 'Bank',
+ Sprite = 108,
+ Scale = 0.7
+ }
+ },
+ {
+ Position = vector4(-1212.63, -330.78, 37.59, 210),
+ Blip = {
+ Enabled = true,
+ Color = 69,
+ Label = 'Bank',
+ Sprite = 108,
+ Scale = 0.7
+ }
+ },
+ {
+ Position = vector4(-2962.47, 482.93, 15.5, 270),
+ Blip = {
+ Enabled = true,
+ Color = 69,
+ Label = 'Bank',
+ Sprite = 108,
+ Scale = 0.7
+ }
+ },
+ {
+ Position = vector4(-113.01, 6470.24, 31.43, 315),
+ Blip = {
+ Enabled = true,
+ Color = 69,
+ Label = 'Bank',
+ Sprite = 108,
+ Scale = 0.7
+ }
+ },
+ {
+ Position = vector4(314.16, -279.09, 53.97, 160),
+ Blip = {
+ Enabled = true,
+ Color = 69,
+ Label = 'Bank',
+ Sprite = 108,
+ Scale = 0.7
+ }
+ },
+ {
+ Position = vector4(-350.99, -49.99, 48.84, 160),
+ Blip = {
+ Enabled = true,
+ Color = 69,
+ Label = 'Bank',
+ Sprite = 108,
+ Scale = 0.7
+ }
+ },
+ {
+ Position = vector4(1175.02, 2706.87, 37.89, 0),
+ Blip = {
+ Enabled = true,
+ Color = 69,
+ Label = 'Bank',
+ Sprite = 108,
+ Scale = 0.7
+ }
+ },
+ {
+ Position = vector4(246.63, 223.62, 106.0, 160),
+ Blip = {
+ Enabled = true,
+ Color = 69,
+ Label = 'Bank',
+ Sprite = 108,
+ Scale = 0.7
+ }
+ },
+ },
+ Peds = {
+ {
+ Position = vector4(149.5513, -1042.1570, 29.3680, 341.6520),
+ Model = `U_M_M_BankMan`,
+ Scenario = 'WORLD_HUMAN_CLIPBOARD'
+ },
+ {
+ Position = vector4(-1211.8585, -331.9854, 37.7809, 28.5983),
+ Model = `U_M_M_BankMan`,
+ Scenario = 'WORLD_HUMAN_CLIPBOARD'
+ },
+ {
+ Position = vector4(-2961.0720, 483.1107, 15.6970, 88.1986),
+ Model = `U_M_M_BankMan`,
+ Scenario = 'WORLD_HUMAN_CLIPBOARD'
+ },
+ {
+ Position = vector4(-112.2223, 6471.1128, 31.6267, 132.7517),
+ Model = `U_M_M_BankMan`,
+ Scenario = 'WORLD_HUMAN_CLIPBOARD'
+ },
+ {
+ Position = vector4(313.8176, -280.5338, 54.1647, 339.1609),
+ Model = `U_M_M_BankMan`,
+ Scenario = 'WORLD_HUMAN_CLIPBOARD'
+ },
+ {
+ Position = vector4(-351.3247, -51.3466, 49.0365, 339.3305),
+ Model = `U_M_M_BankMan`,
+ Scenario = 'WORLD_HUMAN_CLIPBOARD'
+ },
+ {
+ Position = vector4(1174.9718, 2708.2034, 38.0879, 178.2974),
+ Model = `U_M_M_BankMan`,
+ Scenario = 'WORLD_HUMAN_CLIPBOARD'
+ },
+ {
+ Position = vector4(247.0348, 225.1851, 106.2875, 158.7528),
+ Model = `U_M_M_BankMan`,
+ Scenario = 'WORLD_HUMAN_CLIPBOARD'
+ }
+ }
+}
+
diff --git a/[esx_addons]/esx_banking/fxmanifest.lua b/[esx_addons]/esx_banking/fxmanifest.lua
new file mode 100644
index 00000000..54d199bf
--- /dev/null
+++ b/[esx_addons]/esx_banking/fxmanifest.lua
@@ -0,0 +1,31 @@
+fx_version 'cerulean'
+
+game 'gta5'
+
+description 'ESX banking'
+lua54 'yes'
+version '1.8.6'
+
+shared_scripts {
+ '@es_extended/imports.lua',
+ '@es_extended/locale.lua',
+ 'locales/*.lua',
+ 'config.lua'
+}
+
+server_scripts {
+ '@oxmysql/lib/MySQL.lua',
+ 'server/main.lua'
+}
+
+client_scripts {
+ 'client/main.lua'
+}
+
+ui_page 'html/ui.html'
+
+files {
+ 'html/**',
+}
+
+dependency 'es_extended'
diff --git a/[esx_addons]/esx_banking/html/config.json b/[esx_addons]/esx_banking/html/config.json
new file mode 100644
index 00000000..17f55416
--- /dev/null
+++ b/[esx_addons]/esx_banking/html/config.json
@@ -0,0 +1,490 @@
+{
+ "lang":"EN",
+ "__comment":"On DYNAMIC_FORM_DATA do not change 'componentName', 'elementID'!",
+ "EN":{
+ "DYNAMIC_FORM_DATA":[
+ {
+ "componentName":"moreGraph",
+ "elementID":"#wrapper",
+ "title":"",
+ "closeButtonText":"Close",
+ "bankTitle":"Fleeca Bank",
+ "mainExitButtonText": "Log out"
+ },
+ {
+ "elementID":"#cpincode",
+ "name":"cpincode",
+ "buttonText":"Approve",
+ "inputPlaceholder": "Enter 4 digit...",
+ "title":"PIN CODE SETUP",
+ "description": "Here you can set or change the PIN code.",
+ "type":"password"
+ },
+ {
+ "elementID":"#withdraw",
+ "name":"withdraw",
+ "buttonText":"Approve",
+ "inputPlaceholder": "Amount",
+ "title":"WITHDRAW",
+ "description": "Here you can withdraw your money from the bank.",
+ "type":"number"
+ },
+ {
+ "elementID":"#deposit",
+ "name":"deposit",
+ "buttonText":"Approval",
+ "inputPlaceholder": "Amount",
+ "title":"DEPOSIT",
+ "description": "Here, you can deposit your money to the bank.",
+ "type":"number"
+ },
+ {
+ "elementID":"#transfer",
+ "name":"transfer",
+ "buttonText":"Transfer",
+ "inputPlaceholder": "Amount",
+ "inputPlaceholder2": "Player ID",
+ "title":"TRANSFER",
+ "description": "Here you can transfer your money to someone else."
+ },
+ {
+ "componentName":"trans",
+ "elementID":"#third-column",
+ "title":"TRANSACTION HISTORY",
+ "description": "Here you can see your transaction history.",
+ "moreHistoryText": "Show more history",
+ "moreGraphText": "Show more graph"
+ },
+ {
+ "componentName":"pincodePanel",
+ "elementID":"#wrapper",
+ "title":"Enter PIN",
+ "deleteButtonText": "",
+ "loginButtonText": "",
+ "closeButtonText": "Close"
+ },
+ {
+ "componentName":"atmComponent",
+ "elementID":"#wrapper",
+ "title":"Fleeca Bank",
+ "closeButtonText":"Log out"
+ }
+ ],
+ "LAUNGAGE": {
+ "your_money_title":"Balance",
+ "your_money_desc":"Here you can see your current balance and cash.",
+ "your_money_cash_label":"Your cash",
+ "your_money_bank_label":"Your bank balance",
+ "withdraw":"WITHDRAW",
+ "deposit":"DEPOSIT",
+ "transfer":"TRANSFER",
+ "transferReceive":"RECEIVED TRANSFER",
+ "moneyFormat":"$__replaceData__",
+ "graphTitle":"Your balance",
+ "moreGraphTitle": "Big Graph",
+ "moreHistoryTitle":"Show more history",
+ "inputErrorTitle":"Data is incorrect",
+ "inputErrorMessage":"It cannot be empty or a value less than 1!",
+ "showPincodeErrorTitle":"PIN incorrect",
+ "showPincodeErrorMessage":"The pin must have at least 4 characters!",
+ "tableLang":{
+ "typeLabel": "Transaction type",
+ "balanceLabel":"Balance",
+ "amountLabel":"Amount",
+ "timeLabel":"Time",
+ "searchInputPlaceholder":"Search ...",
+ "_comment": "tableFullLanguage options: English, Hungarian, Italian, Spanish, French, you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
+ "tableFullLanguage":"English"
+ }
+ }
+ },
+ "HU":{
+ "DYNAMIC_FORM_DATA":[
+ {
+ "componentName":"moreGraph",
+ "elementID":"#wrapper",
+ "title":"",
+ "closeButtonText":"Bezárás",
+ "bankTitle":"OTP BANK FELÜLET",
+ "mainExitButtonText": "Kijelentkezés"
+ },
+ {
+ "elementID":"#cpincode",
+ "name":"cpincode",
+ "buttonText":"Jóváhagyás",
+ "inputPlaceholder": "Írj be 4 számot...",
+ "title":"PIN KÓD BEÁLLÍTÁS",
+ "description": "Itt tudod beállítani vagy cserélni pinkódodat.",
+ "type":"password"
+ },
+ {
+ "elementID":"#withdraw",
+ "name":"withdraw",
+ "buttonText":"Jóváhagyás",
+ "inputPlaceholder": "Összeg",
+ "title":"PÉNZ KIVÉTEL",
+ "description": "Itt tudsz pénzt kivenni a számládról.",
+ "type":"number"
+ },
+ {
+ "elementID":"#deposit",
+ "name":"deposit",
+ "buttonText":"Jóváhagyás",
+ "inputPlaceholder": "Összeg",
+ "title":"PÉNZ BETÉTEL",
+ "description": "Itt tudsz pénzt be tenni a számládra.",
+ "type":"number"
+ },
+ {
+ "elementID":"#transfer",
+ "name":"transfer",
+ "buttonText":"Utalás",
+ "inputPlaceholder": "Összeg",
+ "inputPlaceholder2": "Játékos azonosító",
+ "title":"UTALÁS",
+ "description": "Itt tudsz pénzt utalni egy adott játékosnak."
+ },
+ {
+ "componentName":"trans",
+ "elementID":"#third-column",
+ "title":"SZÁMLA TÖRTÉNET",
+ "description": "Itt látod a számla történeted.",
+ "moreHistoryText": "Több számla történet mutatása",
+ "moreGraphText": "Nagyított diagram mutatása"
+ },
+ {
+ "componentName":"pincodePanel",
+ "elementID":"#wrapper",
+ "title":"Írd be a PIN kódod",
+ "deleteButtonText": "",
+ "loginButtonText": "",
+ "closeButtonText": "Bezárás"
+ },
+ {
+ "componentName":"atmComponent",
+ "elementID":"#wrapper",
+ "title":"OTP BANK",
+ "closeButtonText":"Kijelentkezés"
+ }
+
+ ],
+ "LAUNGAGE": {
+ "your_money_title":"Egyenleged",
+ "your_money_desc":"Itt láthatod a jelenlegi egyenleged és készpénzed.",
+ "your_money_cash_label":"Készpénz",
+ "your_money_bank_label":"Banki egyenleged",
+ "withdraw":"KIVÉTEL",
+ "deposit":"BETÉTEL",
+ "transfer":"UTALÁS",
+ "transferReceive":"KAPOTT UTALÁS",
+ "moneyFormat":"__replaceData__ Ft",
+ "graphTitle":"Egyenleged",
+ "moreGraphTitle": "Nagyított grafikon",
+ "moreHistoryTitle":"Teljes számla történet",
+ "inputErrorTitle":"Adat hibás",
+ "inputErrorMessage":"Nem lehet üres vagy érték kisebb mint 1!",
+ "showPincodeErrorTitle":"PIN hibás",
+ "showPincodeErrorMessage":"Legalább 4 karakternek kell lennie a pinnek!",
+ "tableLang":{
+ "typeLabel": "Tranzakció típus",
+ "balanceLabel":"Egyenleged",
+ "amountLabel":"Összeg",
+ "timeLabel":"Idő",
+ "searchInputPlaceholder":"Kereső ...",
+ "_comment": "tableFullLanguage options: English, Hungarian, Italian, Spanish, French, you can find here all lang: https://cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/",
+ "tableFullLanguage":"Hungarian"
+ }
+ }
+ },
+ "IT":{
+ "DYNAMIC_FORM_DATA":[
+ {
+ "componentName":"moreGraph",
+ "elementID":"#wrapper",
+ "title":"",
+ "closeButtonText":"Close",
+ "bankTitle":"Fleeca Bank",
+ "mainExitButtonText": "Disconnettersi"
+ },
+ {
+ "elementID":"#cpincode",
+ "name":"cpincode",
+ "buttonText":"conferma",
+ "inputPlaceholder": "4 cifre...",
+ "title":"IMPOSTAZIONE CODICE PIN",
+ "description": "Qui puoi impostare o modificare il codice PIN.",
+ "type":"password"
+ },
+ {
+ "elementID":"#withdraw",
+ "name":"withdraw",
+ "buttonText":"conferma",
+ "inputPlaceholder": "Quantità",
+ "title":"RITIRARE",
+ "description": "Qui puoi prelevare i tuoi soldi dalla banca.",
+ "type":"number"
+ },
+ {
+ "elementID":"#deposit",
+ "name":"deposit",
+ "buttonText":"conferma",
+ "inputPlaceholder": "Quantità",
+ "title":"DEPOSITARE",
+ "description": "Qui puoi depositare i tuoi soldi in banca.",
+ "type":"number"
+ },
+ {
+ "elementID":"#transfer",
+ "name":"transfer",
+ "buttonText":"trasferisci",
+ "inputPlaceholder": "Quantità",
+ "inputPlaceholder2": "Giocatore ID",
+ "title":"TRASFERIMENTO",
+ "description": "Qui puoi trasferire i tuoi soldi a qualcun altro."
+ },
+ {
+ "componentName":"trans",
+ "elementID":"#third-column",
+ "title":"CRONOLOGIA DELLE TRANSAZIONI",
+ "description": "Qui puoi vedere la cronologia delle tue operazioni.",
+ "moreHistoryText": "Mostra più cronologia",
+ "moreGraphText": "Mostra tutto il grafico"
+ },
+ {
+ "componentName":"pincodePanel",
+ "elementID":"#wrapper",
+ "title":"Enter PIN",
+ "deleteButtonText": "",
+ "loginButtonText": "",
+ "closeButtonText": "Close"
+ },
+ {
+ "componentName":"atmComponent",
+ "elementID":"#wrapper",
+ "title":"Fleeca Bank",
+ "closeButtonText":"Disconnettersi"
+ }
+ ],
+ "LAUNGAGE": {
+ "your_money_title":"saldo",
+ "your_money_desc":"qui puoi vedere il saldo attuale e contanti.",
+ "your_money_cash_label":"i tuoi soldi",
+ "your_money_bank_label":"il tuo saldo bancario",
+ "withdraw":"RITIRARE",
+ "deposit":"DEPOSITARE",
+ "transfer":"TRASFERIMENTO",
+ "transferReceive":"TRASFERIMENTO RICEVUTO",
+ "moneyFormat":"$__replaceData__",
+ "graphTitle":"Il tuo bilancio",
+ "moreGraphTitle": "grafico",
+ "moreHistoryTitle":"Mostra la cronologia",
+ "inputErrorTitle":"I dati non sono corretti",
+ "inputErrorMessage":"Non può essere vuoto o un valore inferiore a 1!",
+ "showPincodeErrorTitle":"PIN errato",
+ "showPincodeErrorMessage":"Il pin deve contenere almeno 4 caratteri!",
+ "tableLang":{
+ "typeLabel": "Tipo di transazione",
+ "balanceLabel":"bilancio",
+ "amountLabel":"quantità",
+ "timeLabel":"tempo",
+ "searchInputPlaceholder":"Cerca ...",
+ "_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"
+ }
+ }
+ },
+"ES":{
+ "DYNAMIC_FORM_DATA":[
+ {
+ "componentName":"moreGraph",
+ "elementID":"#wrapper",
+ "title":"",
+ "closeButtonText":"Cerrar",
+ "bankTitle":"Banco Fleeca",
+ "mainExitButtonText": "Cerrar sesión"
+ },
+ {
+ "elementID":"#cpincode",
+ "name":"cpincode",
+ "buttonText":"Aprobar",
+ "inputPlaceholder": "Introduzca 4 dígitos...",
+ "title":"CONFIGURACIÓN DEL PIN",
+ "description": "Aquí puede establecer o cambiar el código PIN.",
+ "type":"password"
+ },
+ {
+ "elementID":"#withdraw",
+ "name":"withdraw",
+ "buttonText":"Aprobar",
+ "inputPlaceholder": "Importe",
+ "title":"RETIRAR",
+ "description": "Aquí puede retirar su dinero del banco.",
+ "type":"number"
+ },
+ {
+ "elementID":"#deposit",
+ "name":"deposit",
+ "buttonText":"Aprobación",
+ "inputPlaceholder": "Importe",
+ "title":"DEPOSITO",
+ "description": "Aquí puede ingresar su dinero en el banco.",
+ "type":"number"
+ },
+ {
+ "elementID":"#transfer",
+ "name":"transfer",
+ "buttonText":"Transfererir",
+ "inputPlaceholder": "Importe",
+ "inputPlaceholder2": "ID del jugador",
+ "title":"TRANSFERENCIA",
+ "description": "Aquí puedes transferir tu dinero a otra persona."
+ },
+ {
+ "componentName":"trans",
+ "elementID":"#third-column",
+ "title":"HISTORIAL DE TRANSACCIONES",
+ "description": "Aquí puede ver su historial de transacciones.",
+ "moreHistoryText": "Mostrar más historial",
+ "moreGraphText": "Mostrar el gráfico"
+ },
+ {
+ "componentName":"pincodePanel",
+ "elementID":"#wrapper",
+ "title":"Introducir PIN",
+ "deleteButtonText": "",
+ "loginButtonText": "",
+ "closeButtonText": "Close"
+ },
+ {
+ "componentName":"atmComponent",
+ "elementID":"#wrapper",
+ "title":"Banco Fleeca",
+ "closeButtonText":"Cerrar sesión"
+ }
+ ],
+ "LAUNGAGE": {
+ "your_money_title":"Saldo",
+ "your_money_desc":"Aquí puedes ver tu saldo actual y tu efectivo.",
+ "your_money_cash_label":"Su dinero en mano",
+ "your_money_bank_label":"Su saldo bancario",
+ "withdraw":"RETIRAR",
+ "deposit":"DEPÓSITO",
+ "transfer":"TRANSFERENCIA",
+ "transferReceive":"TRANSFERENCIA RECIBIDA",
+ "moneyFormat":"$__replaceData__",
+ "graphTitle":"Su saldo",
+ "moreGraphTitle": "Gráfico grande",
+ "moreHistoryTitle":"Mostrar más historial",
+ "inputErrorTitle":"Data is incorrect",
+ "inputErrorMessage":"No puede estar vacío ni tener un valor inferior a 1.",
+ "showPincodeErrorTitle":"PIN incorrecto",
+ "showPincodeErrorMessage":"El pin debe tener al menos 4 caracteres.",
+ "tableLang":{
+ "typeLabel": "Tipo de transacción",
+ "balanceLabel":"Saldo",
+ "amountLabel":"Importe",
+ "timeLabel":"Tiempo",
+ "searchInputPlaceholder":"Buscar...",
+ "_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": "",
+ "loginButtonText": "",
+ "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"
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/[esx_addons]/esx_banking/html/css/app.css b/[esx_addons]/esx_banking/html/css/app.css
new file mode 100644
index 00000000..0c70a9c0
--- /dev/null
+++ b/[esx_addons]/esx_banking/html/css/app.css
@@ -0,0 +1,767 @@
+:root{
+ --primary-color: #2e69d5;
+ --secondary-color: #378cbf;
+ --text-color:#ffff;
+ --background-light:#232934;
+ --background-light-2:#202020;
+ --background-dark:#0a0e19;
+ --accent-red: #378cbf;
+ --accent-green:#45b157;
+ --accent-gray: #474e57;
+ --accent-gray-2:#545457;
+
+ --columnsBackground:var(--background-dark);
+ --allTitleColor:var(--text-color);
+ --yourMoneyPriceTextColor:var(--accent-green);
+ --bankCardBackgroundColor: linear-gradient(110deg, var(--primary-color) 0%, var(--secondary-color) 100%);
+ --buttonBackgroundColor:var(--background-light);
+ --inputBackgroundColor:var(--background-light);
+ --inputTextColor:var(--text-color);
+ --inputPlaceholderColor:var(--accent-gray-2);
+ --checkmarkColor:var(--text-color);
+ --acceptExitButtonColorText:var(--text-color);
+ --exitButtonHoverBackgroundColor:var(--primary-color);
+ --acceptButtonHoverBackgroundColor:var(--secondary-color);
+ --bankCardTextColor:var(--text-color);
+ --bankCardNumberColor:var(--text-color);
+ --moneyContainerBackgroundColor:var(--background-light);
+ --moneyAndTransactionContainer:var(--background-light);
+ --transactionContainerBackgroundColor:var(--background-light);
+ --moneyAndTransactionallTitleColorText:var(--text-color);
+ --transactionDataTextColor:var(--text-color);
+ --cardSubtitleTextColor:var(--accent-gray);
+ --depositColorText:var(--accent-green);
+ --withDrawColorText:var(--primary-color);
+ --moreHistoryButtonHoverColor: var(--secondary-color);
+ --moreGraphButtonHoverColor:var(--secondary-color);
+ --hrRowColor:var(--accent-gray);
+ --loadingCircle:var(--secondary-color);
+ --tableAllTextColor:var(--text-color);
+ --tableBackgroundColorPaginationButton: var(--secondary-color);
+ --tableBackgroundColorPaginationButtonHover:var(--secondary-color);
+ --tableRowHoverBackgroundColor:var(--secondary-color);
+ --tableScrollBarBackgroundColor:var(--background-light);
+ --tableScrollBarBackgroundColorHover:var(--secondary-color);
+ --tableSelectBoxBackgroundColor:var(--background-light);
+ --tableSearchInputBackgroundColor:var(--background-light);
+ --tableScrollBarBackgroundColor2:var(--background-light);
+ --disableButtonBackgroundColor:var(--background-light-2);
+ --graphLineColor:var(--secondary-color);
+ --graphLineBackgroundColor:var(--secondary-color);
+}
+
+
+
+@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;400;500;800&display=swap');
+
+*{
+ margin:0;
+ padding:0;
+}
+
+#wrapper{
+ width: 100%;
+ height: 93.24vmin;
+ display:flex;
+ justify-content: center;
+ align-items: center;
+ font-family: 'Raleway', sans-serif;
+ user-select: none;
+ min-width: 42vmin;
+ font-size: 2vmin;
+ display: none;
+}
+
+#container {
+ height: 73vmin;
+ width: 139.41vmin;
+ cursor: default;
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ max-width: 150vmin;
+ flex-wrap: wrap;
+ margin:2vmin;
+ position: relative;
+ display: none;
+}
+
+#menu {
+ display: flex;
+ flex-direction: row;
+ gap:3vmin;
+ flex-wrap: wrap;
+ height: 68.15vmin;
+}
+
+/* FIRST COLUMN START */
+
+#menu #first-column {
+ width: 36vmin;
+ background: var(--columnsBackground);
+ padding: 1.85vmin;
+ display: flex;
+ flex-direction: column;
+ gap: 1.79vmin;
+ border-radius: 1.38vmin;
+ flex: 1 1 27.7vmin;
+ height: 72.56vmin;
+}
+
+#menu #first-column hr {
+ border: 1px solid var(--hrRowColor);
+ width: 80%;
+ margin: 0 auto;
+}
+
+#bankcard {
+ height: 16.6vmin;
+ width: 25vmin;
+ margin: 0 auto;
+ background: var(--bankCardBackgroundColor);
+ border-radius: 1.38vmin;
+ padding: 1.85vmin 1.6vmin 0px 1.85vmin;
+ position: relative;
+}
+
+#bankcard .content p{
+ margin: 0;
+ color:var(--bankCardTextColor);
+ font-size: 0.92vmin;
+}
+
+#bankcard .title{
+ display: flex;
+ justify-content: space-between;
+}
+
+#bankcard .title span{
+ color:var(--bankCardTextColor);
+}
+
+#bankcard .title svg{
+ width: 4.16vmin;
+ height: 4.16vmin;
+}
+
+#bankcard .content {
+ position: absolute;
+ bottom: 1.66vmin;
+}
+
+#bankcard .content .card-data{
+ display: flex;
+ justify-content: space-between;
+}
+
+#bankcard .content .cardnumber {
+ color: var(--bankCardNumberColor);
+ font-size: 1.85vmin;
+ letter-spacing: 0.37vmin;
+ margin-bottom: 0.46vmin;
+}
+
+#bankcard .content .card-data:nth-child(2){
+ margin-right: 0.27vmin;
+}
+
+#bankcard .content .card-data p {
+ font-size: 1.48vmin;
+}
+
+#your-money-panel #money-containers{
+ display: flex;
+ flex-direction: column;
+ gap: 0.92vmin;
+}
+
+.exit-button , .accept-button , #pincode-container .button-groups button {
+ background-color:var(--buttonBackgroundColor);
+ padding:1.85vmin 1.85vmin;
+ /*width: 35vmin;*/
+ width: 100%;
+ outline: none;
+ border:none;
+ color:var(--acceptExitButtonColorText);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ transition: all 0.3s ease;
+ font-weight: bold;
+ border-radius: 0.27vmin;
+ font-family: 'Raleway', sans-serif;
+ font-size: 1.5vmin;
+}
+
+.exit-button:hover , #modal-container #title-container button:hover{
+ background-color: var(--exitButtonHoverBackgroundColor);
+ box-shadow: -1vmin 1vmin 1vmin -1vmin var(--exitButtonHoverBackgroundColor);
+}
+
+.accept-button:hover{
+ background-color: var(--acceptButtonHoverBackgroundColor);
+ box-shadow: -1vmin 1vmin 1vmin -1vmin var(--acceptButtonHoverBackgroundColor);
+}
+
+/* FIRST COLUMN END */
+
+
+/* SECOND COLUMN START*/
+
+#menu #second-column{
+ width: 35.18vmin;
+ border-radius: 1.38vmin;
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ gap: 0.92vmin;
+ flex: 1 1 27.77vmin;
+ padding-right: 1.85vmin;
+ padding-left: 1.85vmin;
+}
+
+#withdraw,#deposit,#transfer{
+ background: var(--columnsBackground);
+ padding: 1.85vmin;
+ border-radius: 1.38vmin;
+ width: 35.18vmin;
+}
+
+#menu #second-column #withdraw {
+ height: 18.48vmin;
+}
+
+#menu #second-column #deposit {
+ height: 18.48vmin;
+}
+
+#menu #second-column #transfer {
+ height: 26.63vmin;
+}
+
+/* SECOND COLUMN END*/
+
+/* THIRD COLUMN START*/
+
+#menu #third-column{
+ width: 32.77vmin;
+ background: var(--columnsBackground);
+ border-radius: 1.38vmin;
+ padding:1.85vmin;
+ flex: 1 1 37.03vmin;
+}
+
+#menu #third-column #graph-container{
+ width: calc(100% - 0.46vmin);
+ height: 38vmin;
+}
+
+#menu #third-column #buttons-container{
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ margin: 0px 1.9vmin;
+ margin-top: 1.48vmin;
+ gap:0.92vmin;
+}
+
+#menu #third-column #buttons-container button{
+ padding: 0.92vmin;
+ width: 20.92vmin;
+}
+
+#menu #third-column #buttons-container #more_history:hover{
+ background-color: var(--moreHistoryButtonHoverColor);
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--moreHistoryButtonHoverColor);
+}
+
+#menu #third-column #buttons-container #more_graph:hover{
+ background-color: var(--moreGraphButtonHoverColor);
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--moreGraphButtonHoverColor);
+}
+
+#menu #third-column #transactions-container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 0.92vmin;
+ padding: 1.85vmin;
+}
+
+#menu #third-column #transactions-container .transaction-container{
+ /* width: 40.37vmin; */
+ width: 100%;
+ background-color: var(--transactionContainerBackgroundColor);
+ padding: 0.92vmin 0.92vmin 0.92vmin 1.85vmin;
+ font-size: 1.8vmin;
+}
+
+#menu #third-column #transactions-container .transaction-container .transaction{
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+ font-size: 1.5vmin;
+}
+
+#menu #third-column #transactions-container .transaction-container .transaction span {
+ color: var(--transactionDataTextColor);
+ background: var(--columnsBackground);
+ border-radius: 0.27vmin;
+ padding: 0.46vmin;
+ font-size: 1.20vmin;
+}
+
+/* THIRD COLUMN END*/
+
+
+/* GENERAL START*/
+
+.money-container,.transaction-container {
+ background-color: var(--moneyAndTransactionContainer);
+ padding: 0.92vmin 0.92vmin 0.92vmin 1.85vmin;
+ border-radius: 0.27vmin;
+}
+
+.money-container{
+ background-color: var(--moneyContainerBackgroundColor);
+}
+
+
+.money-container h4 {
+ margin-bottom: 0.5vmin;
+}
+
+.money-container h4 , .transaction h4{
+ color:var(--moneyAndTransactionallTitleColorText);
+ text-shadow: 0.09vmin 0.09vmin 0.18vmin black;
+ font-size: 1.5vmin;
+}
+
+.money-container span , .transaction-container span{
+ color:var(--yourMoneyPriceTextColor);
+ text-shadow: 0.09vmin 0.09vmin 0.18vmin black;
+ font-size: 1.5vmin;
+}
+
+.accept-button svg{
+ height: 1.38vmin;
+ fill:var(--checkmarkColor);
+}
+
+.green-text{
+ color:var(--depositColorText) !important;
+}
+
+.red-text{
+ color:var(--withDrawColorText) !important;
+}
+
+
+.disable-button{
+ background-color: var(--disableButtonBackgroundColor) !important;
+ pointer-events: none;
+}
+
+h3 {
+ color: #ecedef;
+ color: var(--allTitleColor);
+ font-size: 2.31vmin;
+ text-shadow: 0.09vmin 0.09vmin 0.92vmin rgb(255 255 255 / 47%);
+ text-transform: uppercase;
+}
+
+p{
+ color: var(--cardSubtitleTextColor);
+ margin-bottom: 0.92vmin;
+ font-size: 1.5vmin;
+}
+
+input{
+ width: 100%;
+ font-family: 'Raleway', sans-serif;
+ font-size: 1.38vmin;
+ background-color: var(--inputBackgroundColor);
+ padding: 1.85vmin 1.85vmin;
+ outline: none;
+ border:none;
+ color:var(--inputTextColor);
+ margin-bottom:1.85vmin;
+ border-radius: 0.46vmin;
+}
+
+input::placeholder {
+ color: var(--inputPlaceholderColor);
+ opacity: 1;
+}
+
+input::-webkit-outer-spin-button,
+input::-webkit-inner-spin-button {
+ -webkit-appearance: none;
+ margin: 0;
+}
+
+/* GENERAL END*/
+
+#modal-container {
+ background-color: var(--columnsBackground);
+ position: absolute;
+ top: 50%;
+ height: 100%;
+ width: 100%;
+ z-index: 2;
+ transform: translateY(-50%);
+ display: none;
+ border-radius: 1.38vmin;
+}
+
+#more-modal-container {
+ height: 93%;
+ padding: 0 6vmin;
+}
+
+#modal-container h3{
+ text-align: center;
+ width: 100%;
+ margin-top: 1vmin;
+}
+
+#modal-container #title-container button {
+ background-color: var(--buttonBackgroundColor);
+ padding: 1.85vmin 1.85vmin;
+ transition: all 0.3s ease;
+ font-weight: bold;
+ border-radius: 0.27vmin 0.27vmin 0.27vmin 1.27vmin;
+ font-family: 'Raleway', sans-serif;
+ font-size: 1.5vmin;
+ border: none;
+ color: var(--inputTextColor);
+ margin-left: auto;
+ position: absolute;
+ right: 0vmin;
+ top: 0vmin;
+ width: 14vmin;
+}
+
+/*DATA TABLES DESIGN */
+
+.dataTables_wrapper .dataTables_info {
+ clear: both;
+ float: left;
+ padding-top: .755em;
+ color:var(--tableAllTextColor) !important;
+}
+
+#example_wrapper {
+ margin-top: 4vmin;
+ color: var(--tableAllTextColor) !important;
+ padding: 1vmin;
+ font-family: 'Raleway', sans-serif !important;
+}
+
+#example_filter input{
+ display: flex;
+ gap: 1vmin;
+ border: none;
+ padding:2vmin;
+ background-color: var(--tableSearchInputBackgroundColor);
+}
+
+.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate{
+ color: var(--tableAllTextColor) !important;
+}
+
+table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting_asc_disabled, table.dataTable thead>tr>th.sorting_desc_disabled, table.dataTable thead>tr>td.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting_asc_disabled, table.dataTable thead>tr>td.sorting_desc_disabled ,table.dataTable thead>tr>td.sorting_disabled {
+ cursor: pointer;
+ position: relative;
+ padding-right: 26px;
+ color: var(--tableAllTextColor) !important;
+}
+
+table.dataTable tbody tr td {
+ color: var(--tableAllTextColor);
+ font-weight: 500;
+}
+
+.greenTableText{
+ color: var(--depositColorText) !important;
+}
+
+.redTableText{
+ color: var(--withDrawColorText) !important;
+}
+
+table.dataTable.no-footer {
+ border-bottom: 1px solid rgba(0, 0, 0, 0.3);
+}
+
+.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
+ cursor: default;
+ color:var(--tableAllTextColor) !important;
+ border: 1px solid #828282;
+ background: transparent;
+ box-shadow: none;
+}
+
+.dataTables_wrapper .dataTables_paginate .paginate_button {
+ background: none;
+ color:var(--tableAllTextColor) !important;
+ border-radius: 4px;
+ border: 1px solid #828282;
+}
+
+.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
+ color: white !important;
+ background: var(--tableBackgroundColorPaginationButtonHover) !important;
+ background: var(--tableBackgroundColorPaginationButtonHover) !important;
+ background: var(--tableBackgroundColorPaginationButtonHover) !important;
+ background: var(--tableBackgroundColorPaginationButtonHover) !important;
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--tableBackgroundColorPaginationButtonHover) !important;
+}
+
+.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
+ background: var(--tableBackgroundColorPaginationButton) !important;
+ background: var(--tableBackgroundColorPaginationButton) !important;
+ background: var(--tableBackgroundColorPaginationButton) !important;
+ background: var(--tableBackgroundColorPaginationButton) !important;
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--tableBackgroundColorPaginationButton) !important;
+ color:var(--tableAllTextColor) !important;
+}
+
+
+.dataTables_wrapper .dataTables_length select {
+ border-radius: 3px;
+ padding: 5px;
+ background-color: var(--tableSelectBoxBackgroundColor) !important;
+ padding: 4px;
+ color: var(--tableAllTextColor) !important;
+ padding: 1vmin;
+ border: none;
+ outline: none;
+}
+
+
+table.dataTable tbody tr{ height: 50px !important; }
+
+table.dataTable tbody tr:hover {
+ background-color:var(--tableRowHoverBackgroundColor) !important;
+ }
+
+ #example_wrapper > div.dataTables_scroll > div.dataTables_scrollHead > div > table > thead > tr > th.sorting_disabled{
+ color: var(--tableAllTextColor) !important;
+}
+
+ /*DATA TABLE DESIGN END*/
+
+ /*SCROLLBAR DESIGN*/
+::-webkit-scrollbar {
+ width: 5px;
+}
+::-webkit-scrollbar-track {
+ background: var(--tableScrollBarBackgroundColor2);
+}
+::-webkit-scrollbar-thumb {
+ background: var(--tableScrollBarBackgroundColor);
+}
+::-webkit-scrollbar-thumb:hover {
+ background: var(--tableScrollBarBackgroundColorHover);
+}
+
+
+
+
+/* LOADING CIRCLE*/
+
+:root {
+ --rotation-animation-speed: 2s;
+ --rotation-animation-easing: linear;
+ --stroke-animation-speed: 1.5s;
+ --stroke-animation-easing: ease-in-out;
+ --stroke-width: 3px;
+ --stroke-start-dasharray: 1, 200;
+ --stroke-end-dasharray: 89, 200;
+}
+
+.loader {
+ margin: 0px auto;
+ width: 23.14vmin;
+ height: 23.14vmin;
+ position: absolute;
+ top:50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+ z-index: 2;
+ display: none;
+}
+
+.circular-loader {
+ animation: rotate var(--rotation-animation-speed) var(--rotation-animation-easing) infinite;
+}
+
+.loader-path {
+ fill: none;
+ stroke-width: var(--stroke-width);
+ animation: animate-stroke var(--stroke-animation-speed) var(--stroke-animation-easing) infinite;
+ stroke-linecap: round;
+}
+
+@keyframes rotate {
+ 100% {
+ transform: rotate(360deg);
+ }
+}
+
+@keyframes animate-stroke {
+ 0% {
+ stroke-dasharray: var(--stroke-start-dasharray);
+ stroke-dashoffset: 0;
+ stroke: var(--columnsBackground);
+ }
+ 50% {
+ stroke-dasharray: var(--stroke-end-dasharray);
+ stroke-dashoffset: -35;
+ stroke: var(--loadingCircle);
+ }
+ 100% {
+ stroke-dasharray: var(--stroke-end-dasharray);
+ stroke-dashoffset: -124;
+ stroke: var(--loadingCircle);
+ }
+}
+
+
+#pincode-container{
+ background-color: var(--columnsBackground);
+ height: 80%;
+ width: 40vmin;
+ color: white;
+ display: flex;
+ border-radius: 3vmin;
+ flex-direction: column;
+ justify-content: center;
+ gap: 5vmin;
+}
+
+#pincode-container h4{
+ text-align: center;
+ margin-top: 2vmin;
+}
+
+#pincode-container .pincode-input {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ height: 15vmin;
+ width: 100%;
+ gap: 10px;
+}
+
+#pincode-container .pincode-input span{
+ display: block;
+ width: 3vmin;
+ height: 3vmin;
+ border-radius: 50%;
+ border: 2px solid var(--secondary-color);
+ transition: all 0.2s ease;
+}
+
+#pincode-container .pincode-numbers {
+ display: grid;
+ grid-template-columns: 10vmin 10vmin 10vmin;
+ grid-template-rows: 10vmin 10vmin 10vmin;
+ place-items: center;
+ justify-content: center;
+}
+
+#pincode-container .pincode-numbers div {
+ background-color: var(--background-light);
+ padding: 2vmin 2vmin;
+ border-radius: 50%;
+ width: 3vmin;
+ height: 3vmin;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ transition: all 0.3s ease;
+}
+
+#pincode-container .pincode-numbers div:hover{
+ background-color: var(--secondary-color);
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--secondary-color);
+}
+
+#pincode-container .pincode-numbers div:nth-child(11):hover{
+ background-color: var(--exitButtonHoverBackgroundColor);
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--exitButtonHoverBackgroundColor);
+}
+
+#pincode-container .pincode-numbers div:nth-child(12):hover{
+ background-color: var(--acceptButtonHoverBackgroundColor);
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--acceptButtonHoverBackgroundColor);
+}
+
+#pincode-container .button-groups{
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ gap: 2vmin;
+ margin-top: 2vmin;
+}
+
+#pincode-container .button-groups button{
+ width: 80%;
+}
+
+#pincode-container .button-groups button:hover{
+ background-color: var(--exitButtonHoverBackgroundColor);
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--exitButtonHoverBackgroundColor);
+}
+
+#pincode-container .button-groups .login:hover{
+ background-color: var(--acceptButtonHoverBackgroundColor);
+ box-shadow: 0px 3.42vmin 9.25vmin -1.20vmin var(--acceptButtonHoverBackgroundColor);
+}
+
+.circleBackground{
+ background-color: var(--secondary-color);
+}
+
+
+/* ATM DESIGNS*/
+
+#atm-container{
+ display: grid;
+ grid-template-columns: 60% 60%;
+ gap:3vmin;
+ height: 58vh;
+}
+
+.firstGridColumn, .secondGridColumn{
+ display: flex;
+ flex-direction: column;
+ padding: 1.85vmin;
+}
+
+.firstGridColumn{
+ gap: 1.79vmin;
+ border-radius: 1.38vmin;
+ background: var(--columnsBackground);
+}
+
+.secondGridColumn{
+ gap: 3vmin;
+ justify-content: center;
+}
+
+.secondGridColumn div{
+ background: var(--columnsBackground);
+ padding: 3vmin;
+ border-radius: 1.38vmin;
+}
+
+/*MEDIA QUERY*/
+@media only screen and (max-width: 1280px) {
+ .dataTables_scrollBody{
+ max-height: 310px !important;
+ }
+}
diff --git a/[esx_addons]/esx_banking/html/roboto.ttf b/[esx_addons]/esx_banking/html/roboto.ttf
new file mode 100644
index 0000000000000000000000000000000000000000..7d9a6c4c32d7e920b549caf531e390733496b6e0
GIT binary patch
literal 158604
zcmeF42VfLM-~VT3?=HQQ1PFu_Na!G;ix35oqKF;z5y1kepkP5%6h)c{s8~=?x?(}a
zj);g#s0Jy5pg{tJO9E$d31EZV{y(#uOG3xz_3`!pyzb_EySHU_eszBHo4JjULWmeX
z9HM!bE4p9AH!0NZW7!5?)aAmi)%#Z;z@ZL&?{-n|ORtD+*guNzoPT1@MOR#P!J4#n
z4k4!06+%6K=@rddEScXRONb|zaee=rh7K4OwXRo7A)cxwglpSPBkoBGs8M6BPy_Nf
zpEhvVprOyccIZl>ZVVM7sNSFfcMs!uB|G<@-Csr5Y`9nfpduZ@218%N1
z=e%kld{Uvydkflj{uRD0?JtObfK4LZByHHHa+i$t+j{61-c}OTVQi$f!
zL+-q3faB%sCJNPJGR4;#I$-25=T*U+Z~q$iC*3h%=q+l&?6>*8MhK(husiR*XZzk8
zvxMpxC`9U(VRzj!Ed0ot+3*LN#3gV_2x@LEN(9Q+b_B7Kx&=_>?-=O#z_G{aaHcsgcHZS2>AKN1
z*frJlK|ox}(LB9sy7Mv5(E2MwOh>*!4
z^Fo${d>?W&G%++YbYSSj(6>Xs4gEbVDXeSQ#bK9+^$F`2<_!-IZyequd~o>q@CD&-
zgf9;ND12G?j}amwC8A5jz=*LCvm%y7HjTVEa(QG_lfZKHcdUm1N{^swmh(UYU!j@}qu8dEK%bxfa_eld$;zONQot#!4VtBtSrTD5i6
zys^=-ZDX&EeI#~X?Bdwvv0ul16hEi>r0P#qf4=%l)#p`zt@_*5zpXK_#@L#1HQUy_
zw&tjsMG2t^(FtP{W+W_2__3Cw*7LOkYe(1Kp4cO?f8v*O`b8&aC5v`*=hvOmR}8lGA`^@7wssduG5mHK?@lGM$q+v|qctyZ^b
z-QINv)*V&%je5iCO{@1oy`}YX(_Crw(?+DNOmnCANq-=HZ2cbfN7kQO-`l{|pnii9
z4PI!lv_Vco)v$iU_KoT`x~tK*jec%iy>XAm!x}%|cuwOt8n0=*r}3f2z9!Y0)NGQ}
zq;-=%P3~&4xXFel1x<>Y1~yG>n%VTmrlXpUX*#j#)TS>qUD`CK>F>>wnqAQBgJ#>B
z9c^B-d1mu|%}1Wo@tkfg!dnb$F`~uFjOdL18EsI|*jcOg#(@P<_^D}mv~;6^FBK7+m2m3-rR9p$3vY4b{gC1=gexE
z<1-hWA9sGs^ItuGOc3ITr%PwoW{MaS$Lf3`$FYI;UunV8RaLI)~b`@RIx_0Y&N7tvie$;h)SKmcR
z7hP~sw~KmRlzWk{+f&`%?w;AbUw3bh@E$FDwC|DGqic_gdtBb5Pmg{*#`c)n%uA+;eKr1z6LyBBcDYmPj$b64#i;;#zZ;ywEI?kC^-9
z7;}?+PDIIB<{G&IPr2R9l11h^b+I{H-DF;-ZZ;oOgZMt!+^HTjOVvB(z3N@Qe_~#$
zmYS1|`_03~7~nBi8$X#PMv<9q6q`GZ5_2VfDNclNr5pPVJ1hl=YJc5)-M#
z{pLaWkm;4rnfv7mzHc{kxjxqzZvJF=&BMYex|>DRcR%HNDfcJJ_2M6{GTmIW0-v-(
z#L8R|OI`D*>ptq5M;-T4$32vkcNSMjN;)87c*+-WBnwV_Aa|PI!G%v$nE9ScH#e(B
z<{CIMhbLsgg*>&`{93&SmYVC;r)IHnuUP;m+;Ae__`%GF=hvDGjNu}NGY2_S!kJRe
zl)$HR;nVlfb0zdV4LzOCqK;>#^X&K;B(4$RaDKL&Y95B`KgyZtzzXvfe+V6`#Zcc8@sL@c`z{f$nN!75b1s~En=;nQC(VcDGv**U!<;}_x4^ww
za*lbMoNK-==b3lQ`DQ=Le?@K=5pXq6{%FqOS@+1j<|A7!4L3jF
z-W}Y#gL`*y?+)v#2(Aj{ssmgV&QSzDlK8#HMR%UAD+F!inog^q0&9mhVQP}CJc)Kb?t%>0J>L}MxY
zsnd2We7~-}7;3(a)UuJ<9HjOIQd>c-Hp$2_6T>*GxN}(Fs}ZI
zs}FFshpRmz0BXHRxCH4Qgz6Hcb`Yr*Lgg0W;>r81r{+?-BJ%)OcsSz`l5dBFQ7)fo
zi@Lz_tM_wmKV^C;vxGYiQ08Ilu2Yw1i0&c+ONhcdMu`Bvg<1A6LxjMA{c@HFMMu}5
zhb6>2`t$VH{PmvopC|q&+N=KyTs^TRK6xAaKRnOmv9%N3_@;ZEI_p8meS-lLvgKmMuD>G^YF>+tU#`7^!X
z$y*}Z*8b{qXKp3_|GC0$3;s9zy??Bi{GYt~uaVl>S;d)Kguh!k$M&aA_wD~qPT?O)
z|6B7!C&tiKkLWDYne#(`!>IeTS&+Y9eb1b2`ZKQhyTyxkKL4+;)ydCM4`HZiCylx#i
z)3=X&X;(SN_Y)b`zH*+gOwRZ1ATxhCnRzFf=+DT^cbB<7ADQ_Wa;k&L%!iYik0CQ3
zKxRIi9BUN0&<^BT7m=BdB{ScF%zQXG*W1X!u_>xj1{|}96{rx;9a%IHoKR+@i8N(?(i!s%|C5ISyJ$*(^;m5TP_lV%~
zQ9L&zcn284E0ixV-Z+CX##!cGM({Q;4)-micR%3Yr#1VB_5xXPXK&dfbgMH%1sgXUwpOF+&ey
zhCk^sL&j>ETfiu55#xy^+#{*sZe4fou}3jWp{7L6g}V8A6!MJqI(aK_@}nWlNcfi4
za4oIhK3cxLw00|*Yp|O+2H#pEjqfs6`w24ymYQqDe@DA~W)FSlE9@Ro5ZwC;?tKH-
zHo&!fVuM|9ZWFUJJaBCeT-zkh?y5k_T1#2Gki<_&LXQsbqP)WL@!s4&c?L%evC-Sa
zM$yDYxr_$CMO?Ivm}nRA&}QPHTw7om
z7co!NS$L!WjkbEb>4u{l%cWC*Wb%>BPe{g%WHwfrzw_Ur*&)ojsHW!_F=Hskvf`VO
z*#N-ayMQ7JVlrABAdp8dJ8-O2zouV&S0Xhd6qe+UvPXhlQfN
zwX`rr#BRCxtRlSf#o%VJRL@xB$l>z2NlvaiK-_eIxT%o1=>T!lfwPE%PCcd@VdVnt
z8BiY8h*@ZhnaBB_2sx_=?ey{Msh?`kv~rcx>y<}%?#0aOx*05G)~Du#ma&e(_HcAB
zNB2T!k+~G!?SP{{a7NG3{E3*rOU|K`E0&(c6{o2aawzt5+v0hpWd4jNpPpA|r-^5-
z$Nxrbai-qE+0C{*1AoeA1fG7z=IP5gwe0^pVxCHU{qLaXKi@Xle(2AQrvC4gcIKA-
z|8ku6_scn*-aG#N>ibvO|C#mp?^BaA*Y(U-{Pi)y>1U$--Rg7l{NRZ*KL0AMIJ=(n
znX{p1zT(so(x2PwJiRCSZ++H(M^siBWmfL}RhIB~^Auhu3s
z>-Uem{*l+|f9w4ZfBxam|Kwc(r`Mm;Mc@Ao=gu56ocW4Bt4HupIr>-Vr=HjHcjM2Q
zdvI0fr~myjI;ZdV{Zrrn>3bReyZC!{)>rktH>ckZV&t@xk<(H}PW2mFN_nTn3f|D-
z;SDXTdAG%O-q7;7P<$)m8)L4Ffo>L#6UJMEdE-SCN4=C)L|Mg@<)y4o%gg$hySGx-
z2f|4S2RTzjnfm=B9**v(L=U64y!C?XN;tC5I#Oy~!*e-OB!bRr{8iVm*m}z9a@xGq
z$E)iD9mCBWJ)h2^!2fm*d&F3mzJfcBIm)#W%)N^=immx~k-A)F>e+NwmaCt+Rmf(S
z>o;{Vw=YSIFh&}sjy{eV&Lyt5U0(-;2OJWyq8;xmY0tY#I*2$iTg1uMjOeyy+aBBs
zMuTx8P9=$IDh2dq|2puMh*nu(wTLznM4V9@)B(wqvqD6eaUu%T26fFW(Z&2xbY%?u
zBG3)=0GER+K_7VC*DMhK0%N%LF)$X41LMI2FpvA^g9YFf@G4jcUg!Qdz?)zZcnf?0
zJ_H|ukHHe~DbH92J_F0a=RE5R@Fit`ML8?kX0ctxb~W3z+_N5JgKxkluoZjd9h
z0*vSUB+fswe()10<{mHGqo9l#dIAJ9
z4;r>ZX|Es-6YU13aR7
z3Cse>K_LhAHh}l)bM9Tiy=&R7W4oU1*KD)dZeaTj+l_2DvE9se3)^qmZe_cT?RRXq
zv)#e=d$vEYg-*4T?T>7CvCU<>hiByhHz)w`KzV?EZw)+9KZ9Sv?*M)%AC?V23&OQe+}r%yvFOm4eWo#
zT+J-78c&tLo4sm-Iv|PdO+j$;3kCRu0_?f~yDq@43$W_~
z?79G(EWjoUu*m{!vH+Vbz$Oc@$pUP$0GlkpCJV610&KDXn=HU43$R0NYX$N$=2VYo
z`vgE&v7rKNr2sq8Hd26%6ksC-*od}=0_>pxdnmvj3b2O)biV-IFF^MT(0i@t1?YJJ
zdR~B@7odLy=wAW)SAhN%pnnDEUjh18fc_PrV+H6~0XkNIeiaxk@!_pN8_*WC1LuPa
z;K_M##RFG7aK!^xJaEMWS3GdV16Mq7#RFG7aK!^xJaEMWS3GdV16Mq7#RFG7aK!^x
zJaEMWS3GdV16Mq7#RFG7aKr;gJaEJVM?7%E14le?!~;h>aKr;gJaEJVM?7%E14le?
z!~;h>aKr;gJaEJVM?7%E14le?!~;h>aKr;gJaEJVM?7%E14le?!~;h>aKr;gJaB}!
zQPFOUrQH}yyD=7<8jDSh#iqt$Q)4Zi^PqDcbk2j$dC)lzI_E*>Jm{PUo%5h`9(2xw
z&Uw%|4?5>T=RD|~hqf-wJSZB17N8|~96Sr21J8r$-~})PtO4u5*I)zq5#)kBAdk1?
zg@Z^C4XT08;9@Ws+zlQ8yiH3|hRo)zTA?5j)CJT-)d$o?H3nCJtH9IX89;s1$KWvd
z1^fn%fHGhbt4Lq~CkOyRAOxgRH%+A*D&0`&hDtY7x}nkym2RkXL!}!k-B9U4r)-RJx(k4V7-FbVH>ZD&0`&
zhDtY7x}nkym2RkXL!}!k-B9UmQSCWi)xdBXceG>&Q?<%#K4&A~f7b7SYl
zRgY^JcV+ymH4175CnP1zN?0RW6QAUXbBQ23@W!(-?DIB3;*UJyk38a!JmQZ${OA_(
zCEJx?74OVzYi_}pZjs&C=RJq`)Gf5#d9>YmwB335*DdlVFYlJS4qVUv5bz+!9|9BDUkE;De=S%KvcWfC6W9W_g73f%@B`o-ezbvk_~o@E%@jyA{}c=#F`SZrbMXBhPrI1%Z9pasLO`BY^ckIvTP{JhO%rZ%7&tBsL6(!
zY^ceGf^2G@O)ayjWj3|TrgquXE}PnAQ@dD
zPQ;oMvF1eaDjqHe50`_7%fZ9th~DV#W#Dpio4_9Mcsay|JBbZ<6C3Wv`{m&Ma`1jR
zc)uLHUygX6>ptN655Y&^W3U8#%6-egXJ9$_ocq53Yq@7V$OhklO<*hd4(tFwfSq6$
z*bVlAef&Ddg$)OSV1S(w=WQd-+eVzX4NsawoVSxWZzplyPU5_s#Cbc3^L7&F?Z(UI
z$gb>SzflKd_M&6AM#i5J2=YmGJyZUqvt4SQqZLE9mIsYRUO`In9Md6
z)Z=^u&;+#Rd{@v5AS1kg4&Fb9_;9znoA37m-Wp14kV9*bLu-(urt2Cixdq@=fGlY>a%eSjXf<-wmmJ%}HV?Q#0oV^bpa?)8vD`LdxoyO9+tg9u
zGq(}TZ6lW3MyrxTtCC{`f?&RfvJEFXiUiT18i)hcK}}H0+)XUEn^1?WOI;g4$|}@O)t{)B26!n
z^ddU1
z`RGSJ`jL-**_;>pg5%jgAKn&1*i+23((e7V_!a2KtF@k&33XJ%dz>C
zLgc9PDTT=H*c{54a~p-ot`ON3BD+FlSBUHikzFCOtD4&=M0N*|RS2>QK~^EiDg;@D
zAgd5$6=KP%6j_xbt5RfDimXbJRVlJ6MOLNAsuWq3BCAqlRVwP>Uk@SSQhe+o?mUQJ
zJ%nF9g#SE5DF-R#Af+6{e;&er9m9qsYI*y?EheU5$3
z{ulIHT)c5T5Cnq|P?u;u4d^Jp9p`nVf0?fPvqJuoPU}veJZjko8`xV
z-vbfxACeo`|Azfd>~A45+r@QzXn*tA?gMU601CkY-~q*yQ^GZ+>>mP$!LQ(VVDdX%
z>PpnMiKuN8oO7!re)XKpHia$yBBHfT^e{9hi;3Dck-pxKj*g
zis8g^IItZ3(iAU;f?{f4OwDyu|LQUPsrU2P!n=3&k1;|6&UI}t2LIy?fzX;wJz;A7jCGa{Q
zKIg;ZeE6F$9^>8Qkz@r5$O;sY6(}GpPymIwP?!sKyTlmIKL&J`WgHj}CV?YA0znR%%s~N}g95m*OMJ;SE5RzThGXl%*I)zq5#$2$Vq_8u$RreyNhlzbP(UW3
z08Zw@$y_+O3r_BmojKNx9NooiZ(=)`?X4Ui!v3A$ZoZFT`vBX~93KbX=KjTe|B&M!
zv%ie(YCt{6MijvPT+8zEId+g=7L#)%LqYzVE%{rdkc$*@RbBSskE##gk!lQja{LOm
zSAlET@5`@{uLC!*udU@qw!b=k;0Lf1>;i|m{}=EZI0AIO(xfexzyMAV0D?dWNHBMy3A@mQ
zU1-8CGA9N6&zCmnGM>5IPkNE07ip9rjS{5cMH*f>?}f`=^jiBmFPtusAMzgxK4!ZV
zPpX!vvJP117>+###)5HRJeUAxbM8yFE5Rz>
zK~ZV3+LOD{u?X}l0t(&eRs^~gfnG&Gty?}S!l71sayL2^Zd)>K{xZ&g$@kU3vS^NN
zVt)(o*U#tNLFC}%e;h;uyc%3^tMf&86|2@B*R8JSm~GMf&>yUt@58`w?i;~xWbfnH
zgX}*9CUE>k;<%aMWiXrbb2z_{tDG0{gckwq~ri1-$fB6YqL|2{n8>1-$fB55$4gXEOjJ=!R8dS+QA|`(EKS-#$|b5ORzaXOxB!bK
zt3c#XOyp2ZOXQ{X@e&yn6B!f}6%^9~d5H*$i3p0-Jg@+~3SQ&*m(;m7aak#GSt%{|
zVOs9PwA_bjxev>B;4<37DQu?$M$>7j57SZ~rlmftt_3r|OJElMpcY63NgxHZBnoT=
z+JLs89iSa0Rw(6{+Xsn8ZUpy%IrJogsmEdJp`WSmJ1TMYOpZO~YiDs@MT2zq#vb4G($6?H
zd!xs6PnNZ*nz6CRZN1jG?H|n6&__Jo7;0rE#~wrVil^wsg&~13W&n8MF5`Zn8|VS-
z9(++n4}Kok%m)j=E8tbI5WLQ{Z-6(!BJdVCUC;h2?#TkH!CJ0e53&JqnAilig73f%
z@B`Qhc7fesFW5)Cc5E-dsJxe7B)h}$%lPjk3-O@I9dZjIMhbS=TwdB62oG
z$_)y@e!y%QayCWeY>Lj1IVd8ZQ$#+eh-|FR92A`-a}Y*vG>qP87`@RjdZS_VM#Jch
zhViZdJ9hJ0vD=N*M#o$Cv7G~mqr`;3vMr
z2RzT-V`WPVT@U^oFUuQg_xOKKP_g$IIcgcs;TSr8tlYTv3^JgXU&&{9T+t`@T7B}W
z{qf2^xEJj_i1*d~aQI70bZlQ-XM1%I(f0k!k+OXLvHfvmK#O&JpIrOgZTQ@6_}p#y
z+->;WZTQ@6_}p#y+->;WZTMWSIcx8%g7@eVzp#R8x6$&~W>!;_xxsu=M4Pl`=DX%0
z^HXy)UOd!%-JHj}zy8od`U^p=r@
zm@#$Nb;S=PdM{VA4{oiVqY^C{EfaXDX4!b!~ybH%Yd
zHXqcFF+VrgnIqT^_x(f$Ntl`}~PIW6~$|Ei)Od^Ot~bp4CE*
z`jm@ZhFvDvE*4ut_6_`ZIAPWSnt~s!v(`22MVY(Fctw#7U?Fnxe}?P5%EjW4|DN*0
zHowiij6uLB^gGJjLEOzh(bO04Kh46-Ci;w7Xnu_xyynN|Dt+y-izS=zs+y+t-W&&z
z8k)sIMxlHum!YM-<+Zi6xBPUNy|vHy@6lVbMdUs41eWwI9kgo6DZ93>pnXHR2JJK-
zH)rtqw9QBMO8h0+y6gY;N494xV}F_YdZJdAN}H~%hySXob@LyqqF2`a{^NgSOMLW)
z7F{#@o=O`$Ss5qFML)*;&U#qH$>`(kbD+{zDr8~H&AKzP@~PJM@()Xgs%l5olm2V|
zkTT~{)PXd$>Ot)m}^W%&on>%
zPdl+?Gk5x}%DmrS#>uwF>86w~;+uoXt<)1~%oeFH8i+<@hnk3{q8a_qb3_aBpe;ok
z(Uv(y?a8}zU<|Sg@m4q9Ms>NkLR>}UejQ_PW5~mdB?mK}{LABFl6XQ)7E{Dj@g(v8
z(_)%&u3+v1}@v%NDYwY%SZ$cCx)Z
zSDq(3$!@Z{yiDFCZ;=D#AURmxDu>9S@(y{Y943d$yX4*S9(k`EA@7qT<^A#jIZ8ex
zAC{x#Bl1x>Mvj%^DyMR(U=^;&
zSgATHNhPZkm8#mSb5#d*o;qJ$pe|GwsqU($x
5Cr@~RTWd^z>A`bGV!epA1zBkHIsQ$A%H!jOhCf{ieP
z%$HHisBI(~b&Mn<*+?-`jh03$qm9wlXlI*g-G;V`V?&{}5;DAp0@p@_wOQ&hzAar2H`wU4bOGTC)1V
zl2xwUi=2uq>HMyQYQkI19zD(?PqfDqt+6Zi*i-ZtmmOo1*Z&Dt`Fe$2zJCVGT#Ie4
z$2zmI&u>m+q4}q@Q5RMkh@A$@kUwav9kAAp*lXq=vRG}e+FBpAEOjE5`ZPAGE!4Km
zs&?tON^O(cB2R6P+8T4PLT!WE0)HyEK->EM9oxJ580#DOr`X?@e`gECj+{nEtAA%V
zV!EgI#~1xy>kX_)FBli2+Cj8+de6Xq?Zw5>F#0p$MDljDUw(o&7sv9u7(sqlFY(r=
zy%#U4b54kw<;QBUO<>l2t@7`G_QnAX_Nwb{*I(1%U-k3!{0hC&A7P29vI?k(D_^aX
z)`zCSzg8Xbto|cPVDvxM+33wtbebncUUGy3MqBTg^{co#Y
zq5MK6kt3S_(N--gYp83W>lI{OscWl$Kjxr*x(5|*ozv&_{Th0)xfIA=9M*8`V%Jbx
zlh&`wv-DHRQfXV#cWF!0_xqPRoU<1{<%tzX{MQ`6t&TOxylTZPszTZ1a^tGuRCQmUd<|5<-&daL2LINP#pzY}-DUHWcq0rq0^H5!Wj
z(8o0`_7Zr~`^!(BViQAc;;jsiwhk-PQ&Bg69Z$bK-YXpc-A}RKl25ihwsJPTehWVK
zoc+y~fwp8DT4PVY)VA6e{dv4S>mzmxWM!+YVk-Ay;Et{9CzgNgaowKSt&e|O*+S^!
z8a42IF7!1B35HwkO=YRtr^Q<9vG%R~b|BDpqct_e(w{g!HHXf$RO;mEt|Y@#vHEL&
z{Pq4;$)?2x9eTCBS4}*!fAv$LX{lT^4gOUh)iJeRZS9ESZaYT1WYK;L24UbhOG5B3qQ
zFIwW2+Gw3P=|^QW<1CkneMEn1Pi$+Z|0?^NE=bGI%9C09nnF!^h{a1S8@<@Pu=n*b
z+uzvo^+#6vYzSwnez)6r|FddgW%d!<&-m-2@ATI|w@G@j@6ovm?UD3Zf2*p`+KbI4
zUAI`PEwSSp2eq~B#kLq_owef#n-2YH-(^!<*+S`i^||VnR{HC$pH{W5`n!M8x)H|J
z8n!OllGOK}OdstU`0w^_qpkYuZaz)q7
z*7oYhw7mYho$c0N_fv1}I#gP6Rjc;zSM@qJy?zVUnteQM8E8wkQB_;)r};nQX+g9X
z)}tXY)~DXui;mpwGq!Cck#&<@x?X%GoYqnkrb+qQD%6l$2MrM6cMrX3m}Sq>vJ`!n
zvb?a~lSoD1CFLsKUcXV~klVP&xR?CKePlT9Hy$t^G)7sOj?u=W#u!JimG3xkY{ui?
zy5~D%o3YjS*4ScfHZ~gH7#oai<7;ERvCdd)tTA>NtBqAgma)?K%J|aw!dPJpF_s&j
z8Douq@4kt~GS*L7m$H7sx`g#3)(=^~XZ?Wneb)C_-(_9Q`VQ;ctczIRWPOA6b=KEd
z7qY%;yu!MGbw2An*14>6SZA}&VttwQCDxg&Ggx0_eSvj4>+`J7vEI)54C^%3r&+hN
zKE?VZ>r~b$tdm)vV4cMJIO{}X0_%9zajct+O-OPK2m}t}W+Z$uh$e4)9@6b1uBU|<
zL*}(5xz`uan3?2Odx*JYRWB8gyTu5RC-TYD?k7_^m0am>
zWM+>@C1#Q<4Homszr={wWt_|u@93Ng8CI=d-Fcefcv0#(9S-LVX9lWO$KF!Mf&S)!
zt5|Y{D()?ku46Yze;;=LU3ZI2G`P$qd_oKin4vf!XJ3k@I@&uIb4ik=+d6gwj)!@o
zUTX1;J(VWNSn30OvCrr)_JTc>@AGskc3I}Pl@iJjFd-HNg`RKh}2_p<_%ApHE+c)OOMUfbrhZ8!1>|=(b>wPcjY(m
zI+Nam?A^uU5;BRGR%G$6B)5LGxQ3aJeaSEC9Q*bBBH{+oUkrdGJJ0?EdG!~_q|Yal
zzJM(HD@gox^5}0^ne=zW+hVbJSG-R~{R499OUSA(LlZs|%Z+ozUE*eOi@4P|kJwNL7h)FtVjq|r$Wk`^W{N_Hm4B*!JEB&Q`e
zP41VXQd}t!DbXo4Qxa1erF2W_pK?pRbw7V~#Nji|GJLdNbe)pK9O^WO9KToouBuyg
zT1DP_J9QEjbs9^Zrs88ZQ77S;NXNWm;vj
zx~{xVQB~@6vsEWaosLo`=`fflvDf_4Tx`xapEs{Ddzr1x8ouXzlgnQ7jq(lhUFW;j
zca^WV@4T{|WjSR(lzm^ey=-gQqOv#hKF@nBuXA35z1#NI-CKKat-T3*YwV5O8?iTd
zZ_r+~XUm?odtTkMV9(q=-S>3Z(|%90-0Sz$-TmwCt9ISGyZi2LyU*XMp&M0dY77TCxQG-CLlFcPwt!NTx<*#H6;$ki)XFKjM`QEvy}#Dc
z-owUg>VC>~(2h0D3=R$oaOr|8%8l2FNGW4^mQ}vNh-iR_H*}!^l*&h&s0?-gEdy5h
z*55KfW;y2lt^$3fzk4Miyb@h$i|0{(0Zxq=j&FzcA#{*0^%ZqmBT@NoDdYCoX+65Fe(%%f8I!8kn7ya>_Q=34c)wbgPruv*
ztM_#I;g{YoJj3iGIm0(l&X_F!HI;wD++Sm=Z^2~WK$Rx{rL{nc(Pnc;n(Jl8#IMT?
zZ`2??Ejg)LbYw(Gu*)yC%+Mgnt0$d~lsd|A8nOHbCxCmi;L$=HCI4vYOAIUZ)H@A
z%V^Qs7%=*obsLtyI&0x4D<8gd#E1uGeZ6YK2QM$maj4}l4SV!yIr7@kEzbM;jaN3t
z?))*%{l(~658ggtWa|sEUSG66X2s{x-)(fxcGhHlYs5!Kh6FiOpr6k6=eAeMXxCP`0#vM4D2UWVIRxq!p!WIO&yXmtEYw
z_hmhL_EyanJU;Q21ry2-UEaONWxj}^YV}aZ3!~qD>yb-FFIqIZ$Dn~dFX?gXtv!xr
zkACZ|(Y+p7wCItZg9i2N)noAB9=~*U+|^k}nVIGR$3}RNjD*{XmouYNQ`)vpX`I?P
zDKVjDY_;IPfU4Tup?RcXNM~BT>QN4dtc9Qvx6@fkwv-4u!H`&OoJ%@jQTaC&ACQpQ
z{w!`Uw|VPsL$lB@!j1RzWAJ`^8MOf
zMzt6|&DhiG?k+c^^=*A#zv1xVVdG=j1z+J5>6!R9C6!-)s&N)4WLXttRk|Qd7_ZjF
zay*-SZW-j|%CWw4)XT1$iN%{`I>N(bg%slYWQK-1mDNoS74a$|GuZz%MOj>m6m9BA
zmx_vwjD|63B5JJc_>L>>@%8H_rMcemeW@;$lT_2|ib>^^S$D$f6tKXRTKFH
z&vo(KI@WVLWxB${@S|0q9HSqliGY+wP(lTagv_Ypj;0uvZ;BL%rFC>vt4NjJCWDvZ
zsXD$d-gc!;$lmg3n(J-ZNppUm*E8gxnZVD
zv&Ap7%y@nCiG^7$A2n5n%idGHRLvQ7Idi#oAhQ?@k$hY^;T4skyJ#^xS+~Rkv$EDv
ze5Co95pT8Yb&k7_e7wZ5pzG4QD?U|bEO|}!U-*!#iGHRM{KCi)S?+_03H)BSqV29p
z001Mjz2H?VJZ!kIV}fcbHAS_GY8jo;B04tRcBfHRE78gkdF0zIWkK)aEYb$
zut0M#IW@}Js-9Z4%J-Er9KRbcwB~|w#0rU&QBz!)8CtVObYxg)a3F&zelO5C91n?z
z9J&pW4m@ZBNGo@AQ0UO$zn_32N)^~En^jnKN*FQ-M6*;Z4RxhmI~;_bl`$vLlx5U1LncS1
z2N(~nUAwaENp;J{vRQJLD@N|0;ae<1@^|z*(=Q?rGb%b)bqKKSeufyeZIh+lszRRIpI-Ky^zo14$OqFdRTuqR;
z8>6Fa(>gj<+dx_sP7+cCymO`6QI_4T*H0g;^_YAI~CKwIg
z@m-(VMDmV=+#h^DuUqN5@3F-%KC!5)&TlDx@qEBh-_qf9qQ1CV2~wmcC#2U(kBx~4
z3v`K^vSvk8)E3t9gEPgHC5K9c6bG6TAa&?hP6PFZ932x?B|_`AY!Me9(3E!DRT~|*
zR0C2(4H+q7pn*o5Xb;s;k6!&+n}+QkzVh)m&s*4k*$;;|uJd_i>Z{j}OPzb~gX5lb
zW~J1eUZc+b_lKX?^=Njk?=aE|mZa5Wud<6S?R?88-+lW0)Yoj;3_v&1kxi&*k{PHq
z1LpfRzB(+IG}EX#8mtt2x9rez?}7$3wN+%a4z(TWKF^m~2i-@H8mpYKz9qh3-}}ER1l{
zadLNOF$}}krsKeLbg=9Xh78+1*wJy-{nAHn8}+>J$hvL5k{8De8*?~oY4J-l?;164
z?&!N-Z1C8C+b2!FeZZrR4tKrPsL`?q*XHD`eQ;UhhHu^V`MUK-XWTbq#(fVy`lPF^d^2%LGwK#cr>O0M!ylQi?@6+#Ppf7jt
zC3CwbUNHLMK~s{ZjlKQJvEx>LFzTZ2(s1XG5d{5kc=txx^TY7=-8p{WQKmy4<)x!)UXhY}o?t
zohYs`a*f?p>J_7F)T&;aR_POsK1W|uS6_9Nk@%Hw{Byo>D~qCBdWaNxx96!NEO{r2
zOEbwd>dr6Eu4%Vy75=PwI5M>YLpni51D7-c~T8{~|qhyCl`hx^`k*G>IhbH7~s
z!K2%TwZ8f~-@uJ_o%{RFb!~M{7a5|nY>`?0g3Pw9TQqOnuwH7N+BM><#YBb&2Rc+p
zMO<60Pv#}j%#Q8oQjXwsq*`Cnql<;j!OWP|9y!>df^ChZ)k_e8fdO$rbZ%g40#u7|
z-QA-hOb`J9(E;&62|X9r?~~cLyv(3elo@nFnIb5tN|C25KO`aZn$wldP@M{-QLC+M
zUjCG`D>=BY6}Y=}gJN~4(%RJ2emOoM!*FS5+$LHiC&3tz%zixPnIvMYL()E-*1AoM
z<NR`?eCzVg5
zz#tua@&5rt{OwN>@z;TY4&~Gt49piOSV?O@Q>W83cC>F0%F0xkOh$c1SN`)RZ9)WqTk?|**r6xv6N)2C@zAr`{X)AUDYGvqV?R%Fhf?f
zsEq@q;lPr}DH!yxZN1Za0RdKQg38gNT2;}WG9xOvg+qsgcFQ37svFJp)Oz+#YVsTM
zhdin7>Hp+H-_aj^W96s`&%N+ym~X1=bjPIUCj0g~7iVSldoI1wlyIs5i@s$31ZW
zv(6d!4;gW<=9v^DXv;pw2hF~smz?k7GD&u+E)`1uHF<$e_Y9=G4RmE#lT@NGZ%i*K!L^UE)?
zu0wtH!Gc#-u6$*|2XeD3+vkz}WEct&CU5Zlw!`(}d%mBud`DLMet!2QYN{;Wd*FQ#
z9p-a0qk|bg3yukn4h!K(pdl+-;#y8dNRH<+?UY~Oa5+iPr54GW!O^5{RO%c27NNGh
zjt=x*-x29tS6H~tx!5*^8&2&uz#
z9R%Rub?O6wSA-+vL7h5k!o}0ov|wbFy`h#J9c_##yHs7R=9m34!?}2-uK|UWKl5CR
z_SPinD)N&ReG#3zvhM>Cf;W~3xp&4z$(2QEdy0&W2MRhe`*vd)BYc*%5QI2{pVx8l3
z!-Z~G&PX?PjxSpJ%KmErg$
ztL(h2EcI2EdaUdr=i;(E)HGWT%VE@5o?(a+`^Q$Q+bU0|Fz8Zd$g!(daWT*AL9Dfm
z-AEk~gog$P>8@2p&o~)Bq3{#dTv|hm9MM%6S~%%stt=T)R>rZSd!T;F`Xy`aPfqpO
z!}koGs=Ga&U(zRGfv4f!$rHy@bIuot*Nk-#1P$IqIsl>K-4Ds$2mGH
zZG}v|=1GRkhz}ySE{h+@${M0-{iw(`jO2GJ)5`9EJ)_iEXW6A?AzI^Y`)I{;o#cB0
z@ft9>A}(h}rX7pZThmSi?bOV#r!_M}-lmimHNBv
zJPX}f3T&V&9uUV9tMvL{TWVA~?ma*ofHBG?HyzG$`7V0g*WQ(dw~2Dh{=K)OvpllQ
zF<2gXQ9t?^U22>e9Ab@cRFPL~5bY)c)5+0*I2|`sD3SG;49OsbR-(=>wCFQemZOh4
z@&*!mT{*6zd@EPtRM?u%SN|Ki5`0&=DdEY|@n0zwUe>96ANqbZeP750uLz2kBX9$yVv*ptF^IEX{1)mN_chE_r8`YEmc-Us<8=1v&WHY0o_4dqH(8
zTjE^oUAd}g#_ap=pJ(%Cxbs?g6GID|nHgNCcJ;WZ2;w|{->!lF{S!TFp07LnO!z)U
zTFKwfB8RBEAGYr~3Bx*f+%e(Dt_%KkQl{OVec6^rw>D{dTE
zYie?B9beaoiPqe!@SzQYi3*}H3R+hO(KXXx?8u*
z6Ct{W6+r=vm8Hc;?;SSs*2H@2)8i)H<9kQeSoqA7(|udiePxe3-}!dkuvgDXf9KK1
zy9`OGo-(%UxDijy96jd236`!8#qZw-ztcsp%<#0jDanboq9en@s`PC$LTR~@hybYZ
zaU((s1GM6qgHruvK+a!Z13x3d$-Al@4w&C;`iQ^Xz|GPIeW20P?37fGcrPtcm@VI9TobSSl&vK
z&D0&hbQhG-An6t}(6B@1I#NH12gc~YIXyLi&kVVthATy?FQg;Im9TM}Z_Z-h&Nx@B
zZwG-A_4{~84xb0rx{}1g#;%*eRuW~5m7R>HM-Cam
zWzxuK5W#Bd46EZkV6-
z^Ba0#R;8@*0E>QIQ>$(<)Th|vNyJzkI|KbZ^s#I-UN-#j)kqhwAynU$HIVbWG8sTiz+nzFX0!K)
z#$22_H#7U_Eym0lI`+KWktg>%i?AHVg0w&PkK0%?2P(!+f*3ntl#d&%(T5akluxD_
zZ8GHkS-%@@N^$Tr93^feUOedNC6btpw=lD2O0p2?^^zNiFe4VsvJB?S!~$di*0WfW&)M-ZUnsZPcjlq6=%;V2~c3
zK}^~ZBXv4kvqJ}R5aUY7Y<~L7F3SMUl+J-iN7-{90-_T6M*p|b
z?yMoRTP97<%9wu3n%u0%Ctvqay|f4WJuy)p+V9(a)fLaUs+Y~{b}=cHBTEnT?dfaO
z``T6Wc>r}AfIjR%AFO`66xHK&?n{qDFr-tv!gIHbrq51DB%#qk?C-D?fCK533HwMZ
zLyMv4OkOx+`P%PLyNvia<})ZF3p(p@<$ZUu`PJgodDl&R&v5*@An(`T_I{Y}Q13r_
zI4^0&^H?*G)H
zRm)}%vWY_nugr|A9xp|$g!nqu>qJF_hLA^(lW`Rpp>txwl%cBG!Jj=+K(~ujx^5kG
zO8~`o@2vEgormiLqw(C}-q|^0DH!2y88bxbdQU
zrcMY
z3lrPT?e)}St)3mQYFF0y$$dwrr#*1>lyY6WqSuroD>m+GRPV*adXJ5NuuE5TZvLvv
zddSiXFSB$`GQXIn2K$PkZyc&;uG!qFh)RHcwsyt3{5o8I~&>+ZYyjH#cMWxU?&nvL7bu2rv%f8@fBN4N4s#e94rZ)Q)AZ!|ke
zq|G({7>8$D{H*8~>a2)X4S91Gi=(}awZ=@$<-VTsF3OC6qRyGR-w928v+|ODPo9}Z
zL#C%y7zWuc-IN8Pfl47TtVfbi&_5fp^iSHkl5%;pin0bF?ppL>os8Py;Vq-izvOfM
z^dmzTei#%q(;3j`CdV_fMi%#@I#0pd5b6?Yk2s$sZ<4|g!ZCRhD7IRZV1Mq!;%`On
zgb-COy(KH_CV8R9cb|N-P#*M!xvDef|AsHD>=T|@$kzyb|1_g4~B5xbDPO
zQpMew`l3{ks{3y>s#lBFnLDT9p95goOG*+p>L4zl-)wuCKr+)>%jr(rIg^CUw2F%Y
z>9cBz>`Qg)Sb3q-8eWLERLK5}tx%-OJsmZ73U4)k$dH-oEf)@ZWkuE&lxxQ_Q0~s)Z;Hq>CyS$Jf90{K4<6$Qpjn
zb))N1=ebwkkiD(!Dz)&*k=-vix|3>R6SM)2hSc-a`5c>xkbq06NLY~C(?bw3+PTw`
z>v2(W+>F8j(y?o|bo!3w=K79gJ^kdAY0pfZ^0Z3#$~L}rC2^&`uVt%}MY*|);@;S^
zhZF=ck*~j_0d>(a(S%dAy?D>&w7Vp3nbD$RiFbHmM~N*@xW%%*
z6GJKJ^xtOr$@17pyBJGbPKb>ft!horYB}{fVvPxt
zFS|QE{q9SrOtfQ-o)${z=QqJpItYZz!-qjn>8X*Q{25X=1B82z%
zGi@6WqVr+*HE9oHG>2%db*9pClb8c@lhbrl>Az4<2+}9%0qJ(#3W)74sbv%Cgc%ib
zi;GuJ-qP##+F6TZnoj5wS3k^{?7~=&INHy;vR?pRnK}+49$HHs|7ZCmtK}`PkdEOn
zlZvUuRRYwCiN*HB8LRm<95+q+JbU;1OY%q_J=kyXpuSJ6-cY#gnUvkd^E12FZa8DqQy*=f?7DS8UubB~n}J6dd@d=
zo$Pe+#p=kBRoc%=-sUEpIqb%Y+cTLiRW*NA8L9SMT&GVaBfrE1PAew>;SOeeL2}?HP
zX`5&JR%OdcPduR(m-U`GQ!PHSNrwd|ywaz~WV>%+T0s{&>D3ModF*
zdGSB}5uH=S)Qkpp9B&26XszOPYWC1mJOe=16dq>nr0D^>PLc!Pr@CbD559H{UK~@s
zN409MD?&Q;PH5)4BS$_x(KzQw($IM!&Y99RtjlmmU1;xzUM!_Pe;`L@c_p;=b|cQ47%;MK?}aBf5*SBV)@q{
zzGvHb-^d>J&@&GX-|%K}n|o6~9J}GxIZc|*9h5!xeNF$Np=j7@qTU3^3
z*BE!pkXL7A`AS`S$Wg>X(+EFJ`sXT@GzI9o$3}!Rj~tpL;|>-vH8n3ZO`2qzCR$#L
z7MnC38*5rJV)djwNQ)iX@7jL+4Q=q{EB}wW_W+No+Wv;mKIhDt6w*m2B$G-A&4dto
zhR_MUh9bQS3W)SxEc7an00P35CIoDtsHjX7>=QeY`y-YmV&s_cFut4Na3eZEq>&zA4^(DPz~X#!FrSaNTw)=oH%ZTdcx?i
z>huq+d!X>b!-@D2vJz!T^-+-YT>Zx*O9pN1*J5OL+hMB@Eh~DsU-RLO3r47)KXk63
zOQS{;3&S6LseOl>2GhEUxN;1R{-_4M3vXV>SFnCKd!)1Utgf>Nno0IZv?gkebBBS_
z&jJ_^Vqw9r5j$Ji3Wj&VA}yt+A1O6_h4vl`eG5-wRwF6`wTrfN$mL_4;Y_JrD=xNX
zM1Vi+HYqH{(q)|;BEwai7GoN30{uX)p~qIS;2`}M5ExiKNNj?h$B~HuaxN|^{Uf4p
zEK3fB*`y0&jts-8YR`F6)s8PMJK-vOrfk(gO?%R^=-8&0C4To+BCGRe-E*vt$8{1)Q-C
z5EJ>kVDkXL3X`F*njqnZH_t!h6Nx0jfppkm3HgLJ#5UFws|@Kxdf{<
zzTykpApIxoOG7#jgy@W_saKxdW^pm$p)e3S;zIy`(2`-sK@gV~85;)Dkz$vm1E(3s
zm@KRE7+dxl$v6?WAW@xp2xgFa65<(T5LC3C5hf-)SGaEV&fQLq8FR95$;uVkxy_nv
zSh=>#@!=zm7j9VfaN}mVjn=FxzxSuZ2Y>qM;NhPpwJvDWYT1faU7s2?_Eh)HD>vk|
zYTb16s%_m*jv4tx*R?Cvxu^Iw=6~v004RUQsA^-sj)LYyVU{su)u|rj=Gm<*K{z7)
zN%n(|h(iU#l!nkB8>!m~(0K`#0OPMsFa=^n@K@0PARfXTPXB|C1j$7|<3m|fzL+iK
zi(UL7f>1$Ox%09Xt8Q^;&wXqTf0lKa^VnRKE{Wek6fO|IhI
z%uB}J@x$ez1KPD?H9q?a8mo3{
z=c@G&-~ax9FS#!@?33EL^Mmg-?c(Uvb0a%CbXA?42S*-$<;_nFb?pN)2M->Tpa1N!
z!K*W~SC06{*-Ph)89QeV9yO|Y`=|QUhz*Gt-G21A7GY5}YL03@_%2N9p#G&cSnwpf
zl2M&5Izyp6(5gd$fLFx~&cSuG(Ulzh@yERG#~K6m8SEeJPpm`O
zuhWUad8r42!NIzn7D^g6OiC%qiU#xqPyph;`T$ig-LdP`sa-pc>FS2TgNKeCJ9O|M
zcMUe+w_jNi-~a1x{J?A^Kdr+u*iJrzU*sS0k!oLK%Z>|2WPihf3kL1_+&>55L@b&9RuTG`S
z1`%SpQSe-=smx~J=plFm?iZLr0j{C*2v$TiRMW(Q;DQJfGEA_*t)>(?bE-UxXAsK>
zwt?W)8}QKobnL44;XFNGY*%p{5Xz$fl>m)CLGcSU`WiT5DjgtabHBtCjL7trs?)t`jUHmW__+3c$J0
z+4C$)4>5Jo)(PV_ZyG;w%hJxdjXQSA$?dG4o>)>cank0^lkz%s%F8P(#Jfj9=((o<
zf_I0&z75-~Z=AWuKa>hp6{ME94fYQXB0ITgiSofM91o%g|4P*mMFI?{>)BXde2gz;
z^N+FS<L|~fQd0>qPkZ7+*StX{o{Wf%T`#LP~