This commit is contained in:
2026-07-07 21:08:52 +02:00
commit 4c20cfc716
2613 changed files with 318021 additions and 0 deletions

View File

@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
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_mechanicjob
Copyright (C) 2015-2025 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/>.
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_mechanicjob Copyright (C) 2015-2025 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
<http://www.gnu.org/licenses/>.
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
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@@ -0,0 +1,48 @@
<h1 align='center'>[ESX] Mechanicjob</a></h1><p align='center'><b><a href='https://discord.esx-framework.org/'>Discord</a> - <a href='https://documentation.esx-framework.org/legacy/installation'>Documentation</a></b></h5>
## Requirements
* Auto mode
* No need to download another resource
* Player management (billing and boss actions)
* [esx_society](https://github.com/esx-framework/esx_society)
* [esx_billing](https://github.com/esx-framework/esx_billing)
## Download & Installation
### Using [fvm](https://github.com/qlaffont/fvm-installer)
```
fvm install --save --folder=esx esx-framework/esx_mechanicjob
```
### Using Git
```
cd resources
git clone https://github.com/esx-framework/esx_mechanicjob [esx]/esx_mechanicjob
```
### Manually
- Download https://github.com/esx-framework/esx_mechanicjob/archive/master.zip
- Put it in the `[esx]` directory
## Installation
- Import `esx_mechanicjob.sql` in your database
- If you want player management you have to set `Config.EnablePlayerManagement` to `true` in `config.lua`
- Add this to your `server.cfg`:
```
start esx_mechanicjob
```
# Legal
### License
esx_mechanicjob - mechanic job for ESX
Copyright (C) 2015-2025 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/.

View File

@@ -0,0 +1,963 @@
local HasAlreadyEnteredMarker, LastZone = false, nil
local CurrentAction, CurrentActionMsg, CurrentActionData = nil, '', {}
local CurrentlyTowedVehicle, Blips, NPCOnJob, NPCTargetTowable, NPCTargetTowableZone = nil, {}, false, nil, nil
local NPCHasSpawnedTowable, NPCLastCancel, NPCHasBeenNextToTowable, NPCTargetDeleterZone = false,
GetGameTimer() - 5 * 60000, false, false
local isDead, isBusy = false, false
function SelectRandomTowable()
local index = GetRandomIntInRange(1, #Config.Towables)
for k, v in pairs(Config.Zones) do
if v.Pos.x == Config.Towables[index].x and v.Pos.y == Config.Towables[index].y and v.Pos.z == Config.Towables[index].z then
return k
end
end
end
function StartNPCJob()
NPCOnJob = true
NPCTargetTowableZone = SelectRandomTowable()
local zone = Config.Zones[NPCTargetTowableZone]
Blips['NPCTargetTowableZone'] = AddBlipForCoord(zone.Pos.x, zone.Pos.y, zone.Pos.z)
SetBlipRoute(Blips['NPCTargetTowableZone'], true)
ESX.ShowNotification(TranslateCap('drive_to_indicated'))
end
function StopNPCJob(cancel)
if Blips['NPCTargetTowableZone'] then
RemoveBlip(Blips['NPCTargetTowableZone'])
Blips['NPCTargetTowableZone'] = nil
end
if Blips['NPCDelivery'] then
RemoveBlip(Blips['NPCDelivery'])
Blips['NPCDelivery'] = nil
end
Config.Zones.VehicleDelivery.Type = -1
NPCOnJob = false
NPCTargetTowable = nil
NPCTargetTowableZone = nil
NPCHasSpawnedTowable = false
NPCHasBeenNextToTowable = false
if cancel then
ESX.ShowNotification(TranslateCap('mission_canceled'), "error")
else
--TriggerServerEvent('esx_mechanicjob:onNPCJobCompleted')
end
end
function OpenMechanicActionsMenu()
local elements = {
{ unselectable = true, icon = "fas fa-gear", title = TranslateCap('mechanic') },
{ icon = "fas fa-car", title = TranslateCap('vehicle_list'), value = 'vehicle_list' },
{ icon = "fas fa-shirt", title = TranslateCap('work_wear'), value = 'cloakroom' },
{ icon = "fas fa-shirt", title = TranslateCap('civ_wear'), value = 'cloakroom2' },
{ icon = "fas fa-box", title = TranslateCap('deposit_stock'), value = 'put_stock' },
{ icon = "fas fa-box", title = TranslateCap('withdraw_stock'), value = 'get_stock' }
}
if Config.EnablePlayerManagement and ESX.PlayerData.job and ESX.PlayerData.job.grade_name == 'boss' then
elements[#elements + 1] = {
icon = 'fas fa-boss',
title = TranslateCap('boss_actions'),
value = 'boss_actions'
}
end
ESX.OpenContext("right", elements, function(menu, element)
if element.value == 'vehicle_list' then
if Config.EnableSocietyOwnedVehicles then
local elements2 = {
{ unselectable = true, icon = "fas fa-car", title = TranslateCap('service_vehicle') }
}
ESX.TriggerServerCallback('esx_society:getVehiclesInGarage', function(vehicles)
for i = 1, #vehicles, 1 do
elements2[#elements2 + 1] = {
icon = 'fas fa-car',
title = GetDisplayNameFromVehicleModel(vehicles[i].model) .. ' [' .. vehicles[i].plate .. ']',
value = vehicles[i]
}
end
ESX.OpenContext("right", elements2, function(menu2, element2)
ESX.CloseContext()
local vehicleProps = element2.value
ESX.Game.SpawnVehicle(vehicleProps.model, Config.Zones.VehicleSpawnPoint.Pos, 270.0,
function(vehicle)
ESX.Game.SetVehicleProperties(vehicle, vehicleProps)
local playerPed = PlayerPedId()
TaskWarpPedIntoVehicle(playerPed, vehicle, -1)
end)
TriggerServerEvent('esx_society:removeVehicleFromGarage', 'mechanic', vehicleProps)
end)
end, 'mechanic')
else
local elements2 = {
{ unselectable = true, icon = "fas fa-car", title = TranslateCap('service_vehicle') },
{ icon = "fas fa-truck", title = TranslateCap('flat_bed'), value = 'flatbed' },
{ icon = "fas fa-truck", title = TranslateCap('tow_truck'), value = 'towtruck2' }
}
if Config.EnablePlayerManagement and ESX.PlayerData.job and (ESX.PlayerData.job.grade_name == 'boss' or ESX.PlayerData.job.grade_name == 'chief' or ESX.PlayerData.job.grade_name == 'experimente') then
elements2[#elements2 + 1] = {
icon = 'fas fa-truck',
title = 'Slamvan',
value = 'slamvan3'
}
end
ESX.OpenContext("right", elements2, function(menu2, element2)
if Config.MaxInService == -1 then
ESX.CloseContext()
ESX.Game.SpawnVehicle(element2.value, Config.Zones.VehicleSpawnPoint.Pos, 90.0, function(vehicle)
local playerPed = PlayerPedId()
TaskWarpPedIntoVehicle(playerPed, vehicle, -1)
end)
else
ESX.TriggerServerCallback('esx_service:enableService',
function(canTakeService, maxInService, inServiceCount)
if canTakeService then
ESX.CloseContext()
ESX.Game.SpawnVehicle(element2.value, Config.Zones.VehicleSpawnPoint.Pos, 90.0,
function(vehicle)
local playerPed = PlayerPedId()
TaskWarpPedIntoVehicle(playerPed, vehicle, -1)
end)
else
ESX.ShowNotification(TranslateCap('service_full') ..
inServiceCount .. '/' .. maxInService)
end
end, 'mechanic')
end
end)
end
elseif element.value == 'cloakroom' then
ESX.CloseContext()
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
end)
elseif element.value == 'cloakroom2' then
ESX.CloseContext()
ESX.TriggerServerCallback('esx_skin:getPlayerSkin', function(skin, jobSkin)
TriggerEvent('skinchanger:loadSkin', skin)
end)
elseif Config.OxInventory and (element.value == 'put_stock' or element.value == 'get_stock') then
exports.ox_inventory:openInventory('stash', 'society_mechanic')
return ESX.CloseContext()
elseif element.value == 'put_stock' then
OpenPutStocksMenu()
elseif element.value == 'get_stock' then
OpenGetStocksMenu()
elseif element.value == 'boss_actions' then
TriggerEvent('esx_society:openBossMenu', 'mechanic', function(data, menu)
ESX.CloseContext()
end)
end
end, function(menu)
CurrentAction = 'mechanic_actions_menu'
CurrentActionMsg = TranslateCap('open_actions')
CurrentActionData = {}
end)
end
function OpenMechanicHarvestMenu()
if Config.EnablePlayerManagement and ESX.PlayerData.job and ESX.PlayerData.job.grade_name ~= 'recrue' then
local elements = {
{ unselectable = true, icon = "fas fa-gear", title = "Mechanic Harvest Menu" },
{ icon = "fas fa-gear", title = TranslateCap('gas_can'), value = 'gaz_bottle' },
{ icon = "fas fa-gear", title = TranslateCap('repair_tools'), value = 'fix_tool' },
{ icon = "fas fa-gear", title = TranslateCap('body_work_tools'), value = 'caro_tool' }
}
ESX.OpenContext("right", elements, function(menu, element)
if element.value == 'gaz_bottle' then
TriggerServerEvent('esx_mechanicjob:startHarvest')
elseif element.value == 'fix_tool' then
TriggerServerEvent('esx_mechanicjob:startHarvest2')
elseif element.value == 'caro_tool' then
TriggerServerEvent('esx_mechanicjob:startHarvest3')
end
end, function(menu)
CurrentAction = 'mechanic_harvest_menu'
CurrentActionMsg = TranslateCap('harvest_menu')
CurrentActionData = {}
end)
else
ESX.ShowNotification(TranslateCap('not_experienced_enough'))
end
end
function OpenMechanicCraftMenu()
if Config.EnablePlayerManagement and ESX.PlayerData.job and ESX.PlayerData.job.grade_name ~= 'recrue' then
local elements = {
{ unselectable = true, icon = "fas fa-gear", title = "Mechanic Craft Menu" },
{ icon = "fas fa-gear", title = TranslateCap('blowtorch'), value = 'blow_pipe' },
{ icon = "fas fa-gear", title = TranslateCap('repair_kit'), value = 'fix_kit' },
{ icon = "fas fa-gear", title = TranslateCap('body_kit'), value = 'caro_kit' }
}
ESX.OpenContext("right", elements, function(menu, element)
if element.value == 'blow_pipe' then
TriggerServerEvent('esx_mechanicjob:startCraft')
elseif element.value == 'fix_kit' then
TriggerServerEvent('esx_mechanicjob:startCraft2')
elseif element.value == 'caro_kit' then
TriggerServerEvent('esx_mechanicjob:startCraft3')
end
end, function(menu)
CurrentAction = 'mechanic_craft_menu'
CurrentActionMsg = TranslateCap('craft_menu')
CurrentActionData = {}
end)
else
ESX.ShowNotification(TranslateCap('not_experienced_enough'))
end
end
function OpenMobileMechanicActionsMenu()
local elements = {
{ unselectable = true, icon = "fas fa-gear", title = TranslateCap('mechanic') },
{ icon = "fas fa-gear", title = TranslateCap('billing'), value = 'billing' },
{ icon = "fas fa-gear", title = TranslateCap('hijack'), value = 'hijack_vehicle' },
{ icon = "fas fa-gear", title = TranslateCap('repair'), value = 'fix_vehicle' },
{ icon = "fas fa-gear", title = TranslateCap('clean'), value = 'clean_vehicle' },
{ icon = "fas fa-gear", title = TranslateCap('imp_veh'), value = 'del_vehicle' },
{ icon = "fas fa-gear", title = TranslateCap('flat_bed'), value = 'dep_vehicle' },
{ icon = "fas fa-gear", title = TranslateCap('place_objects'), value = 'object_spawner' }
}
ESX.OpenContext("right", elements, function(menu, element)
if isBusy then return end
if element.value == "billing" then
local elements2 = {
{ unselectable = true, icon = "fas fa-scroll", title = element.title },
{ title = "Amount", input = true, inputType = "number", inputMin = 1, inputMax = 250000, inputPlaceholder = "Amount to bill.." },
{ icon = "fas fa-check-double", title = "Confirm", value = "confirm" }
}
ESX.OpenContext("right", elements2, function(menu2, element2)
local amount = tonumber(menu2.eles[2].inputValue)
if amount == nil or amount < 0 then
ESX.ShowNotification(TranslateCap('amount_invalid'), "error")
else
local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
if closestPlayer == -1 or closestDistance > 3.0 then
ESX.ShowNotification(TranslateCap('no_players_nearby'), "error")
else
ESX.CloseContext()
TriggerServerEvent('esx_billing:sendBill', GetPlayerServerId(closestPlayer), 'society_mechanic',
TranslateCap('mechanic'), amount)
end
end
end)
elseif element.value == "hijack_vehicle" then
local playerPed = PlayerPedId()
local vehicle = ESX.Game.GetVehicleInDirection()
local coords = GetEntityCoords(playerPed)
if IsPedSittingInAnyVehicle(playerPed) then
ESX.ShowNotification(TranslateCap('inside_vehicle'))
return
end
if DoesEntityExist(vehicle) then
isBusy = true
TaskStartScenarioInPlace(playerPed, 'WORLD_HUMAN_WELDING', 0, true)
CreateThread(function()
Wait(10000)
SetVehicleDoorsLocked(vehicle, 1)
SetVehicleDoorsLockedForAllPlayers(vehicle, false)
ClearPedTasksImmediately(playerPed)
ESX.ShowNotification(TranslateCap('vehicle_unlocked'))
isBusy = false
end)
else
ESX.ShowNotification(TranslateCap('no_vehicle_nearby'))
end
elseif element.value == "fix_vehicle" then
local playerPed = PlayerPedId()
local vehicle = ESX.Game.GetVehicleInDirection()
local coords = GetEntityCoords(playerPed)
if IsPedSittingInAnyVehicle(playerPed) then
ESX.ShowNotification(TranslateCap('inside_vehicle'))
return
end
if DoesEntityExist(vehicle) then
isBusy = true
TaskStartScenarioInPlace(playerPed, 'PROP_HUMAN_BUM_BIN', 0, true)
CreateThread(function()
Wait(20000)
SetVehicleFixed(vehicle)
SetVehicleDeformationFixed(vehicle)
SetVehicleUndriveable(vehicle, false)
SetVehicleEngineOn(vehicle, true, true)
ClearPedTasksImmediately(playerPed)
ESX.ShowNotification(TranslateCap('vehicle_repaired'))
isBusy = false
end)
else
ESX.ShowNotification(TranslateCap('no_vehicle_nearby'))
end
elseif element.value == "clean_vehicle" then
local playerPed = PlayerPedId()
local vehicle = ESX.Game.GetVehicleInDirection()
local coords = GetEntityCoords(playerPed)
if IsPedSittingInAnyVehicle(playerPed) then
ESX.ShowNotification(TranslateCap('inside_vehicle'))
return
end
if DoesEntityExist(vehicle) then
isBusy = true
TaskStartScenarioInPlace(playerPed, 'WORLD_HUMAN_MAID_CLEAN', 0, true)
CreateThread(function()
Wait(10000)
SetVehicleDirtLevel(vehicle, 0)
ClearPedTasksImmediately(playerPed)
ESX.ShowNotification(TranslateCap('vehicle_cleaned'))
isBusy = false
end)
else
ESX.ShowNotification(TranslateCap('no_vehicle_nearby'))
end
elseif element.value == "del_vehicle" then
local playerPed = PlayerPedId()
if IsPedSittingInAnyVehicle(playerPed) then
local vehicle = GetVehiclePedIsIn(playerPed, false)
if GetPedInVehicleSeat(vehicle, -1) == playerPed then
ESX.ShowNotification(TranslateCap('vehicle_impounded'))
ESX.Game.DeleteVehicle(vehicle)
else
ESX.ShowNotification(TranslateCap('must_seat_driver'))
end
else
local vehicle = ESX.Game.GetVehicleInDirection()
if DoesEntityExist(vehicle) then
ESX.ShowNotification(TranslateCap('vehicle_impounded'))
ESX.Game.DeleteVehicle(vehicle)
else
ESX.ShowNotification(TranslateCap('must_near'))
end
end
elseif element.value == "dep_vehicle" then
local playerPed = PlayerPedId()
local vehicle = GetVehiclePedIsIn(playerPed, true)
local towmodel = `flatbed`
local isVehicleTow = IsVehicleModel(vehicle, towmodel)
if isVehicleTow then
local targetVehicle = ESX.Game.GetVehicleInDirection()
if CurrentlyTowedVehicle == nil then
if targetVehicle ~= 0 then
if not IsPedInAnyVehicle(playerPed, true) then
if vehicle ~= targetVehicle then
AttachEntityToEntity(targetVehicle, vehicle, 20, -0.5, -5.0, 1.0, 0.0, 0.0, 0.0, false,
false, false, false, 20, true)
CurrentlyTowedVehicle = targetVehicle
ESX.ShowNotification(TranslateCap('vehicle_success_attached'))
if NPCOnJob then
if NPCTargetTowable == targetVehicle then
ESX.ShowNotification(TranslateCap('please_drop_off'))
Config.Zones.VehicleDelivery.Type = 1
if Blips['NPCTargetTowableZone'] then
RemoveBlip(Blips['NPCTargetTowableZone'])
Blips['NPCTargetTowableZone'] = nil
end
Blips['NPCDelivery'] = AddBlipForCoord(Config.Zones.VehicleDelivery.Pos.x,
Config.Zones.VehicleDelivery.Pos.y, Config.Zones.VehicleDelivery.Pos.z)
SetBlipRoute(Blips['NPCDelivery'], true)
end
end
else
ESX.ShowNotification(TranslateCap('cant_attach_own_tt'))
end
end
else
ESX.ShowNotification(TranslateCap('no_veh_att'))
end
else
AttachEntityToEntity(CurrentlyTowedVehicle, vehicle, 20, -0.5, -12.0, 1.0, 0.0, 0.0, 0.0, false,
false, false, false, 20, true)
DetachEntity(CurrentlyTowedVehicle, true, true)
if NPCOnJob then
if NPCTargetDeleterZone then
if CurrentlyTowedVehicle == NPCTargetTowable then
ESX.Game.DeleteVehicle(NPCTargetTowable)
TriggerServerEvent('esx_mechanicjob:onNPCJobMissionCompleted')
StopNPCJob()
NPCTargetDeleterZone = false
else
ESX.ShowNotification(TranslateCap('not_right_veh'))
end
else
ESX.ShowNotification(TranslateCap('not_right_place'))
end
end
CurrentlyTowedVehicle = nil
ESX.ShowNotification(TranslateCap('veh_det_succ'))
end
else
ESX.ShowNotification(TranslateCap('imp_flatbed'))
end
elseif element.value == "object_spawner" then
local playerPed = PlayerPedId()
if IsPedSittingInAnyVehicle(playerPed) then
ESX.ShowNotification(TranslateCap('inside_vehicle'))
return
end
local elements2 = {
{ unselectable = true, icon = "fas fa-object", title = TranslateCap('objects') },
{ icon = "fas fa-object", title = TranslateCap('roadcone'), value = 'prop_roadcone02a' },
{ icon = "fas fa-object", title = TranslateCap('toolbox'), value = 'prop_toolchest_01' }
}
ESX.OpenContext("right", elements2, function(menuObj, elementObj)
local model = elementObj.value
local coords = GetEntityCoords(playerPed)
local forward = GetEntityForwardVector(playerPed)
local x, y, z = table.unpack(coords + forward * 1.0)
if model == 'prop_roadcone02a' then
z = z - 2.0
elseif model == 'prop_toolchest_01' then
z = z - 2.0
end
ESX.Game.SpawnObject(model, { x = x, y = y, z = z }, function(obj)
SetEntityHeading(obj, GetEntityHeading(playerPed))
PlaceObjectOnGroundProperly(obj)
end)
end)
end
end)
end
function OpenGetStocksMenu()
ESX.TriggerServerCallback('esx_mechanicjob:getStockItems', function(items)
local elements = {
{ unselectable = true, icon = "fas fa-box", title = TranslateCap('mechanic_stock') }
}
for i = 1, #items, 1 do
elements[#elements + 1] = {
icon = 'fas fa-box',
title = 'x' .. items[i].count .. ' ' .. items[i].label,
value = items[i].name
}
end
ESX.OpenContext("right", elements, function(menu, element)
local itemName = element.value
local elements2 = {
{ unselectable = true, icon = "fas fa-box", title = element.title },
{ title = "Amount", input = true, inputType = "number", inputMin = 1, inputMax = 100, inputPlaceholder = "Amount to withdraw.." },
{ icon = "fas fa-check-double", title = "Confirm", value = "confirm" }
}
ESX.OpenContext("right", elements2, function(menu2, element2)
local count = tonumber(menu2.eles[2].inputValue)
if count == nil then
ESX.ShowNotification(TranslateCap('invalid_quantity'))
else
ESX.CloseContext()
TriggerServerEvent('esx_mechanicjob:getStockItem', itemName, count)
Wait(1000)
OpenGetStocksMenu()
end
end)
end)
end)
end
function OpenPutStocksMenu()
ESX.TriggerServerCallback('esx_mechanicjob:getPlayerInventory', function(inventory)
local elements = {
{ unselectable = true, icon = "fas fa-box", title = TranslateCap('inventory') }
}
for i = 1, #inventory.items, 1 do
local item = inventory.items[i]
if item.count > 0 then
elements[#elements + 1] = {
icon = 'fas fa-box',
title = item.label .. ' x' .. item.count,
type = 'item_standard',
value = item.name
}
end
end
ESX.OpenContext("right", elements, function(menu, element)
local itemName = element.value
local elements2 = {
{ unselectable = true, icon = "fas fa-box", title = element.title },
{ title = "Amount", input = true, inputType = "number", inputMin = 1, inputMax = 100, inputPlaceholder = "Amount to deposit.." },
{ icon = "fas fa-check-double", title = "Confirm", value = "confirm" }
}
ESX.OpenContext("right", elements2, function(menu2, element2)
local count = tonumber(menu2.eles[2].inputValue)
if count == nil then
ESX.ShowNotification(TranslateCap('invalid_quantity'))
else
ESX.CloseContext()
TriggerServerEvent('esx_mechanicjob:putStockItems', itemName, count)
Wait(1000)
OpenPutStocksMenu()
end
end)
end)
end)
end
RegisterNetEvent('esx_mechanicjob:onHijack')
AddEventHandler('esx_mechanicjob:onHijack', function()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
if IsAnyVehicleNearPoint(coords.x, coords.y, coords.z, 5.0) then
local vehicle
if IsPedInAnyVehicle(playerPed, false) then
vehicle = GetVehiclePedIsIn(playerPed, false)
else
vehicle = ESX.Game.GetClosestVehicle(coords)
end
local chance = math.random(100)
local alarm = math.random(100)
if DoesEntityExist(vehicle) then
if alarm <= 33 then
SetVehicleAlarm(vehicle, true)
StartVehicleAlarm(vehicle)
end
TaskStartScenarioInPlace(playerPed, 'WORLD_HUMAN_WELDING', 0, true)
CreateThread(function()
Wait(10000)
if chance <= 66 then
SetVehicleDoorsLocked(vehicle, 1)
SetVehicleDoorsLockedForAllPlayers(vehicle, false)
ClearPedTasksImmediately(playerPed)
ESX.ShowNotification(TranslateCap('veh_unlocked'))
else
ESX.ShowNotification(TranslateCap('hijack_failed'))
ClearPedTasksImmediately(playerPed)
end
end)
end
end
end)
RegisterNetEvent('esx_mechanicjob:onCarokit')
AddEventHandler('esx_mechanicjob:onCarokit', function()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
if IsAnyVehicleNearPoint(coords.x, coords.y, coords.z, 5.0) then
local vehicle
if IsPedInAnyVehicle(playerPed, false) then
vehicle = GetVehiclePedIsIn(playerPed, false)
else
vehicle = ESX.Game.GetClosestVehicle(coords)
end
if DoesEntityExist(vehicle) then
TaskStartScenarioInPlace(playerPed, 'WORLD_HUMAN_HAMMERING', 0, true)
CreateThread(function()
Wait(10000)
SetVehicleFixed(vehicle)
SetVehicleDeformationFixed(vehicle)
ClearPedTasksImmediately(playerPed)
ESX.ShowNotification(TranslateCap('body_repaired'))
end)
end
end
end)
RegisterNetEvent('esx_mechanicjob:onFixkit')
AddEventHandler('esx_mechanicjob:onFixkit', function()
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
if IsAnyVehicleNearPoint(coords.x, coords.y, coords.z, 5.0) then
local vehicle
if IsPedInAnyVehicle(playerPed, false) then
vehicle = GetVehiclePedIsIn(playerPed, false)
else
vehicle = ESX.Game.GetClosestVehicle(coords)
end
if DoesEntityExist(vehicle) then
TaskStartScenarioInPlace(playerPed, 'PROP_HUMAN_BUM_BIN', 0, true)
CreateThread(function()
Wait(20000)
SetVehicleFixed(vehicle)
SetVehicleDeformationFixed(vehicle)
SetVehicleUndriveable(vehicle, false)
ClearPedTasksImmediately(playerPed)
ESX.ShowNotification(TranslateCap('veh_repaired'))
end)
end
end
end)
RegisterNetEvent('esx:playerLoaded')
AddEventHandler('esx:playerLoaded', function(xPlayer)
ESX.PlayerData = xPlayer
ESX.PlayerLoaded = true
end)
RegisterNetEvent('esx:setJob')
AddEventHandler('esx:setJob', function(job)
ESX.PlayerData.job = job
end)
AddEventHandler('esx_mechanicjob:hasEnteredMarker', function(zone)
if zone == 'NPCJobTargetTowable' then
elseif zone == 'VehicleDelivery' then
NPCTargetDeleterZone = true
elseif zone == 'MechanicActions' then
CurrentAction = 'mechanic_actions_menu'
CurrentActionMsg = TranslateCap('open_actions')
CurrentActionData = {}
elseif zone == 'Garage' then
CurrentAction = 'mechanic_harvest_menu'
CurrentActionMsg = TranslateCap('harvest_menu')
CurrentActionData = {}
elseif zone == 'Craft' then
CurrentAction = 'mechanic_craft_menu'
CurrentActionMsg = TranslateCap('craft_menu')
CurrentActionData = {}
elseif zone == 'VehicleDeleter' then
local playerPed = PlayerPedId()
if IsPedInAnyVehicle(playerPed, false) then
local vehicle = GetVehiclePedIsIn(playerPed, false)
CurrentAction = 'delete_vehicle'
CurrentActionMsg = TranslateCap('veh_stored')
CurrentActionData = { vehicle = vehicle }
end
end
if zone ~= 'VehicleSpawnPoint' then
ESX.TextUI(CurrentActionMsg)
end
end)
AddEventHandler('esx_mechanicjob:hasExitedMarker', function(zone)
if zone == 'VehicleDelivery' then
NPCTargetDeleterZone = false
elseif zone == 'Craft' then
TriggerServerEvent('esx_mechanicjob:stopCraft')
TriggerServerEvent('esx_mechanicjob:stopCraft2')
TriggerServerEvent('esx_mechanicjob:stopCraft3')
elseif zone == 'Garage' then
TriggerServerEvent('esx_mechanicjob:stopHarvest')
TriggerServerEvent('esx_mechanicjob:stopHarvest2')
TriggerServerEvent('esx_mechanicjob:stopHarvest3')
end
CurrentAction = nil
ESX.CloseContext()
ESX.HideUI()
end)
AddEventHandler('esx_mechanicjob:hasEnteredEntityZone', function(entity)
local playerPed = PlayerPedId()
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic' and not IsPedInAnyVehicle(playerPed, false) then
CurrentAction = 'remove_entity'
CurrentActionMsg = TranslateCap('press_remove_obj')
CurrentActionData = { entity = entity }
ESX.TextUI(CurrentActionMsg)
end
end)
AddEventHandler('esx_mechanicjob:hasExitedEntityZone', function(entity)
if CurrentAction == 'remove_entity' then
CurrentAction = nil
end
ESX.HideUI()
end)
RegisterNetEvent('esx_phone:loaded')
AddEventHandler('esx_phone:loaded', function(phoneNumber, contacts)
local specialContact = {
name = TranslateCap('mechanic'),
number = 'mechanic',
base64Icon =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEwAACxMBAJqcGAAAA4BJREFUWIXtll9oU3cUx7/nJA02aSSlFouWMnXVB0ejU3wcRteHjv1puoc9rA978cUi2IqgRYWIZkMwrahUGfgkFMEZUdg6C+u21z1o3fbgqigVi7NzUtNcmsac40Npltz7S3rvUHzxQODec87vfD+/e0/O/QFv7Q0beV3QeXqmgV74/7H7fZJvuLwv8q/Xeux1gUrNBpN/nmtavdaqDqBK8VT2RDyV2VHmF1lvLERSBtCVynzYmcp+A9WqT9kcVKX4gHUehF0CEVY+1jYTTIwvt7YSIQnCTvsSUYz6gX5uDt7MP7KOKuQAgxmqQ+neUA+I1B1AiXi5X6ZAvKrabirmVYFwAMRT2RMg7F9SyKspvk73hfrtbkMPyIhA5FVqi0iBiEZMMQdAui/8E4GPv0oAJkpc6Q3+6goAAGpWBxNQmTLFmgL3jSJNgQdGv4pMts2EKm7ICJB/aG0xNdz74VEk13UYCx1/twPR8JjDT8wttyLZtkoAxSb8ZDCz0gdfKxWkFURf2v9qTYH7SK7rQIDn0P3nA0ehixvfwZwE0X9vBE/mW8piohhl1WH18UQBhYnre8N/L8b8xQvlx4ACbB4NnzaeRYDnKm0EALCMLXy84hwuTCXL/ExoB1E7qcK/8NCLIq5HcTT0i6u8TYbXUM1cAyyveVq8Xls7XhYrvY/4n3gC8C+dsmAzL1YUiyfWxvHzsy/w/dNd+KjhW2yvv/RfXr7x9QDcmo1he2RBiCCI1Q8jVj9szPNixVfgz+UiIGyDSrcoRu2J16d3I6e1VYvNSQjXpnucAcEPUOkGYZs/l4uUhowt/3kqu1UIv9n90fAY9jT3YBlbRvFTD4fw++wHjhiTRL/bG75t0jI2ITcHb5om4Xgmhv57xpGOg3d/NIqryOR7z+r+MC6qBJB/ZB2t9Om1D5lFm843G/3E3HI7Yh1xDRAfzLQr5EClBf/HBHK462TG2J0OABXeyWDPZ8VqxmBWYscpyghwtTd4EKpDTjCZdCNmzFM9k+4LHXIFACJN94Z6FiFEpKDQw9HndWsEuhnADVMhAUaYJBp9XrcGQKJ4qFE9k+6r2+MG3k5N8VQ22TVglbX2ZwOzX2VvNKr91zmY6S7N6zqZicVT2WNLyVSehESaBhxnOALfMeYX+K/S2yv7wmMAlvwyuR7FxQUyf0fgc/jztfkJr7XeGgC8BJJgWNV8ImT+AAAAAElFTkSuQmCC'
}
TriggerEvent('esx_phone:addSpecialContact', specialContact.name, specialContact.number, specialContact.base64Icon)
end)
-- Pop NPC mission vehicle when inside area
CreateThread(function()
while true do
local Sleep = 1500
if NPCTargetTowableZone and not NPCHasSpawnedTowable then
Sleep = 0
local coords = GetEntityCoords(PlayerPedId())
local zone = Config.Zones[NPCTargetTowableZone]
if #(coords - zone.Pos) < Config.NPCSpawnDistance then
local model = Config.Vehicles[GetRandomIntInRange(1, #Config.Vehicles)]
ESX.Game.SpawnVehicle(model, zone.Pos, 0, function(vehicle)
NPCTargetTowable = vehicle
end)
NPCHasSpawnedTowable = true
end
end
if NPCTargetTowableZone and NPCHasSpawnedTowable and not NPCHasBeenNextToTowable then
Sleep = 500
local coords = GetEntityCoords(PlayerPedId())
local zone = Config.Zones[NPCTargetTowableZone]
if #(coords - zone.Pos) < Config.NPCNextToDistance then
Sleep = 0
ESX.ShowNotification(TranslateCap('please_tow'))
NPCHasBeenNextToTowable = true
end
end
Wait(Sleep)
end
end)
-- Create Blips
CreateThread(function()
local blip = AddBlipForCoord(Config.Zones.MechanicActions.Pos.x, Config.Zones.MechanicActions.Pos.y,
Config.Zones.MechanicActions.Pos.z)
SetBlipSprite(blip, 446)
SetBlipDisplay(blip, 4)
SetBlipScale(blip, 1.0)
SetBlipColour(blip, 5)
SetBlipAsShortRange(blip, true)
BeginTextCommandSetBlipName('STRING')
AddTextComponentSubstringPlayerName(TranslateCap('mechanic'))
EndTextCommandSetBlipName(blip)
end)
-- Display markers
CreateThread(function()
while true do
local Sleep = 2000
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic' then
Sleep = 500
local coords, letSleep = GetEntityCoords(PlayerPedId()), true
for k, v in pairs(Config.Zones) do
if v.Type ~= -1 and #(coords - v.Pos) < Config.DrawDistance then
Sleep = 0
DrawMarker(v.Type, v.Pos.x, v.Pos.y, v.Pos.z, 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, true, true, 2, true, nil, nil, false)
letSleep = false
end
end
end
Wait(Sleep)
end
end)
-- Enter / Exit marker events
CreateThread(function()
while true do
local Sleep = 500
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic' then
local coords = GetEntityCoords(PlayerPedId())
local isInMarker = false
local currentZone = nil
for k, v in pairs(Config.Zones) do
if (#(coords - v.Pos) < v.Size.x) then
Sleep = 0
isInMarker = true
currentZone = k
end
end
if (isInMarker and not HasAlreadyEnteredMarker) or (isInMarker and LastZone ~= currentZone) then
HasAlreadyEnteredMarker = true
LastZone = currentZone
TriggerEvent('esx_mechanicjob:hasEnteredMarker', currentZone)
end
if not isInMarker and HasAlreadyEnteredMarker then
HasAlreadyEnteredMarker = false
TriggerEvent('esx_mechanicjob:hasExitedMarker', LastZone)
end
end
Wait(Sleep)
end
end)
CreateThread(function()
local trackedEntities = {
'prop_roadcone02a',
'prop_toolchest_01'
}
while true do
Wait(500)
local playerPed = PlayerPedId()
local coords = GetEntityCoords(playerPed)
local closestDistance = -1
local closestEntity = nil
for i = 1, #trackedEntities, 1 do
local object = GetClosestObjectOfType(coords, 3.0, joaat(trackedEntities[i]), false, false, false)
if DoesEntityExist(object) then
local objCoords = GetEntityCoords(object)
local distance = #(coords - objCoords)
if closestDistance == -1 or closestDistance > distance then
closestDistance = distance
closestEntity = object
end
end
end
if closestDistance ~= -1 and closestDistance <= 3.0 then
if LastEntity ~= closestEntity then
TriggerEvent('esx_mechanicjob:hasEnteredEntityZone', closestEntity)
LastEntity = closestEntity
end
else
if LastEntity then
TriggerEvent('esx_mechanicjob:hasExitedEntityZone', LastEntity)
LastEntity = nil
end
end
end
end)
-- Key Controls
CreateThread(function()
while true do
local sleep = 500
if CurrentAction then
sleep = 0
if IsControlJustReleased(0, 38) and ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic' then
if CurrentAction == 'mechanic_actions_menu' then
OpenMechanicActionsMenu()
elseif CurrentAction == 'mechanic_harvest_menu' then
OpenMechanicHarvestMenu()
elseif CurrentAction == 'mechanic_craft_menu' then
OpenMechanicCraftMenu()
elseif CurrentAction == 'delete_vehicle' then
if Config.EnableSocietyOwnedVehicles then
local vehicleProps = ESX.Game.GetVehicleProperties(CurrentActionData.vehicle)
TriggerServerEvent('esx_society:putVehicleInGarage', 'mechanic', vehicleProps)
else
local entityModel = GetEntityModel(CurrentActionData.vehicle)
if entityModel == `flatbed` or entityModel == `towtruck2` or entityModel == `slamvan3` then
TriggerServerEvent('esx_service:disableService', 'mechanic')
end
end
ESX.Game.DeleteVehicle(CurrentActionData.vehicle)
elseif CurrentAction == 'remove_entity' then
DeleteEntity(CurrentActionData.entity)
end
CurrentAction = nil
end
end
Wait(sleep)
end
end)
RegisterCommand('mechanicMenu', function()
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic' then
OpenMobileMechanicActionsMenu()
end
end, false)
RegisterCommand('mechanicjob', function()
local playerPed = PlayerPedId()
if ESX.PlayerData.job and ESX.PlayerData.job.name == 'mechanic' then
if NPCOnJob then
if GetGameTimer() - NPCLastCancel > 5 * 60000 then
StopNPCJob(true)
NPCLastCancel = GetGameTimer()
else
ESX.ShowNotification(TranslateCap('wait_five'), "error")
end
else
if IsPedInAnyVehicle(playerPed, false) and IsVehicleModel(GetVehiclePedIsIn(playerPed, false), `flatbed`) then
StartNPCJob()
else
ESX.ShowNotification(TranslateCap('must_in_flatbed'), "error")
end
end
end
end, false)
RegisterKeyMapping('mechanicMenu', 'Open Mechanic Menu', 'keyboard', Config.Controls.mechanicMenu)
RegisterKeyMapping('mechanicjob', 'Togggle NPC Job', 'keyboard', Config.Controls.toggleNPCJob)
AddEventHandler('esx:onPlayerDeath', function(data) isDead = true end)
AddEventHandler('esx:onPlayerSpawn', function(spawn) isDead = false end)

View File

@@ -0,0 +1,124 @@
Config = {}
Config.Locale = GetConvar('esx:locale', 'en')
Config.Controls = {
mechanicMenu = "F6",
toggleNPCJob = "F7"
}
Config.DrawDistance = 10.0 -- How close you need to be in order for the markers to be drawn (in GTA units).
Config.MaxInService = -1
Config.EnablePlayerManagement = true -- Enable society managing.
Config.EnableSocietyOwnedVehicles = false
Config.NPCSpawnDistance = 500.0
Config.NPCNextToDistance = 25.0
Config.NPCJobEarnings = { min = 15, max = 40 }
Config.OxInventory = ESX.GetConfig().OxInventory
Config.Vehicles = {
'adder',
'asea',
'asterope',
'banshee',
'buffalo',
'sultan',
'baller3'
}
Config.Zones = {
MechanicActions = {
Pos = vector3(-342.291, -133.370, 39.009 ),
Size = { x = 1.0, y = 1.0, z = 1.0 },
Color = { r = 50, g = 200, b = 50 },
Type = 21
},
Garage = {
Pos = vector3(-97.5, 6496.1, 31.4 ),
Size = { x = 1.0, y = 1.0, z = 1.0 },
Color = { r = 50, g = 200, b = 50 },
Type = 21
},
Craft = {
Pos = vector3( -323.140, -129.882, 38.999 ),
Size = { x = 1.0, y = 1.0, z = 1.0 },
Color = { r = 50, g = 200, b = 50 },
Type = 21
},
VehicleSpawnPoint = {
Pos = vector3(-366.354, -110.766, 37.696 ),
Size = { x = 1.5, y = 1.5, z = 1.0 },
Type = -1
},
VehicleDeleter = {
Pos = vector3(-386.899, -105.675, 37.683 ),
Size = { x = 3.0, y = 3.0, z = 1.0 },
Color = { r = 204, g = 204, b = 0 },
Type = 1
},
VehicleDelivery = {
Pos = vector3(-382.925, -133.748, 37.685 ),
Size = { x = 20.0, y = 20.0, z = 3.0 },
Color = { r = 204, g = 204, b = 0 },
Type = -1
}
}
Config.Towables = {
vector3(-2480.9, -212.0, 17.4),
vector3(-2723.4, 13.2, 15.1),
vector3(-3169.6, 976.2, 15.0),
vector3(-3139.8, 1078.7, 20.2),
vector3(-1656.9, -246.2, 54.5),
vector3(-1586.7, -647.6, 29.4),
vector3(-1036.1, -491.1, 36.2),
vector3(-1029.2, -475.5, 36.4),
vector3(75.2, 164.9, 104.7),
vector3(-534.6, -756.7, 31.6),
vector3(487.2, -30.8, 88.9),
vector3(-772.2, -1281.8, 4.6),
vector3(-663.8, -1207.0, 10.2),
vector3(719.1, -767.8, 24.9),
vector3(-971.0, -2410.4, 13.3),
vector3(-1067.5, -2571.4, 13.2),
vector3(-619.2, -2207.3, 5.6),
vector3(1192.1, -1336.9, 35.1),
vector3(-432.8, -2166.1, 9.9),
vector3(-451.8, -2269.3, 7.2),
vector3(939.3, -2197.5, 30.5),
vector3(-556.1, -1794.7, 22.0),
vector3(591.7, -2628.2, 5.6),
vector3(1654.5, -2535.8, 74.5),
vector3(1642.6, -2413.3, 93.1),
vector3(1371.3, -2549.5, 47.6),
vector3(383.8, -1652.9, 37.3),
vector3(27.2, -1030.9, 29.4),
vector3(229.3, -365.9, 43.8),
vector3(-85.8, -51.7, 61.1),
vector3(-4.6, -670.3, 31.9),
vector3(-111.9, 92.0, 71.1),
vector3(-314.3, -698.2, 32.5),
vector3(-366.9, 115.5, 65.6),
vector3(-592.1, 138.2, 60.1),
vector3(-1613.9, 18.8, 61.8),
vector3(-1709.8, 55.1, 65.7),
vector3(-521.9, -266.8, 34.9),
vector3(-451.1, -333.5, 34.0),
vector3(322.4, -1900.5, 25.8)
}
for k,v in ipairs(Config.Towables) do
Config.Zones['Towable' .. k] = {
Pos = v,
Size = { x = 1.5, y = 1.5, z = 1.0 },
Color = { r = 204, g = 204, b = 0 },
Type = -1
}
end

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Mechanic', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Mechanic', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Mechanic', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Mechanic')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Recrue',12,'{}','{}'),
('mechanic',1,'novice','Novice',24,'{}','{}'),
('mechanic',2,'experimente','Experimente',36,'{}','{}'),
('mechanic',3,'chief',"Chef d\'équipe",48,'{}','{}'),
('mechanic',4,'boss','Patron',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'bouteille de gaz', 2),
('fixtool', 'outils réparation', 2),
('carotool', 'outils carosserie', 2),
('blowpipe', 'Chalumeaux', 2),
('fixkit', 'Kit réparation', 3),
('carokit', 'Kit carosserie', 3)
;

View File

@@ -0,0 +1,30 @@
fx_version 'adamant'
game 'gta5'
description 'Allows players to RP as a mechanic (repair and modify vehicles)'
lua54 'yes'
version '1.0'
legacyversion '1.13.4'
shared_script '@es_extended/imports.lua'
client_scripts {
'@es_extended/locale.lua',
'locales/*.lua',
'config.lua',
'client/main.lua'
}
server_scripts {
'@es_extended/locale.lua',
'locales/*.lua',
'config.lua',
'server/main.lua'
}
dependencies {
'es_extended',
'esx_society',
'esx_billing'
}

View File

@@ -0,0 +1,86 @@
Locales['de'] = {
['mechanic'] = 'Mechaniker',
['drive_to_indicated'] = 'Fahre zum Makierten Standort',
['mission_canceled'] = 'Mission abgebrochen',
['vehicle_list'] = 'Fahrzeug Liste',
['work_wear'] = 'Arbeitskleidung',
['civ_wear'] = 'Zivilisten Kleidung',
['deposit_stock'] = 'Item einlagern',
['withdraw_stock'] = 'Item auslagern',
['boss_actions'] = 'Boss Aktionen',
['service_vehicle'] = 'Service Fahrzeug',
['flat_bed'] = 'Pritsche',
['tow_truck'] = 'Abschleppwagen',
['service_full'] = 'Service Voll: ',
['open_actions'] = 'Drücke [E] um auf das Menü zuzugreifen.',
['harvest'] = 'Ernten',
['harvest_menu'] = 'Drücke [E] um das Ernte Menü zu öffnen.',
['not_experienced_enough'] = 'Du bist zu unerfahren um dass zu machen!.',
['gas_can'] = 'Benzinkanister',
['repair_tools'] = 'Reparier Tools',
['body_work_tools'] = 'bodywork Tools',
['blowtorch'] = 'Zündkerze',
['repair_kit'] = 'Werkzeugkasten',
['body_kit'] = 'Fahrzeugkit',
['craft'] = 'Craften',
['craft_menu'] = 'Drücke [E] um das Crafting Menü zu öffnen.',
['billing'] = 'Rechnung',
['hijack'] = 'Aufbrechen',
['repair'] = 'Reparieren',
['clean'] = 'Sauber machen',
['imp_veh'] = 'Abschleppen',
['place_objects'] = 'Objekt Platzieren',
['invoice_amount'] = 'Rechnungsanzahl',
['amount_invalid'] = 'Ungültige Anzahl',
['no_players_nearby'] = 'Es gibt keine Person in der Nähe',
['no_vehicle_nearby'] = 'Es gibt kein Fahrzeug in der Nähe',
['inside_vehicle'] = 'Du kannst das nicht außerhalb eines Fahrzeugs tun!',
['vehicle_unlocked'] = 'Das Fahrzeug wurde aufgebrochen',
['vehicle_repaired'] = 'Das Fahrzeug wurde repariert',
['vehicle_cleaned'] = 'Das Fahrzeug wurde sauber gemacht',
['vehicle_impounded'] = 'Das Fahrzeug wurde abgeschleppt',
['must_seat_driver'] = 'Du musst auf dem Fahrersitz sein!',
['must_near'] = 'Du musst in der nähe eines Fahrzeugs sein, um es abzuschleppen',
['vehicle_success_attached'] = 'Fahrzeug erfolgreich aufgeladen',
['please_drop_off'] = 'Bitte lade das Fahrzeug an der Garage ab!',
['cant_attach_own_tt'] = 'Du kannst deinen eigenen Abschleppwagen nicht abschleppen!',
['no_veh_att'] = 'Es gibt kein Fahrzeug was abgeschleppt werden kann!',
['not_right_veh'] = 'Dies ist nicht das richtige Fahrzeug',
['not_right_place'] = 'Dies ist nicht die richtige Position',
['veh_det_succ'] = 'Fahrzeug erfolgreich abgeladen!',
['imp_flatbed'] = 'Aktion unmöglich! Du benötigst einen Abschleppwagen um das zu tun!',
['objects'] = 'Objekte',
['roadcone'] = 'Leitkegel',
['toolbox'] = 'Werkzeugkasten',
['mechanic_stock'] = 'Mechanikerlager',
['quantity'] = 'Anzahl',
['invalid_quantity'] = 'Ungültige Anzahl',
['inventory'] = 'Inventar',
['veh_unlocked'] = 'Fahrzeug aufgebrochen',
['hijack_failed'] = 'Aufbrechen fehlgeschlagen',
['body_repaired'] = 'Körper repariert',
['veh_repaired'] = 'Fahrzeug repariert',
['veh_stored'] = 'Drücke [E] um das Fahrzeug einzuparken.',
['press_remove_obj'] = 'Drücke [E] um das Objekt zu entfernen',
['please_tow'] = 'Bitte Schlepp das Fahrzeug ab',
['wait_five'] = 'Du musst 5 Minuten warten',
['must_in_flatbed'] = 'Du musst dafür in einem Abschleppwagen sitzen',
['mechanic_customer'] = 'Mechaniker Kunde',
['you_do_not_room'] = 'Du hast nicht genügend Platz',
['recovery_gas_can'] = 'Benzin Kanister wird abgerufen...',
['recovery_repair_tools'] = 'Reparierungstools werden abgerufen...',
['recovery_body_tools'] = 'Body Tools Abruf...',
['not_enough_gas_can'] = 'Du hast nicht genügend Benzinkanister.',
['assembling_blowtorch'] = 'Schweißbrenner wird angebracht...',
['not_enough_repair_tools'] = 'Du hast nicht genug Reparierungstools.',
['assembling_repair_kit'] = 'Zusammenbau des Reparatursatzes...',
['not_enough_body_tools'] = 'Du haben nicht genügend Bodytools.',
['assembling_body_kit'] = 'Zusammenbau des Bodykits...',
['your_comp_earned'] = 'Deine Firma verdient €',
['you_used_blowtorch'] = 'Du nutzt einen Schweißbrenner',
['you_used_repair_kit'] = 'Du nutzt ein Reparierungskit',
['you_used_body_kit'] = 'Du nutzt ein Body Kit',
['have_withdrawn'] = 'Du zahlst aus x%s %s',
['have_deposited'] = 'Du zahlst ein x%s %s',
['player_cannot_hold'] = 'Du hast nicht genügend freien Platz im Inventar!',
}

View File

@@ -0,0 +1,86 @@
Locales['en'] = {
['mechanic'] = 'mechanic',
['drive_to_indicated'] = 'Drive to the indicated location.',
['mission_canceled'] = 'Mission canceled',
['vehicle_list'] = 'vehicle List',
['work_wear'] = 'workwear',
['civ_wear'] = 'civilian clothes',
['deposit_stock'] = 'deposit Stock',
['withdraw_stock'] = 'withdraw Stock',
['boss_actions'] = 'boss Actions',
['service_vehicle'] = 'service Vehicle',
['flat_bed'] = 'flatbed',
['tow_truck'] = 'tow Truck',
['service_full'] = 'service full: ',
['open_actions'] = 'Press [E] to access the menu.',
['harvest'] = 'harvest',
['harvest_menu'] = 'press [E] to access the harvest menu.',
['not_experienced_enough'] = 'you are not experienced enough to perform this action.',
['gas_can'] = 'gas Can',
['repair_tools'] = 'repair Tools',
['body_work_tools'] = 'bodywork Tools',
['blowtorch'] = 'blowtorch',
['repair_kit'] = 'repair Kit',
['body_kit'] = 'body Kit',
['craft'] = 'craft',
['craft_menu'] = 'press [E] to access the crafting menu.',
['billing'] = 'billing',
['hijack'] = 'hijack',
['repair'] = 'repair',
['clean'] = 'clean',
['imp_veh'] = 'impound',
['place_objects'] = 'place Objects',
['invoice_amount'] = 'invoice Amount',
['amount_invalid'] = 'invalid amount',
['no_players_nearby'] = 'there is no nearby player',
['no_vehicle_nearby'] = 'there is no nearby vehicle',
['inside_vehicle'] = 'you can\'t do this from inside the vehicle!',
['vehicle_unlocked'] = 'the vehicle has been unlocked',
['vehicle_repaired'] = 'the vehicle has been repaired',
['vehicle_cleaned'] = 'the vehicle has been cleaned',
['vehicle_impounded'] = 'the vehicle has been impounded',
['must_seat_driver'] = 'you must be in the driver seat!',
['must_near'] = 'you must be near a vehicle to impound it.',
['vehicle_success_attached'] = 'vehicle successfully attached',
['please_drop_off'] = 'please drop off the vehicle at the garage',
['cant_attach_own_tt'] = 'you can\'t attach own tow truck',
['no_veh_att'] = 'there is no vehicle to be attached',
['not_right_veh'] = 'this is not the right vehicle',
['not_right_place'] = 'this is not the right place',
['veh_det_succ'] = 'vehicle successfully dettached!',
['imp_flatbed'] = 'Action impossible! You need a Flatbed to load a vehicle',
['objects'] = 'objects',
['roadcone'] = 'roadcone',
['toolbox'] = 'toolbox',
['mechanic_stock'] = 'mechanic Stock',
['quantity'] = 'quantity',
['invalid_quantity'] = 'invalid quantity',
['inventory'] = 'inventory',
['veh_unlocked'] = 'Vehicle Unlocked',
['hijack_failed'] = 'Hijack Failed',
['body_repaired'] = 'Body repaired',
['veh_repaired'] = 'Vehicle Repaired',
['veh_stored'] = 'press [E] to store the vehicle.',
['press_remove_obj'] = 'press [E] to remove the object',
['please_tow'] = 'please tow the vehicle',
['wait_five'] = 'you must wait 5 minutes',
['must_in_flatbed'] = 'you must be in a flatbed to being the mission',
['mechanic_customer'] = 'mechanic Customer',
['you_do_not_room'] = 'You do not have more room',
['recovery_gas_can'] = 'Gas Can Retrieval...',
['recovery_repair_tools'] = 'Repair Tools Retrieval...',
['recovery_body_tools'] = 'Body Tools Retrieval...',
['not_enough_gas_can'] = 'You do not have enough gas cans.',
['assembling_blowtorch'] = 'Assembling Blowtorch...',
['not_enough_repair_tools'] = 'You do not have enough repair tools.',
['assembling_repair_kit'] = 'Assembling Repair Kit...',
['not_enough_body_tools'] = 'You do not have enough body tools.',
['assembling_body_kit'] = 'Assembling Body Kit...',
['your_comp_earned'] = 'your company has earned $',
['you_used_blowtorch'] = 'you used a blowtorch',
['you_used_repair_kit'] = 'you used a Repair Kit',
['you_used_body_kit'] = 'you used a Body Kit',
['have_withdrawn'] = 'you have withdrawn x%s %s',
['have_deposited'] = 'you have deposited x%s %s',
['player_cannot_hold'] = 'you do not have enough free space in your inventory!',
}

View File

@@ -0,0 +1,86 @@
Locales['es'] = {
['mechanic'] = 'Mecánico',
['drive_to_indicated'] = 'Conduce a la ubicación indicada.',
['mission_canceled'] = 'Misión cancelada',
['vehicle_list'] = 'Lista de vehículos',
['work_wear'] = 'Ropa de trabajo',
['civ_wear'] = 'Ropa de civil',
['deposit_stock'] = 'Depositar stock',
['withdraw_stock'] = 'Retirar stock',
['boss_actions'] = 'Acciones del jefe',
['service_vehicle'] = 'Vehículo de servicio',
['flat_bed'] = 'Plataforma',
['tow_truck'] = 'Camión de remolque',
['service_full'] = 'Servicio completo: ',
['open_actions'] = 'Presiona [E] para acceder al menú.',
['harvest'] = 'Cosecha',
['harvest_menu'] = 'Presiona [E] para acceder al menú de cosecha.',
['not_experienced_enough'] = 'Usted no está lo suficientemente experimentado para realizar esta acción.',
['gas_can'] = 'Lata de gas',
['repair_tools'] = 'Herramientas para reparar',
['body_work_tools'] = 'Herramientas de carrocería',
['blowtorch'] = 'Soplete',
['repair_kit'] = 'kit de reparación',
['body_kit'] = 'kit de carrocería',
['craft'] = 'Fabricar',
['craft_menu'] = 'Presiona [E] para acceder al menú de crafteo.',
['billing'] = 'Facturación',
['hijack'] = 'Forzar',
['repair'] = 'Reparar',
['clean'] = 'Limpiar',
['imp_veh'] = 'Incautar',
['place_objects'] = 'Colocar objetos',
['invoice_amount'] = 'Cantidad de factura',
['amount_invalid'] = 'Cantidad Inválida',
['no_players_nearby'] = 'No hay un jugador/a cercano',
['no_vehicle_nearby'] = 'No hay ningún vehículo cercano',
['inside_vehicle'] = '¡No puedes hacer esto desde el interior del vehículo!',
['vehicle_unlocked'] = 'El vehículo ha sido desbloqueado',
['vehicle_repaired'] = 'El vehículo ha sido reparado',
['vehicle_cleaned'] = 'El vehículo ha sido limpiado',
['vehicle_impounded'] = 'El vehículo ha sido incautado',
['must_seat_driver'] = '¡Debes estar en el asiento del conductor!',
['must_near'] = 'Usted debe estar cerca de un vehículo incautarlo.',
['vehicle_success_attached'] = 'Vehículo con éxito adjuntado',
['please_drop_off'] = 'Por favor, deje el vehículo en el garaje',
['cant_attach_own_tt'] = 'No puedes adjuntar su propia grúa',
['no_veh_att'] = 'No hay vehículo que se adjunte',
['not_right_veh'] = 'Este no es el vehículo correcto',
['not_right_place'] = 'Este no es el lugar correcto',
['veh_det_succ'] = 'Vehículo con éxito separado!',
['imp_flatbed'] = '¡Acción imposible! Necesitas una Cama plana para cargar un vehículo',
['objects'] = 'Objetos',
['roadcone'] = 'Cono',
['toolbox'] = 'Caja de herramientas',
['mechanic_stock'] = 'Stock mecánico',
['quantity'] = 'Cantidad',
['invalid_quantity'] = 'Cantidad inválida',
['inventory'] = 'Inventario',
['veh_unlocked'] = 'Vehículo desbloqueado',
['hijack_failed'] = 'Secuestro fallido',
['body_repaired'] = 'Carrocería reparado',
['veh_repaired'] = 'Vehículo reparado',
['veh_stored'] = 'Presiona [E] para almacenar el vehículo.',
['press_remove_obj'] = 'Presiona [E] para quitar el objeto',
['please_tow'] = 'Por favor remolca el vehículo',
['wait_five'] = 'Debes esperar 5 minutos',
['must_in_flatbed'] = 'Debes estar en una plataforma para ser la misión',
['mechanic_customer'] = 'Cliente mecánico',
['you_do_not_room'] = 'No tienes mas espacio',
['recovery_gas_can'] = 'Lata de gas Recuperando...',
['recovery_repair_tools'] = 'Herramientas para reparar Recuperando...',
['recovery_body_tools'] = 'Herramientas de carrocería Recuperando...',
['not_enough_gas_can'] = 'No tienes suficiente latas de gas.',
['assembling_blowtorch'] = 'Montando Soplete...',
['not_enough_repair_tools'] = 'No tienes suficiente herramientas para reparar.',
['assembling_repair_kit'] = 'Montando Kit de reparación...',
['not_enough_body_tools'] = 'No tienes suficiente herramientas de carrocería.',
['assembling_body_kit'] = 'Montando Kit de carrocería...',
['your_comp_earned'] = 'Tu empresa ha ganado $',
['you_used_blowtorch'] = 'Usaste un soplete',
['you_used_repair_kit'] = 'Usaste un Kit de reparación',
['you_used_body_kit'] = 'Usaste un Kit de carrocería',
['have_withdrawn'] = 'Has retirado x%s %s',
['have_deposited'] = 'Has depositado x%s %s',
['player_cannot_hold'] = 'Tu no tienes suficiente espacio suficiente en tu inventario!',
}

View File

@@ -0,0 +1,85 @@
Locales['fi'] = {
['mechanic'] = 'mekaanikko',
['drive_to_indicated'] = 'Aja merkattuun pisteeseen.',
['mission_canceled'] = 'tehtävä ~r~peruutettu',
['vehicle_list'] = 'ajoneuvo lista',
['work_wear'] = 'työvaatteet',
['civ_wear'] = 'siviilivaatteet',
['deposit_stock'] = 'talleta varastoon',
['withdraw_stock'] = 'ota varastosta',
['boss_actions'] = 'pomo toiminnot',
['service_vehicle'] = 'huoltoajoneuvo',
['flat_bed'] = 'flatbed',
['tow_truck'] = 'hinausajoneuvo',
['service_full'] = 'työntekijöitä tarpeeksi: ',
['open_actions'] = 'paina [E] avataksesi menun.',
['harvest'] = 'kerää',
['harvest_menu'] = 'paina [E] avataksesi keräys menun.',
['not_experienced_enough'] = 'et ole ~r~tarpeeksi koulutettu että voit tehdä tätä.',
['gas_can'] = 'kaasupullo',
['repair_tools'] = 'korjaustyökalut',
['body_work_tools'] = 'korin korjaustyökalut',
['blowtorch'] = 'polttoleikkuri',
['repair_kit'] = 'korjauskitti',
['body_kit'] = 'korikitti',
['craft'] = 'valmista',
['craft_menu'] = 'paina [E] avataksesi valmistus menu',
['billing'] = 'laskutus',
['hijack'] = 'avaa lukot',
['repair'] = 'korjaa',
['clean'] = 'pese',
['imp_veh'] = 'takavarikoi',
['place_objects'] = 'aseta objekteja',
['invoice_amount'] = 'laskun summa',
['amount_invalid'] = 'virheellinen summa',
['no_players_nearby'] = 'ei pelaajia lähettyvillä',
['no_vehicle_nearby'] = 'there is no nearby vehicle',
['inside_vehicle'] = 'you can\'t do this from inside the vehicle!',
['vehicle_unlocked'] = 'ajoneuvo Avattu',
['vehicle_repaired'] = 'ajoneuvo Korjattu',
['vehicle_cleaned'] = 'ajoneuvo pesty',
['vehicle_impounded'] = 'ajoneuvo ~r~Takavarikoitu',
['must_seat_driver'] = 'sinun pitää olla ~r~kuskin paikalla',
['must_near'] = 'sinun pitää olla ~r~ajoneuvon lähellä että voit takavarikoida.',
['vehicle_success_attached'] = 'ajoneuvo onnistuneesti kytketty!.',
['please_drop_off'] = 'vie ajoneuvo korjauspajan pihalle, kiitos.',
['cant_attach_own_tt'] = '~r~Et voi kytkeä omaa hinausautoa',
['no_veh_att'] = 'täällä ei ole ~r~ajoneuvoa jota kytkeä',
['not_right_veh'] = 'tämä ei ole oikea ajoneuvo',
['veh_det_succ'] = 'ajoneuvo onnistuunesti irroitettu!',
['imp_flatbed'] = '~r~Toiminto mahdoton! Sinulla pitää olla Flatbed tähän.',
['objects'] = 'objektit',
['roadcone'] = 'kartio',
['toolbox'] = 'työkalupakki',
['mechanic_stock'] = 'mekaanikon varasto',
['quantity'] = 'määrä',
['invalid_quantity'] = 'virheellinen summa',
['inventory'] = 'reppu',
['veh_unlocked'] = 'Ajoneuvo avattu',
['hijack_failed'] = '~r~Tiirikointi epäonnistu',
['body_repaired'] = 'Kori korjattu',
['veh_repaired'] = 'Ajoneuvo korjattu',
['veh_stored'] = 'paina [E] laittaaksesi auto talliin.',
['press_remove_obj'] = 'paina [E] poistaaksesi objekti',
['please_tow'] = 'voisitko hinata ajoneuvon, kiitos',
['wait_five'] = 'sinun pitää ~r~odottaa 5 minuuttia',
['must_in_flatbed'] = 'sinun pitää olla flatbedin kyydissä aloitaaksesi.',
['mechanic_customer'] = 'mekaanikon Asiakas',
['you_do_not_room'] = '~r~Sinulla ei ole enempää tilaa',
['recovery_gas_can'] = 'Kaasupullon täyttö menossa...',
['recovery_repair_tools'] = 'Korjaustyökalujen kerääminen menossa...',
['recovery_body_tools'] = 'Korin työkalujen kerääminen menossa...',
['not_enough_gas_can'] = 'sinulla ~r~ei ole tarpeeksi kaasupulloja.',
['assembling_blowtorch'] = 'kasataan Polttoleikkuria...',
['not_enough_repair_tools'] = 'sinulla ~r~ei ole tarpeeksi korjaus työkaluja.',
['assembling_repair_kit'] = 'kasataan Korjauskittiä...',
['not_enough_body_tools'] = 'sinulla ~r~ei ole tarpeeksi kori työkaluja.',
['assembling_body_kit'] = 'kasataan Korikittiä...',
['your_comp_earned'] = 'yrityksesi tienasi $',
['you_used_blowtorch'] = 'sinä käytit yhden Polttoleikkurin',
['you_used_repair_kit'] = 'sinä käytit yhden Korjauskitin',
['you_used_body_kit'] = 'sinä käytit yhden Korikitin',
['have_withdrawn'] = 'sinä nostit x%s %s',
['have_deposited'] = 'sinä talletit x%s %s',
['player_cannot_hold'] = 'sinulla ~r~ei ole tarpeeksi vapaata tilaa repussasi!',
}

View File

@@ -0,0 +1,86 @@
Locales['fr'] = {
['mechanic'] = 'mécano',
['drive_to_indicated'] = 'Conduisez jusqu\'à l\'endroit indiqué',
['mission_canceled'] = 'Mission ~r~annulée',
['vehicle_list'] = 'sortir véhicule',
['work_wear'] = 'tenue de travail',
['civ_wear'] = 'Tenue civile',
['deposit_stock'] = 'Déposer Stock',
['withdraw_stock'] = 'Prendre Stock',
['boss_actions'] = 'action patron',
['service_vehicle'] = 'Véhicule de service',
['flat_bed'] = 'plateau',
['tow_truck'] = 'dépanneuse',
['service_full'] = 'service complet : ',
['open_actions'] = 'Appuyez sur [E] pour accéder au menu.',
['harvest'] = 'récolte',
['harvest_menu'] = 'Appuyez sur [E] pour accéder au menu de récolte.',
['not_experienced_enough'] = 'Vous n\'êtes ~r~pas assez expérimenté pour effectuer cette action.',
['gas_can'] = 'Bouteille de gaz',
['repair_tools'] = 'Outils réparation',
['body_work_tools'] = 'Outils carosserie',
['blowtorch'] = 'chalumeaux',
['repair_kit'] = 'kit réparation',
['body_kit'] = 'kit carosserie',
['craft'] = 'établi',
['craft_menu'] = 'appuyez sur [E] pour accéder au menu établi.',
['billing'] = 'facturation',
['hijack'] = 'crocheter',
['repair'] = 'réparer',
['clean'] = 'nettoyer',
['imp_veh'] = 'fourrière',
['place_objects'] = 'placer objets',
['invoice_amount'] = 'montant de la facture',
['amount_invalid'] = 'montant invalide',
['no_players_nearby'] = 'aucun joueur à proximité',
['no_vehicle_nearby'] = 'aucun véhicule à proximité',
['inside_vehicle'] = 'vous ne pouvez pas effectuer cette action depuis un véhicule!',
['vehicle_unlocked'] = 'véhicule déverrouillé',
['vehicle_repaired'] = 'véhicule réparé',
['vehicle_cleaned'] = 'véhicule nettoyé',
['vehicle_impounded'] = 'vehicule ~r~mis en fourrière',
['must_seat_driver'] = 'vous devez être assis du ~r~côté conducteur!',
['must_near'] = 'vous devez être ~r~près d\'un véhicule pour le mettre en fourrière',
['vehicle_success_attached'] = 'vehicule attaché avec succès!',
['please_drop_off'] = 'veuillez déposer le véhicule à la concession',
['cant_attach_own_tt'] = '~r~Impossible d\'attacher votre propre dépanneuse',
['no_veh_att'] = 'il n\'y a ~r~pas de véhicule à attacher',
['not_right_veh'] = 'ce n\'est pas le bon véhicule',
['veh_det_succ'] = 'vehicule détaché avec succès!',
['imp_flatbed'] = '~r~Impossible! Vous devez avoir un Flatbed pour ça',
['objects'] = 'objets',
['roadcone'] = 'plot',
['toolbox'] = 'boîte à outils',
['mechanic_stock'] = 'coffre de l\'entreprise',
['quantity'] = 'quantité',
['invalid_quantity'] = 'quantité invalide',
['inventory'] = 'inventaire',
['veh_unlocked'] = 'Véhicule déverouillé',
['hijack_failed'] = '~r~Crochetage raté',
['body_repaired'] = 'Carosserie réparée',
['veh_repaired'] = 'Véhicule réparé',
['veh_stored'] = 'appuyez sur [E] pour ranger le véhicule.',
['press_remove_obj'] = 'appuyez sur [E] pour enlever l\'objet',
['please_tow'] = 'veuillez remorquer le véhicule',
['wait_five'] = 'Vous devez ~r~attendre 5 minutes',
['must_in_flatbed'] = 'Vous devez être en flatbed pour commencer la mission',
['not_right_place'] = 'Vous devez être au bon endroit pour faire cela',
['mechanic_customer'] = 'client mecano',
['you_do_not_room'] = '~r~Vous n\'avez plus de place',
['recovery_gas_can'] = 'Récupération de bouteille de gaz...',
['recovery_repair_tools'] = 'Récupération d\'outils réparation...',
['recovery_body_tools'] = 'Récupération d\'outils carosserie...',
['not_enough_gas_can'] = 'Vous n\'avez ~r~pas assez de bouteille de gaz',
['assembling_blowtorch'] = 'Assemblage de chalumeaux...',
['not_enough_repair_tools'] = 'Vous n\'avez ~r~pas assez d\'outils réparation',
['assembling_repair_kit'] = 'Assemblage de kit réparation...',
['not_enough_body_tools'] = 'Vous n\'avez ~r~pas assez d\'outils carosserie',
['assembling_body_kit'] = 'Assemblage de kit carosserie...',
['your_comp_earned'] = 'Votre société a gagné $',
['you_used_blowtorch'] = 'Vous avez utilisé un chalumeau',
['you_used_repair_kit'] = 'Vous avez utilisé un kit de réparation',
['you_used_body_kit'] = 'Vous avez utilisé un kit de carosserie',
['have_withdrawn'] = 'vous avez pris x%s %s',
['have_deposited'] = 'vous avez déposé x%s %s',
['player_cannot_hold'] = 'vous n\'avez ~r~pas assez d\'espace libre dans votre inventaire!',
}

View File

@@ -0,0 +1,86 @@
Locales['hu'] = {
['mechanic'] = 'LS Custom Tuningoló telep',
['drive_to_indicated'] = '[Információ]: Menj a kijelölt pontra.',
['mission_canceled'] = 'Küldetés ~r~megszakítva',
['vehicle_list'] = 'Munkajárművek',
['work_wear'] = 'Munkaruha',
['civ_wear'] = 'Civil ruházat',
['deposit_stock'] = 'Készlet berakás',
['withdraw_stock'] = 'Készlet kivétel',
['boss_actions'] = 'Leader Panel',
['service_vehicle'] = 'szervíz jármű',
['flat_bed'] = 'Platós kocsi',
['tow_truck'] = 'Vontató',
['service_full'] = 'Szervíz full: ',
['open_actions'] = '[Információ]: Nyomd meg az [E] gombot a menü megnyitásához',
['harvest'] = 'aratás',
['harvest_menu'] = 'nyomd meg a [E] gombot az aratás menühöz.',
['not_experienced_enough'] = 'nem vagy elég tapasztalt hogy végrehatjsd a műveletet',
['gas_can'] = 'nitro',
['repair_tools'] = 'Javítószerszámok',
['body_work_tools'] = 'karosszéria szerszámok',
['blowtorch'] = 'fújólámpa',
['repair_kit'] = 'javítókészlet',
['body_kit'] = 'body Kit',
['craft'] = 'barkácsolás',
['craft_menu'] = 'nyomd meg a [E] gombot a barkácsolás menü elérséhez',
['billing'] = 'Munkadíj átadása',
['hijack'] = 'Kocsi feltörése',
['repair'] = 'Javítás',
['clean'] = 'Kocsi lemosása',
['imp_veh'] = 'Lefoglalás',
['place_objects'] = 'Objectek lerakása',
['invoice_amount'] = 'Írd be az összeget (( Szabályzat alapján ))',
['amount_invalid'] = '~r~[Információ]: Ismeretlen érték!',
['no_players_nearby'] = '~r~[Információ]: Nincs a közeledben játékos!',
['no_vehicle_nearby'] = '~r~[Információ]: Nincs a közeledben kocsi!',
['inside_vehicle'] = 'Jármű belsejéből nem csinálhatod!',
['vehicle_unlocked'] = '[Információ]: Sikeresen feltörted a kijelölt kocsit!',
['vehicle_repaired'] = '[Információ]: Kocsi sikeresen megjavítva! Oszd ki a munkadíjat!',
['vehicle_cleaned'] = '[Információ]: Kocsi sikeresen lemosva!',
['vehicle_impounded'] = '[Információ]: Kocsi sikeresen lefoglalva!',
['must_seat_driver'] = 'vezetőülésben kell lenned!',
['must_near'] = '~r~[Információ]: Nincs a közeledben kocsi amit lefoglalhatnál!',
['vehicle_success_attached'] = '[Információ]: A kocsit sikeresen felraktad a platóra.',
['please_drop_off'] = '[Információ]: Most vidd el a kijelölt pontra!',
['cant_attach_own_tt'] = '~r~[Információ]: Nem teheted meg!',
['no_veh_att'] = 'nincs csatlakoztatható ~r~jármű',
['not_right_veh'] = 'ez nem megfelelő jármű',
['not_right_place'] = 'ez nem a megfelelő hely',
['veh_det_succ'] = '[Információ]: Sikeresen levetted a kocsit a platóról!',
['imp_flatbed'] = '~r~[Információ]: Nem teheted meg!',
['objects'] = 'objectek',
['roadcone'] = 'útkúp',
['toolbox'] = 'eszköztár',
['mechanic_stock'] = 'Szerelő készlet',
['quantity'] = 'mennyiség',
['invalid_quantity'] = 'érvénytelen mennyiség',
['inventory'] = 'leltár',
['veh_unlocked'] = 'Jármű kinyitva',
['hijack_failed'] = '~r~Eltérítés sikertelen',
['body_repaired'] = 'Body javítva',
['veh_repaired'] = 'Jármű javítva',
['veh_stored'] = '[Információ]: Nyomd meg az [E] gombot a kocsi lerakásához.',
['press_remove_obj'] = '[Információ]: Nyomd meg az [E] gombot a tárgy törléséhez',
['please_tow'] = '[Információ]: Rakd fel a platóra a kocsit! (( F6 panel ))',
['wait_five'] = 'Neked muszáj ~r~várni 5 percet',
['must_in_flatbed'] = '[Információ]: Csak platós kocsival tudsz küldetést csinálni!',
['mechanic_customer'] = 'Szerelő ügyfél',
['you_do_not_room'] = '~r~Nincs több helyed',
['recovery_gas_can'] = 'Gázpalack Visszakeresés...',
['recovery_repair_tools'] = 'Javító szerszámok Visszakeresés...',
['recovery_body_tools'] = 'Body szerszámok Visszakeresés...',
['not_enough_gas_can'] = 'Nincs elég gázpalackod',
['assembling_blowtorch'] = 'Összeszerelés Fújólámpa...',
['not_enough_repair_tools'] = 'Nincs elég javítószerszámod',
['assembling_repair_kit'] = 'Összeszerelés Javító készlet...',
['not_enough_body_tools'] = 'Nincs elég body szerszámod',
['assembling_body_kit'] = 'Összeszerelés Body készlet...',
['your_comp_earned'] = '[Információ]: Gratulálok, kapott egy kis pénzt a frakció és te is! ~r~',
['you_used_blowtorch'] = 'használtál egy fújólámpát',
['you_used_repair_kit'] = 'használtál egy Javító készletet',
['you_used_body_kit'] = 'használtál egy Body készletet',
['have_withdrawn'] = 'Kivettél x%s %s',
['have_deposited'] = 'Beraktál x%s %s',
['player_cannot_hold'] = 'Nincs elég szabad hely az inventorydban',
}

View File

@@ -0,0 +1,86 @@
Locales['it'] = {
['mechanic'] = 'meccanico',
['drive_to_indicated'] = 'guida fino alla posizione indicata.',
['mission_canceled'] = 'missione annullata',
['vehicle_list'] = 'elenco veicoli',
['work_wear'] = 'abbigliamento da lavoro',
['civ_wear'] = 'abiti civili',
['deposit_stock'] = 'deposito',
['withdraw_stock'] = 'ritira',
['boss_actions'] = 'azioni boss',
['service_vehicle'] = 'veicoli di servizio',
['flat_bed'] = 'flatbed',
['tow_truck'] = 'carro attrezzi',
['service_full'] = 'servizio completo: ',
['open_actions'] = 'premi [E] per accedere al menu.',
['harvest'] = 'raccolto',
['harvest_menu'] = 'premi [E] per accedere al menu raccolto.',
['not_experienced_enough'] = 'non hai abbastanza esperienza per eseguire questa azione.',
['gas_can'] = 'bombola del gas',
['repair_tools'] = 'riparazione strumenti',
['body_work_tools'] = 'strumenti carrozzeria',
['blowtorch'] = 'fiamma ossidrica',
['repair_kit'] = 'kit di riparazione',
['body_kit'] = 'body Kit',
['craft'] = 'creazione',
['craft_menu'] = 'premi [E] per accedere al menu di creazione.',
['billing'] = 'fattura',
['hijack'] = 'trasportare',
['repair'] = 'riparazione',
['clean'] = 'pulito',
['imp_veh'] = 'sequestrato',
['place_objects'] = 'posiziona oggetti',
['invoice_amount'] = 'importo fattura',
['amount_invalid'] = 'importo non valido',
['no_players_nearby'] = 'nessun giocatore nelle vicinanze',
['no_vehicle_nearby'] = 'nessun veicolo nelle vicinanze',
['inside_vehicle'] = 'non puoi farlo dall\'interno del veicolo!',
['vehicle_unlocked'] = 'il veicolo è stato sbloccato',
['vehicle_repaired'] = 'il veicolo è stato riparato',
['vehicle_cleaned'] = 'il veicolo è stato pulito',
['vehicle_impounded'] = 'il veicolo è stato sequestrato',
['must_seat_driver'] = 'devi essere al posto di guida!',
['must_near'] = 'devi essere vicino il veicolo per sequestrarlo.',
['vehicle_success_attached'] = 'veicolo collegato con successo',
['please_drop_off'] = 'perfavore lascia il veicolo al garage',
['cant_attach_own_tt'] = 'non puoi attaccare il tuo carro attrezzi',
['no_veh_att'] = 'non c\'è nessu veicolo da attaccare',
['not_right_veh'] = 'questo non è il veicolo giusto',
['not_right_place'] = 'questo non è il posto giusto',
['veh_det_succ'] = 'veicolo staccato con successo!',
['imp_flatbed'] = 'azione impossibile! hai bisogno di un pianale per caricare il veicolo',
['objects'] = 'oggetti',
['roadcone'] = 'cono stradale',
['toolbox'] = 'cassetta degli attrezzi',
['mechanic_stock'] = 'deposito meccanico',
['quantity'] = 'quantità',
['invalid_quantity'] = 'quantità non valida',
['inventory'] = 'inventario',
['veh_unlocked'] = 'veicolo sbloccato',
['hijack_failed'] = 'traino fallito',
['body_repaired'] = 'carrozzeria riparata',
['veh_repaired'] = 'veicolo riparato',
['veh_stored'] = 'press [E] per depositare il veicolo.',
['press_remove_obj'] = 'premi [E] per rimuovere',
['please_tow'] = 'perfavore traina il veicolo',
['wait_five'] = 'devi attendere 5 minuti',
['must_in_flatbed'] = 'devi essere in un flatbed per avviare la missione',
['mechanic_customer'] = 'cliente meccanico',
['you_do_not_room'] = 'non hai più spazio',
['recovery_gas_can'] = 'recupero bomboletta di gas...',
['recovery_repair_tools'] = 'recupero degli strumenti di riparazione...',
['recovery_body_tools'] = 'recupero body tools...',
['not_enough_gas_can'] = 'non hai abbastanza bomboletta di gas.',
['assembling_blowtorch'] = 'montaggio fiamma ossidrica...',
['not_enough_repair_tools'] = 'non hai abbastanza strumenti di riparazione.',
['assembling_repair_kit'] = 'assemblaggio kit di riparazione...',
['not_enough_body_tools'] = 'non hai abbastanza body tools.',
['assembling_body_kit'] = 'Assemblaggio Body Kit...',
['your_comp_earned'] = 'la tua azienda ha guadagnato $',
['you_used_blowtorch'] = 'hai usato una fiamma ossidrica',
['you_used_repair_kit'] = 'hai usato un Kit di riparazione',
['you_used_body_kit'] = 'hai usato un Body Kit',
['have_withdrawn'] = 'hai prelevato x%s %s',
['have_deposited'] = 'hai depositato x%s %s',
['player_cannot_hold'] = 'non hai abbastanza spazio libero nel tuo inventario!',
}

View File

@@ -0,0 +1,85 @@
Locales['nl'] = {
['mechanic'] = 'monteur',
['drive_to_indicated'] = 'Rij naar de aangegeven locatie',
['mission_canceled'] = 'opdracht ~r~geannuleerd',
['vehicle_list'] = 'voertuigenlijst',
['work_wear'] = 'werk kleding',
['civ_wear'] = 'burger kleding',
['deposit_stock'] = 'vooraad wegleggen',
['withdraw_stock'] = 'vooraad opbergen',
['boss_actions'] = 'baas acties',
['service_vehicle'] = 'service voertuig',
['flat_bed'] = 'oprijwagen',
['tow_truck'] = 'sleepwagen',
['service_full'] = 'dienst volledig: ',
['open_actions'] = 'Druk op [E] om in het menu te komen.',
['harvest'] = 'oogsten',
['harvest_menu'] = 'druk op [E] om in het oogst menu te komen.',
['not_experienced_enough'] = 'je hebt ~r~niet genoeg ervaring om dit te doen.',
['gas_can'] = 'jerrycan',
['repair_tools'] = 'reparatie gereedschap',
['body_work_tools'] = 'plaatwerk gereedschap',
['blowtorch'] = 'gasbrander',
['repair_kit'] = 'reparatie set',
['body_kit'] = 'plaatwerk set',
['craft'] = 'maken',
['craft_menu'] = 'druk op [E] om in het maak menu te komen.',
['billing'] = 'factureren',
['hijack'] = 'openbreken',
['repair'] = 'repareer',
['clean'] = 'maak schoon',
['imp_veh'] = 'inbeslag nemen',
['place_objects'] = 'plaats objecten',
['invoice_amount'] = 'factuur bedrag',
['amount_invalid'] = 'ongeldig aantal',
['no_players_nearby'] = 'er is geen speler in de buurt',
['no_vehicle_nearby'] = 'er is geen voertuig in de buurt',
['inside_vehicle'] = 'je kan dit niet doen in een voertuig!',
['vehicle_unlocked'] = 'het voortuig is opengebroken',
['vehicle_repaired'] = 'het voortuig is gerepareerd',
['vehicle_cleaned'] = 'het voortuig is schoongemaakt',
['vehicle_impounded'] = 'het voortuig is ~r~in beslag genomen',
['must_seat_driver'] = 'je moet in de bestuurders stoel zitten',
['must_near'] = 'je moet ~r~dicht bij een voertuig zijn om hem in beslag te nemen.',
['vehicle_success_attached'] = 'voertuig succesvol vastgemaakt',
['please_drop_off'] = 'graag voertuig naar de garage brengen',
['cant_attach_own_tt'] = '~r~je kan niet je eigen wagen vast maken',
['no_veh_att'] = 'er zijn geen ~r~voertuigen om vast te maken',
['not_right_veh'] = 'dit is niet het juiste voertuig',
['veh_det_succ'] = 'voertuig succesvol losgekoppeld!',
['imp_flatbed'] = '~r~Actie onmogelijk! je hebt een oprijwagen nodig om deze te laden',
['objects'] = 'objecten',
['roadcone'] = 'pion',
['toolbox'] = 'gereedschaps kist',
['mechanic_stock'] = 'monteurs opslag',
['quantity'] = 'hoeveelheid',
['invalid_quantity'] = 'ongeldige hoeveelheid',
['inventory'] = 'inventaris',
['veh_unlocked'] = 'Voertuig opgengemaakt',
['hijack_failed'] = '~r~Openbreken mislukt',
['body_repaired'] = 'Plaatwerk gerepareerd',
['veh_repaired'] = 'Voertuig gerepareerd',
['veh_stored'] = 'Druk op [E] om voertuig op te slaan.',
['press_remove_obj'] = 'Druk op [E] om object weg te halen',
['please_tow'] = 'graag voertuig afslepen',
['wait_five'] = 'je moet 5 minuten ~r~wachten',
['must_in_flatbed'] = 'je hebt een oprijwagen nodig voor deze klant',
['mechanic_customer'] = 'klant van garage',
['you_do_not_room'] = '~r~Je hebt geen ruimte',
['recovery_gas_can'] = 'Jerrycan Ophalen...',
['recovery_repair_tools'] = 'Reparatie gereedschap Ophalen...',
['recovery_body_tools'] = 'Plaatwerk gereedschap Ophalen...',
['not_enough_gas_can'] = 'je hebt ~r~niet genoeg jerrycans.',
['assembling_blowtorch'] = 'In elkaar aan het zetten gasbrander...',
['not_enough_repair_tools'] = 'je hebt ~r~niet genoeg reparatie gereedschap.',
['assembling_repair_kit'] = 'In elkaar aan het zetten reparatie set...',
['not_enough_body_tools'] = 'je hebt ~r~niet genoeg plaatwerk gereedschap.',
['assembling_body_kit'] = 'In elkaar aan het zetten plaatwerk set...',
['your_comp_earned'] = 'de garage heeft verdient €',
['you_used_blowtorch'] = 'je gebruikte een gasbrannder',
['you_used_repair_kit'] = 'je gebruikte een reparatie set',
['you_used_body_kit'] = 'je gebruikte een plaatwerk set',
['have_withdrawn'] = 'je hebt x%s %s opgenomen',
['have_deposited'] = 'je hebt x%s %s gestort ',
['player_cannot_hold'] = 'je hebt ~r~niet genoeg vrije ruimte in je inventaris!',
}

View File

@@ -0,0 +1,85 @@
Locales['pl'] = {
['mechanic'] = 'mechanik',
['drive_to_indicated'] = 'Jedz do wskazanej lokalizacji.',
['mission_canceled'] = 'misja ~r~anulowana',
['vehicle_list'] = 'lista pojazdów',
['work_wear'] = 'ubrania robocze',
['civ_wear'] = 'ubrania cywilne',
['deposit_stock'] = 'deponuj przedmioty',
['withdraw_stock'] = 'wyciągnij przedmioty',
['boss_actions'] = 'akcje szefa',
['service_vehicle'] = 'serwisuj pojazd',
['flat_bed'] = 'laweta',
['tow_truck'] = 'holownik',
['service_full'] = 'serwis pełny: ',
['open_actions'] = 'wciśnij [E] aby otworzyć menu.',
['harvest'] = 'zbieraj',
['harvest_menu'] = 'wcisnij [E] aby otworzyć menu zbierania.',
['not_experienced_enough'] = 'nie jesteś wystarczająco ~r~doświadczony aby zrobić tą akcję.',
['gas_can'] = 'kanister z paliwem',
['repair_tools'] = 'zestaw do naprawy',
['body_work_tools'] = 'zestaw blacharski',
['blowtorch'] = 'palnik',
['repair_kit'] = 'narzedzia naprawcze',
['body_kit'] = 'karoseria',
['craft'] = 'twórz',
['craft_menu'] = 'wcisnij [E] aby otworzyc menu tworzenia.',
['billing'] = 'faktury',
['hijack'] = 'forsowanie',
['repair'] = 'naprawa',
['clean'] = 'wyczyść',
['imp_veh'] = 'odholowywanie',
['place_objects'] = 'połóż objekt',
['invoice_amount'] = 'suma faktury',
['amount_invalid'] = 'nieprawidłowa suma',
['no_players_nearby'] = 'brak gracza w pobliżu',
['no_vehicle_nearby'] = 'brak pojazdu w pobliżu',
['inside_vehicle'] = 'nie możesz tego zrobić z środka pojazdu!',
['vehicle_unlocked'] = 'pojazd został odblokowany',
['vehicle_repaired'] = 'pojazd został naprawiony',
['vehicle_cleaned'] = 'pojazd został umyty',
['vehicle_impounded'] = 'pojazd został ~r~odholowany',
['must_seat_driver'] = 'musisz być na siedzeniu kierowcy!',
['must_near'] = 'musisz być ~r~blisko pojazdu aby go odholować.',
['vehicle_success_attached'] = 'pojazd przyłączony',
['please_drop_off'] = 'proszę odstawić pojazd w garażu',
['cant_attach_own_tt'] = '~r~nie możesz podłączyć własnego holwnika',
['no_veh_att'] = 'nie ma ~r~pojazdu do podłączenia',
['not_right_veh'] = 'to nie jest prawidłowy pojazd',
['veh_det_succ'] = 'pojazd odłączony!',
['imp_flatbed'] = '~r~Akcja niemożliwa! Potrzebujesz lawety aby załadować pojazd',
['objects'] = 'objekty',
['roadcone'] = 'pachołek',
['toolbox'] = 'skrzynka z narzędziami',
['mechanic_stock'] = 'magazyn mechanika',
['quantity'] = 'ilość',
['invalid_quantity'] = 'nieprawidłowa ilość',
['inventory'] = 'ekwipunek',
['veh_unlocked'] = 'Pojazd odblokowany',
['hijack_failed'] = '~r~Forsowanie nie udane',
['body_repaired'] = 'Karoseria naprawiona',
['veh_repaired'] = 'Pojazd naprawiony',
['veh_stored'] = 'wcisnij [E] aby schować pojazd.',
['press_remove_obj'] = 'wcisnij [E] aby usunąć objekt',
['please_tow'] = 'proszę odholować pojazd',
['wait_five'] = 'musisz ~r~poczekać 5 minut',
['must_in_flatbed'] = 'musisz być w lawecie aby rozpocząć misje',
['mechanic_customer'] = 'klient mechanika',
['you_do_not_room'] = '~r~Nie masz wiecej miejsca',
['recovery_gas_can'] = 'odzyskiwanie Kanistra z paliwem...',
['recovery_repair_tools'] = 'odzyskiwanie Części naprawczych...',
['recovery_body_tools'] = 'odzyskiwanie Części blacharskich...',
['not_enough_gas_can'] = 'nie posiadasz ~r~wystarczająco paliwa w kanistrze.',
['assembling_blowtorch'] = 'składanie Palnika...',
['not_enough_repair_tools'] = 'nie posiadasz ~r~wystarczająco częsci naprawczych.',
['assembling_repair_kit'] = 'składanie częsci naprawczych...',
['not_enough_body_tools'] = 'nie posiadasz ~r~wystarczająco częsci blacharskich.',
['assembling_body_kit'] = 'składanie częsci blacharskich...',
['your_comp_earned'] = 'twoja firma zarobiła $',
['you_used_blowtorch'] = 'użyłeś palnik',
['you_used_repair_kit'] = 'użyłeś częsci naprawczych',
['you_used_body_kit'] = 'użyłeś częsci blacharskich',
['have_withdrawn'] = 'wyciągnąłeś x%s %s',
['have_deposited'] = 'zdeponowałeś x%s %s',
['player_cannot_hold'] = '~r~nie masz wystarczająco wolnego miejsca w ekwipunku!',
}

View File

@@ -0,0 +1,86 @@
Locales['sr'] = {
['mechanic'] = 'mehaničar',
['drive_to_indicated'] = 'Vozite do označene lokacije.',
['mission_canceled'] = 'Misija prekinuta',
['vehicle_list'] = 'Lista vozila',
['work_wear'] = 'Radno odelo',
['civ_wear'] = 'Civilno odelo',
['deposit_stock'] = 'Ostavite novac',
['withdraw_stock'] = 'Podignite novac',
['boss_actions'] = 'Upravljanje kompjuterom',
['service_vehicle'] = 'Servisiranje vozila',
['flat_bed'] = 'flatbed',
['tow_truck'] = 'tow Truck',
['service_full'] = 'service full: ',
['open_actions'] = 'Pritisnite [E] da pristupite menu.',
['harvest'] = 'berba',
['harvest_menu'] = 'Pritisnite [E] da pristupite berbi.',
['not_experienced_enough'] = 'niste dovoljno iskusni da bi uradili to.',
['gas_can'] = 'gas Can',
['repair_tools'] = 'repair Tools',
['body_work_tools'] = 'bodywork Tools',
['blowtorch'] = 'blowtorch',
['repair_kit'] = 'repair Kit',
['body_kit'] = 'body Kit',
['craft'] = 'kraft',
['craft_menu'] = 'pritisni [E] da pristupis kraftu.',
['billing'] = 'račun',
['hijack'] = 'obijanje',
['repair'] = 'popravka',
['clean'] = 'čišćenje',
['imp_veh'] = 'zaplena',
['place_objects'] = 'Objekti',
['invoice_amount'] = 'Količina',
['amount_invalid'] = 'Nevažeća kolićina',
['no_players_nearby'] = 'nema igrača u blizini',
['no_vehicle_nearby'] = 'nema vozila u blizini',
['inside_vehicle'] = 'ne možete uraditi to iz vozila!',
['vehicle_unlocked'] = 'vozilo je otključano',
['vehicle_repaired'] = 'vozilo je popravljeno',
['vehicle_cleaned'] = 'vozilo je očišćeno',
['vehicle_impounded'] = 'vozilo je zaplenjeno',
['must_seat_driver'] = 'morate biti na vozačevom mestu!',
['must_near'] = 'morate biti u blizini vozila.',
['vehicle_success_attached'] = 'vozilo prikačeno',
['please_drop_off'] = 'ostavite vozilo u garaži',
['cant_attach_own_tt'] = 'ne možete prikačiti to vozilo',
['no_veh_att'] = 'nema vozila u blizini',
['not_right_veh'] = 'to nije pravo vozilo',
['not_right_place'] = 'to nije pravo mesto',
['veh_det_succ'] = 'vozilo otkačeno!',
['imp_flatbed'] = 'Akcija nemoguća! Treba Vam flatbed da zakačite vozilo',
['objects'] = 'objekti',
['roadcone'] = 'čunj',
['toolbox'] = 'toolbox',
['mechanic_stock'] = 'mechanic Stock',
['quantity'] = 'količina',
['invalid_quantity'] = 'nevažeća količina',
['inventory'] = 'inventar',
['veh_unlocked'] = 'Vozilo otključano',
['hijack_failed'] = 'Niste uspeli da obijete vozilo',
['body_repaired'] = 'Body popravljen',
['veh_repaired'] = 'Vozilo popravljeno',
['veh_stored'] = 'pritisni [E] da vratiš vozilo.',
['press_remove_obj'] = 'pritisni [E] da skloniš objekat',
['please_tow'] = 'zakačite vozilo',
['wait_five'] = 'morate sačekati 5 minuta',
['must_in_flatbed'] = 'Morate biti u flatbedu da započnete misiju',
['mechanic_customer'] = 'Mehaničar kupac',
['you_do_not_room'] = 'Nemate više mesta',
['recovery_gas_can'] = 'Povraćaj gasa...',
['recovery_repair_tools'] = 'Repair Tools povraćaj...',
['recovery_body_tools'] = 'Body Tools povraćaj...',
['not_enough_gas_can'] = 'Nemate dovoljno gas cans.',
['assembling_blowtorch'] = 'Sastavljanje Blowtorch...',
['not_enough_repair_tools'] = 'Nemate dovoljno repair tools.',
['assembling_repair_kit'] = 'Sastavljanje Repair Kit...',
['not_enough_body_tools'] = 'Nemate dovoljno body tools.',
['assembling_body_kit'] = 'Sastavljanje Body Kit...',
['your_comp_earned'] = 'Vaša firma je zaradila $',
['you_used_blowtorch'] = 'iskoristili ste blowtorch',
['you_used_repair_kit'] = 'iskoristili ste Repair Kit',
['you_used_body_kit'] = 'iskoristili ste Body Kit',
['have_withdrawn'] = 'podigli ste x%s %s',
['have_deposited'] = 'ostavili ste x%s %s',
['player_cannot_hold'] = 'Nemate više mesta u inventaru!',
}

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Mechaniker', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Mechaniker', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Mechaniker', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Mechaniker')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Rekrut',12,'{}','{}'),
('mechanic',1,'novice','Neuling',24,'{}','{}'),
('mechanic',2,'experimente','Erfahren',36,'{}','{}'),
('mechanic',3,'chief',"Teamleitung",48,'{}','{}'),
('mechanic',4,'boss','Chef',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Benzinkanister', 2),
('fixtool', 'Reparaturwerkzeuge', 2),
('carotool', 'Karosseriewerkzeuge', 2),
('blowpipe', 'Schweißbrenner', 2),
('fixkit', 'Werkzeugkasten', 3),
('carokit', 'Bausatz Karosserie', 3)
;

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Mechanic', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Mechanic', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Mechanic', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Mechanic')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Recruit',12,'{}','{}'),
('mechanic',1,'novice','Novice',24,'{}','{}'),
('mechanic',2,'experimente','Experienced',36,'{}','{}'),
('mechanic',3,'chief','Leader',48,'{}','{}'),
('mechanic',4,'boss','Boss',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Gas Bottle', 2),
('fixtool', 'Repair Tools', 2),
('carotool', 'Tools', 2),
('blowpipe', 'Blowtorch', 2),
('fixkit', 'Repair Kit', 3),
('carokit', 'Body Kit', 3)
;

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Mekaanikko', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Mekaanikko', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Mekaanikko', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Mekaanikko')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Harjottelija',12,'{}','{}'),
('mechanic',1,'novice','Aloittelija',24,'{}','{}'),
('mechanic',2,'experimente','Kokenut',36,'{}','{}'),
('mechanic',3,'chief','Johtaja',48,'{}','{}'),
('mechanic',4,'boss','Pomo',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Kaasupullo', 2),
('fixtool', 'Korjaustyökalut', 2),
('carotool', 'Työkalut', 2),
('blowpipe', 'Polttoleikkuri', 2),
('fixkit', 'Korjauskitti', 3),
('carokit', 'Korikitti', 3)
;

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Mécanicien', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Mécanicien', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Mécanicien', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Mécanicien')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Recrue',12,'{}','{}'),
('mechanic',1,'novice','Novice',24,'{}','{}'),
('mechanic',2,'expérimenté','Expérimenté',36,'{}','{}'),
('mechanic',3,'chef','Chef',48,'{}','{}'),
('mechanic',4,'boss','Boss',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Bouteille de gaz', 2),
('fixtool', 'Outils de réparation', 2),
('carotool', 'Outils', 2),
('blowpipe', 'Chalumeau', 2),
('fixkit', 'Kit de réparation', 3),
('carokit', 'Kit de carrosserie', 3)
;

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Szerelő', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Szerelő', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Szerelő', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Szerelő')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic', 0, 'recrue', 'Újonc', 12, '{}', '{}'),
('mechanic', 1, 'novice', 'Kezdő', 24, '{}', '{}'),
('mechanic', 2, 'experimente', 'Tapasztalt', 36, '{}', '{}'),
('mechanic', 3, 'chief', 'Vezető', 48, '{}', '{}'),
('mechanic', 4, 'boss', 'Főnök', 0, '{}' ,'{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Gázpalack', 2),
('fixtool', 'Javítószerszámok', 2),
('carotool', 'Szerszámok', 2),
('blowpipe', 'Fújólámpa', 2),
('fixkit', 'Javító készlet', 3),
('carokit', 'Body Kit', 3)
;

View File

@@ -0,0 +1,33 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Meccanico', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Meccanico', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Meccanico', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Meccanico')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Recluta',12,'{}','{}'),
('mechanic',1,'novice','Novizio',24,'{}','{}'),
('mechanic',2,'experimente','Esperto',36,'{}','{}'),
('mechanic',3,'chief','Dirigente',48,'{}','{}'),
('mechanic',4,'boss','Capo',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Bottiglia di gas', 2),
('fixtool', 'Strumenti di riparazione', 2),
('carotool', 'Strumenti', 2),
('blowpipe', 'Fiamma ossidrica', 2),
('fixkit', 'Kit di riparazione', 3),
('carokit', 'Kit per carrozzeria', 3)
;

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Monteur', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Monteur', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Monteur', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Monteur')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Stagair',12,'{}','{}'),
('mechanic',1,'novice','Personeel',24,'{}','{}'),
('mechanic',2,'experimente','Ervaard',36,'{}','{}'),
('mechanic',3,'chief','Teamleider',48,'{}','{}'),
('mechanic',4,'boss','Baas',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Gas Fles', 2),
('fixtool', 'Repareer set', 2),
('carotool', 'Tools', 2),
('blowpipe', 'Las Apparaat', 2),
('fixkit', 'Repareer set', 3),
('carokit', 'Body set', 3)
;

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Mechanik', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Mechanik', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Mechanik', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Mechanik')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Praktykant',12,'{}','{}'),
('mechanic',1,'novice','Nowicjusz',24,'{}','{}'),
('mechanic',2,'experimente','Doświadczony',36,'{}','{}'),
('mechanic',3,'chief','Kierownik',48,'{}','{}'),
('mechanic',4,'boss','Szef',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Butelka z gazem', 2),
('fixtool', 'Zestaw do naprawy', 2),
('carotool', 'Częsci naprawcze', 2),
('blowpipe', 'Palnik', 2),
('fixkit', 'Narzedzia naprawcze', 3),
('carokit', 'Części blacharskie', 3)
;

View File

@@ -0,0 +1,32 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'AMZS', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'AMZS', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'AMZS', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'AMZS')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Novinec',12,'{}','{}'),
('mechanic',1,'novice','Delavec',24,'{}','{}'),
('mechanic',2,'experimente','Izkusen',36,'{}','{}'),
('mechanic',3,'chief','Pod Direktor',48,'{}','{}'),
('mechanic',4,'boss','Direktor',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Kangla nafte', 2),
('fixtool', 'Orodja za popravilo', 2),
('carotool', 'Orodja', 2),
('blowpipe', 'Blowtorch', 2),
('fixkit', 'Popravilo', 3),
('carokit', 'Body Kit', 3)
;

View File

@@ -0,0 +1,33 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_mechanic', 'Mehaničar', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_mechanic', 'Mehaničar', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_mechanic', 'Mehaničar', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('mechanic', 'Mehaničar')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('mechanic',0,'recrue','Šegrt',12,'{}','{}'),
('mechanic',1,'novice','Početnik',24,'{}','{}'),
('mechanic',2,'experimente','Iskusni Radnik',36,'{}','{}'),
('mechanic',3,'chief','Menadžer',48,'{}','{}'),
('mechanic',4,'boss','Šef',0,'{}','{}')
;
INSERT INTO `items` (name, label, weight) VALUES
('gazbottle', 'Gas Bottle', 2),
('fixtool', 'Repair Tools', 2),
('carotool', 'Tools', 2),
('blowpipe', 'Blowtorch', 2),
('fixkit', 'Repair Kit', 3),
('carokit', 'Body Kit', 3)
;

View File

@@ -0,0 +1,306 @@
local PlayersHarvesting, PlayersHarvesting2, PlayersHarvesting3, PlayersCrafting, PlayersCrafting2, PlayersCrafting3 = {}, {}, {}, {}, {}, {}
if Config.MaxInService ~= -1 then
TriggerEvent('esx_service:activateService', 'mechanic', Config.MaxInService)
end
TriggerEvent('esx_phone:registerNumber', 'mechanic', TranslateCap('mechanic_customer'), true, true)
TriggerEvent('esx_society:registerSociety', 'mechanic', 'mechanic', 'society_mechanic', 'society_mechanic', 'society_mechanic', {type = 'private'})
local function Harvest(source)
SetTimeout(4000, function()
if PlayersHarvesting[source] == true then
local xPlayer = ESX.Player(source)
local GazBottleQuantity = xPlayer.getInventoryItem('gazbottle').count
if GazBottleQuantity >= 5 then
TriggerClientEvent('esx:showNotification', source, TranslateCap('you_do_not_room'))
else
xPlayer.addInventoryItem('gazbottle', 1)
Harvest(source)
end
end
end)
end
RegisterServerEvent('esx_mechanicjob:startHarvest')
AddEventHandler('esx_mechanicjob:startHarvest', function()
local source = source
PlayersHarvesting[source] = true
TriggerClientEvent('esx:showNotification', source, TranslateCap('recovery_gas_can'))
Harvest(source)
end)
RegisterServerEvent('esx_mechanicjob:stopHarvest')
AddEventHandler('esx_mechanicjob:stopHarvest', function()
local source = source
PlayersHarvesting[source] = false
end)
local function Harvest2(source)
SetTimeout(4000, function()
if PlayersHarvesting2[source] == true then
local xPlayer = ESX.Player(source)
local FixToolQuantity = xPlayer.getInventoryItem('fixtool').count
if FixToolQuantity >= 5 then
TriggerClientEvent('esx:showNotification', source, TranslateCap('you_do_not_room'))
else
xPlayer.addInventoryItem('fixtool', 1)
Harvest2(source)
end
end
end)
end
RegisterServerEvent('esx_mechanicjob:startHarvest2')
AddEventHandler('esx_mechanicjob:startHarvest2', function()
local source = source
PlayersHarvesting2[source] = true
TriggerClientEvent('esx:showNotification', source, TranslateCap('recovery_repair_tools'))
Harvest2(source)
end)
RegisterServerEvent('esx_mechanicjob:stopHarvest2')
AddEventHandler('esx_mechanicjob:stopHarvest2', function()
local source = source
PlayersHarvesting2[source] = false
end)
local function Harvest3(source)
SetTimeout(4000, function()
if PlayersHarvesting3[source] == true then
local xPlayer = ESX.Player(source)
local CaroToolQuantity = xPlayer.getInventoryItem('carotool').count
if CaroToolQuantity >= 5 then
TriggerClientEvent('esx:showNotification', source, TranslateCap('you_do_not_room'))
else
xPlayer.addInventoryItem('carotool', 1)
Harvest3(source)
end
end
end)
end
RegisterServerEvent('esx_mechanicjob:startHarvest3')
AddEventHandler('esx_mechanicjob:startHarvest3', function()
local source = source
PlayersHarvesting3[source] = true
TriggerClientEvent('esx:showNotification', source, TranslateCap('recovery_body_tools'))
Harvest3(source)
end)
RegisterServerEvent('esx_mechanicjob:stopHarvest3')
AddEventHandler('esx_mechanicjob:stopHarvest3', function()
local source = source
PlayersHarvesting3[source] = false
end)
local function Craft(source)
SetTimeout(4000, function()
if PlayersCrafting[source] == true then
local xPlayer = ESX.Player(source)
local GazBottleQuantity = xPlayer.getInventoryItem('gazbottle').count
if GazBottleQuantity <= 0 then
TriggerClientEvent('esx:showNotification', source, TranslateCap('not_enough_gas_can'))
else
xPlayer.removeInventoryItem('gazbottle', 1)
xPlayer.addInventoryItem('blowpipe', 1)
Craft(source)
end
end
end)
end
RegisterServerEvent('esx_mechanicjob:startCraft')
AddEventHandler('esx_mechanicjob:startCraft', function()
local source = source
PlayersCrafting[source] = true
TriggerClientEvent('esx:showNotification', source, TranslateCap('assembling_blowtorch'))
Craft(source)
end)
RegisterServerEvent('esx_mechanicjob:stopCraft')
AddEventHandler('esx_mechanicjob:stopCraft', function()
local source = source
PlayersCrafting[source] = false
end)
local function Craft2(source)
SetTimeout(4000, function()
if PlayersCrafting2[source] == true then
local xPlayer = ESX.Player(source)
local FixToolQuantity = xPlayer.getInventoryItem('fixtool').count
if FixToolQuantity <= 0 then
TriggerClientEvent('esx:showNotification', source, TranslateCap('not_enough_repair_tools'))
else
xPlayer.removeInventoryItem('fixtool', 1)
xPlayer.addInventoryItem('fixkit', 1)
Craft2(source)
end
end
end)
end
RegisterServerEvent('esx_mechanicjob:startCraft2')
AddEventHandler('esx_mechanicjob:startCraft2', function()
local source = source
PlayersCrafting2[source] = true
TriggerClientEvent('esx:showNotification', source, TranslateCap('assembling_repair_kit'))
Craft2(source)
end)
RegisterServerEvent('esx_mechanicjob:stopCraft2')
AddEventHandler('esx_mechanicjob:stopCraft2', function()
local source = source
PlayersCrafting2[source] = false
end)
local function Craft3(source)
SetTimeout(4000, function()
if PlayersCrafting3[source] == true then
local xPlayer = ESX.Player(source)
local CaroToolQuantity = xPlayer.getInventoryItem('carotool').count
if CaroToolQuantity <= 0 then
TriggerClientEvent('esx:showNotification', source, TranslateCap('not_enough_body_tools'))
else
xPlayer.removeInventoryItem('carotool', 1)
xPlayer.addInventoryItem('carokit', 1)
Craft3(source)
end
end
end)
end
RegisterServerEvent('esx_mechanicjob:startCraft3')
AddEventHandler('esx_mechanicjob:startCraft3', function()
local source = source
PlayersCrafting3[source] = true
TriggerClientEvent('esx:showNotification', source, TranslateCap('assembling_body_kit'))
Craft3(source)
end)
RegisterServerEvent('esx_mechanicjob:stopCraft3')
AddEventHandler('esx_mechanicjob:stopCraft3', function()
local source = source
PlayersCrafting3[source] = false
end)
RegisterServerEvent('esx_mechanicjob:onNPCJobMissionCompleted')
AddEventHandler('esx_mechanicjob:onNPCJobMissionCompleted', function()
local source = source
local xPlayer = ESX.Player(source)
local total = math.random(Config.NPCJobEarnings.min, Config.NPCJobEarnings.max);
if xPlayer.getJob().grade >= 3 then
total = total * 2
end
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_mechanic', function(account)
account.addMoney(total)
end)
TriggerClientEvent("esx:showNotification", source, TranslateCap('your_comp_earned').. total)
end)
ESX.RegisterUsableItem('blowpipe', function(source)
local source = source
local xPlayer = ESX.Player(source)
xPlayer.removeInventoryItem('blowpipe', 1)
TriggerClientEvent('esx_mechanicjob:onHijack', source)
TriggerClientEvent('esx:showNotification', source, TranslateCap('you_used_blowtorch'))
end)
ESX.RegisterUsableItem('fixkit', function(source)
local source = source
local xPlayer = ESX.Player(source)
xPlayer.removeInventoryItem('fixkit', 1)
TriggerClientEvent('esx_mechanicjob:onFixkit', source)
TriggerClientEvent('esx:showNotification', source, TranslateCap('you_used_repair_kit'))
end)
ESX.RegisterUsableItem('carokit', function(source)
local source = source
local xPlayer = ESX.Player(source)
xPlayer.removeInventoryItem('carokit', 1)
TriggerClientEvent('esx_mechanicjob:onCarokit', source)
TriggerClientEvent('esx:showNotification', source, TranslateCap('you_used_body_kit'))
end)
RegisterServerEvent('esx_mechanicjob:getStockItem')
AddEventHandler('esx_mechanicjob:getStockItem', function(itemName, count)
local xPlayer = ESX.Player(source)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_mechanic', function(inventory)
local item = inventory.getItem(itemName)
-- is there enough in the society?
if count > 0 and item.count >= count then
-- can the player carry the said amount of x item?
if xPlayer.canCarryItem(itemName, count) then
inventory.removeItem(itemName, count)
xPlayer.addInventoryItem(itemName, count)
xPlayer.showNotification(TranslateCap('have_withdrawn', count, item.label))
else
xPlayer.showNotification(TranslateCap('player_cannot_hold'))
end
else
xPlayer.showNotification(TranslateCap('invalid_quantity'))
end
end)
end)
ESX.RegisterServerCallback('esx_mechanicjob:getStockItems', function(source, cb)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_mechanic', function(inventory)
cb(inventory.items)
end)
end)
RegisterServerEvent('esx_mechanicjob:putStockItems')
AddEventHandler('esx_mechanicjob:putStockItems', function(itemName, count)
local xPlayer = ESX.Player(source)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_mechanic', function(inventory)
local item = inventory.getItem(itemName)
local playerItemCount = xPlayer.getInventoryItem(itemName).count
if item.count >= 0 and count <= playerItemCount then
xPlayer.removeInventoryItem(itemName, count)
inventory.addItem(itemName, count)
else
xPlayer.showNotification(TranslateCap('invalid_quantity'))
end
xPlayer.showNotification(TranslateCap('have_deposited', count, item.label))
end)
end)
ESX.RegisterServerCallback('esx_mechanicjob:getPlayerInventory', function(source, cb)
local xPlayer = ESX.Player(source)
local items = xPlayer.getInventory(false)
cb({items = items})
end)