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_policejob
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_policejob 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,68 @@
<h1 align='center'>[ESX] Police job</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>
This resource for ESX adds police armories, vehicle garages and ability for cops to search, handcuff people and much more.
### Requirements
* Auto mode
* [esx_billing](https://github.com/esx-framework/esx_billing)
* [esx_vehicleshop](https://github.com/esx-framework/esx_vehicleshop)
* Player management (boss actions and armory with buyable weapons)
* [esx_addoninventory](https://github.com/esx-framework/esx_addoninventory)
* [esx_datastore](https://github.com/esx-framework/esx_datastore)
* [esx_society](https://github.com/esx-framework/esx_society)
* ESX Identity Support
* [esx_identity](https://github.com/esx-framework/esx_core/tree/main/%5Bcore%5D/esx_identity)
* ESX License Support
* [esx_license](https://github.com/esx-framework/esx_license)
* ESX Service Support
* [esx_service](https://github.com/esx-framework/esx_service)
* ESX Status Support
* [esx_status](https://github.com/esx-framework/esx_status)
## Download & Installation
### Using [fvm](https://github.com/qlaffont/fvm-installer)
```
fvm install --save --folder=esx esx-framework/esx_policejob
```
### Using Git
```
cd resources
git clone https://github.com/esx-framework/esx_policejob [esx]/esx_policejob
```
### Manually
- Download https://github.com/esx-framework/esx_policejob/archive/master.zip
- Put it in the `[esx]` directory
## Installation
- Import `esx_policejob.sql` in your database
- Add this to your server.cfg:
```
start esx_policejob
```
- * If you want player management you have to set `Config.EnablePlayerManagement` to `true` in `config.lua`
* If you want armory management you have to set `Config.EnableArmoryManagement` to `true` in `config.lua`
* If you want license management you have to set `Config.EnableLicenses` to `true` in `config.lua`
* If you want service management you have to set `Config.MaxInService` to a higher value than `-1` in `config.lua`
# Legal
### License
esx_policejob - police script 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/.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,320 @@
local spawnedVehicles = {}
function OpenVehicleSpawnerMenu(type, station, part, partNum)
local playerCoords = GetEntityCoords(PlayerPedId())
local elements = {
{unselectable = true, icon = "fas fa-car", title = TranslateCap('garage_title')},
{icon = "fas fa-car", title = TranslateCap('garage_storeditem'), action = 'garage'},
{icon = "fas fa-car", title = TranslateCap('garage_storeitem'), action = 'store_garage'},
{icon = "fas fa-car", title = TranslateCap('garage_buyitem'), action = 'buy_vehicle'}
}
ESX.OpenContext("right", elements, function(menu,element)
if element.action == "buy_vehicle" then
local shopElements = {}
local shopCoords = Config.PoliceStations[station][part][partNum].InsideShop
local authorizedVehicles = Config.AuthorizedVehicles[type][ESX.PlayerData.job.grade_name]
if authorizedVehicles then
if #authorizedVehicles > 0 then
for k,vehicle in ipairs(authorizedVehicles) do
if IsModelInCdimage(vehicle.model) then
local vehicleLabel = GetLabelText(GetDisplayNameFromVehicleModel(vehicle.model))
shopElements[#shopElements+1] = {
icon = 'fas fa-car',
title = ('%s - <span style="color:green;">%s</span>'):format(vehicleLabel, TranslateCap('shop_item', ESX.Math.GroupDigits(vehicle.price))),
name = vehicleLabel,
model = vehicle.model,
price = vehicle.price,
props = vehicle.props,
type = type
}
end
end
if #shopElements > 0 then
OpenShopMenu(shopElements, playerCoords, shopCoords)
else
ESX.ShowNotification(TranslateCap('garage_notauthorized'))
end
else
ESX.ShowNotification(TranslateCap('garage_notauthorized'))
end
else
ESX.ShowNotification(TranslateCap('garage_notauthorized'))
end
elseif element.action == "garage" then
local garage = {
{unselectable = true, icon = "fas fa-car", title = "Garage"}
}
ESX.TriggerServerCallback('esx_vehicleshop:retrieveJobVehicles', function(jobVehicles)
if #jobVehicles > 0 then
local allVehicleProps = {}
for k,v in ipairs(jobVehicles) do
local props = json.decode(v.vehicle)
if IsModelInCdimage(props.model) then
local vehicleName = GetLabelText(GetDisplayNameFromVehicleModel(props.model))
local label = ('%s - <span style="color:darkgoldenrod;">%s</span>: '):format(vehicleName, props.plate)
if v.stored == 1 or v.stored == true then
label = label .. ('<span style="color:green;">%s</span>'):format(TranslateCap('garage_stored'))
elseif v.stored == 0 or v.stored == false then
label = label .. ('<span style="color:darkred;">%s</span>'):format(TranslateCap('garage_notstored'))
end
garage[#garage+1] = {
icon = 'fas fa-car',
title = label,
stored = v.stored,
model = props.model,
plate = props.plate
}
allVehicleProps[props.plate] = props
end
end
if #garage > 0 then
ESX.OpenContext("right", garage, function(menuG,elementG)
if elementG.stored == 1 or elementG.stored == true then
local foundSpawn, spawnPoint = GetAvailableVehicleSpawnPoint(station, part, partNum)
if foundSpawn then
ESX.CloseContext()
ESX.Game.SpawnVehicle(elementG.model, spawnPoint.coords, spawnPoint.heading, function(vehicle)
local vehicleProps = allVehicleProps[elementG.plate]
ESX.Game.SetVehicleProperties(vehicle, vehicleProps)
TriggerServerEvent('esx_vehicleshop:setJobVehicleState', elementG.plate, false)
ESX.ShowNotification(TranslateCap('garage_released'))
end)
end
else
ESX.ShowNotification(TranslateCap('garage_notavailable'))
end
end)
else
ESX.ShowNotification(TranslateCap('garage_empty'))
end
else
ESX.ShowNotification(TranslateCap('garage_empty'))
end
end, type)
elseif element.action == "store_garage" then
StoreNearbyVehicle(playerCoords)
end
end)
end
function StoreNearbyVehicle(playerCoords)
local vehicles, plates, index = ESX.Game.GetVehiclesInArea(playerCoords, 30.0), {}, {}
if next(vehicles) then
for i = 1, #vehicles do
local vehicle = vehicles[i]
-- Make sure the vehicle we're saving is empty, or else it won't be deleted
if GetVehicleNumberOfPassengers(vehicle) == 0 and IsVehicleSeatFree(vehicle, -1) then
local plate = ESX.Math.Trim(GetVehicleNumberPlateText(vehicle))
plates[#plates + 1] = plate
index[plate] = vehicle
end
end
else
ESX.ShowNotification(TranslateCap('garage_store_nearby'))
return
end
ESX.TriggerServerCallback('esx_policejob:storeNearbyVehicle', function(plate)
if plate then
local vehicleId = index[plate]
local attempts = 0
ESX.Game.DeleteVehicle(vehicleId)
local isBusy = true
CreateThread(function()
BeginTextCommandBusyspinnerOn('STRING')
AddTextComponentSubstringPlayerName(TranslateCap('garage_storing'))
EndTextCommandBusyspinnerOn(4)
while isBusy do
Wait(100)
end
BusyspinnerOff()
end)
-- Workaround for vehicle not deleting when other players are near it.
while DoesEntityExist(vehicleId) do
Wait(500)
attempts = attempts + 1
-- Give up
if attempts > 30 then
break
end
vehicles = ESX.Game.GetVehiclesInArea(playerCoords, 30.0)
if #vehicles > 0 then
for i = 1, #vehicles do
local vehicle = vehicles[i]
if ESX.Math.Trim(GetVehicleNumberPlateText(vehicle)) == plate then
ESX.Game.DeleteVehicle(vehicle)
break
end
end
end
end
isBusy = false
ESX.ShowNotification(TranslateCap('garage_has_stored'))
else
ESX.ShowNotification(TranslateCap('garage_has_notstored'))
end
end, plates)
end
function GetAvailableVehicleSpawnPoint(station, part, partNum)
local spawnPoints = Config.PoliceStations[station][part][partNum].SpawnPoints
local found, foundSpawnPoint = false, nil
for i=1, #spawnPoints, 1 do
if ESX.Game.IsSpawnPointClear(spawnPoints[i].coords, spawnPoints[i].radius) then
found, foundSpawnPoint = true, spawnPoints[i]
break
end
end
if found then
return true, foundSpawnPoint
else
ESX.ShowNotification(TranslateCap('vehicle_blocked'))
return false
end
end
function OpenShopMenu(elements, restoreCoords, shopCoords)
local playerPed = PlayerPedId()
isInShopMenu = true
ESX.OpenContext("right", elements, function(menu,element)
local elements2 = {
{unselectable = true, icon = "fas fa-car", title = element.title},
{icon = "fas fa-eye", title = TranslateCap('view'), value = "view"}
}
ESX.OpenContext("right", elements2, function(menu2,element2)
if element2.value == "view" then
DeleteSpawnedVehicles()
WaitForVehicleToLoad(element.model)
ESX.Game.SpawnLocalVehicle(element.model, shopCoords, 0.0, function(vehicle)
table.insert(spawnedVehicles, vehicle)
TaskWarpPedIntoVehicle(playerPed, vehicle, -1)
FreezeEntityPosition(vehicle, true)
SetModelAsNoLongerNeeded(element.model)
if element.props then
ESX.Game.SetVehicleProperties(vehicle, element.props)
end
end)
local elements3 = {
{unselectable = true, icon = "fas fa-car", title = element.title},
{icon = "fas fa-check-double", title = TranslateCap('buy_car'), value = "buy"},
{icon = "fas fa-eye", title = TranslateCap('stop_view'), value = "stop"}
}
ESX.OpenContext("right", elements3, function(menu3,element3)
if element3.value == 'stop' then
isInShopMenu = false
ESX.CloseContext()
DeleteSpawnedVehicles()
FreezeEntityPosition(playerPed, false)
SetEntityVisible(playerPed, true)
ESX.Game.Teleport(playerPed, restoreCoords)
elseif element3.value == "buy" then
local newPlate = exports['esx_vehicleshop']:GeneratePlate()
local vehicle = GetVehiclePedIsIn(playerPed, false)
local props = ESX.Game.GetVehicleProperties(vehicle)
props.plate = newPlate
ESX.TriggerServerCallback('esx_policejob:buyJobVehicle', function (bought)
if bought then
ESX.ShowNotification(TranslateCap('vehicleshop_bought', element.name, ESX.Math.GroupDigits(element.price)))
isInShopMenu = false
ESX.CloseContext()
DeleteSpawnedVehicles()
FreezeEntityPosition(playerPed, false)
SetEntityVisible(playerPed, true)
ESX.Game.Teleport(playerPed, restoreCoords)
else
ESX.ShowNotification(TranslateCap('vehicleshop_money'))
ESX.CloseContext()
end
end, props, element.type)
end
end, function()
isInShopMenu = false
ESX.CloseContext()
DeleteSpawnedVehicles()
FreezeEntityPosition(playerPed, false)
SetEntityVisible(playerPed, true)
ESX.Game.Teleport(playerPed, restoreCoords)
end)
end
end)
end)
end
CreateThread(function()
while true do
Wait(0)
if isInShopMenu then
DisableControlAction(0, 75, true) -- Disable exit vehicle
DisableControlAction(27, 75, true) -- Disable exit vehicle
else
Wait(500)
end
end
end)
function DeleteSpawnedVehicles()
while #spawnedVehicles > 0 do
local vehicle = spawnedVehicles[1]
ESX.Game.DeleteVehicle(vehicle)
table.remove(spawnedVehicles, 1)
end
end
function WaitForVehicleToLoad(modelHash)
modelHash = (type(modelHash) == 'number' and modelHash or joaat(modelHash))
if not HasModelLoaded(modelHash) then
RequestModel(modelHash)
BeginTextCommandBusyspinnerOn('STRING')
AddTextComponentSubstringPlayerName(TranslateCap('vehicleshop_awaiting_model'))
EndTextCommandBusyspinnerOn(4)
while not HasModelLoaded(modelHash) do
Wait(0)
DisableAllControlActions(0)
end
BusyspinnerOff()
end
end

View File

@@ -0,0 +1,333 @@
Config = {}
Config.DrawDistance = 10.0 -- How close do you need to be for the markers to be drawn (in GTA units).
Config.MarkerType = {Cloakrooms = 20, Armories = 21, BossActions = 22, Vehicles = 36, Helicopters = 34}
Config.MarkerSize = {x = 1.5, y = 1.5, z = 0.5}
Config.MarkerColor = {r = 50, g = 50, b = 204}
Config.EnablePlayerManagement = true -- Enable if you want society managing.
Config.EnableArmoryManagement = false
Config.EnableESXIdentity = true -- Enable if you're using esx_identity.
Config.EnableESXOptionalneeds = false -- Enable if you're using esx_optionalneeds
Config.EnableLicenses = false -- Enable if you're using esx_license.
Config.EnableHandcuffTimer = true -- Enable handcuff timer? will unrestrain player after the time ends.
Config.HandcuffTimer = 10 * 60000 -- 10 minutes.
Config.EnableCustomPeds = false -- Enable custom peds in cloak room? See Config.CustomPeds below to customize peds.
Config.EnableESXService = false -- Enable esx service?
Config.MaxInService = -1 -- How many people can be in service at once? Set as -1 to have no limit
Config.EnableFinePresets = false -- Set to false to use a custom input fields for fines
Config.Locale = GetConvar('esx:locale', 'en')
Config.OxInventory = ESX.GetConfig().OxInventory
Config.PoliceStations = {
LSPD = {
Blip = {
Coords = vector3(425.1, -979.5, 30.7),
Sprite = 60,
Display = 4,
Scale = 1.2,
Colour = 29
},
Cloakrooms = {
vector3(452.6, -992.8, 30.6)
},
Armories = {
vector3(451.7, -980.1, 30.6)
},
Vehicles = {
{
Spawner = vector3(454.6, -1017.4, 28.4),
InsideShop = vector3(228.5, -993.5, -99.5),
SpawnPoints = {
{coords = vector3(438.4, -1018.3, 27.7), heading = 90.0, radius = 6.0},
{coords = vector3(441.0, -1024.2, 28.3), heading = 90.0, radius = 6.0},
{coords = vector3(453.5, -1022.2, 28.0), heading = 90.0, radius = 6.0},
{coords = vector3(450.9, -1016.5, 28.1), heading = 90.0, radius = 6.0}
}
},
{
Spawner = vector3(473.3, -1018.8, 28.0),
InsideShop = vector3(228.5, -993.5, -99.0),
SpawnPoints = {
{coords = vector3(475.9, -1021.6, 28.0), heading = 276.1, radius = 6.0},
{coords = vector3(484.1, -1023.1, 27.5), heading = 302.5, radius = 6.0}
}
}
},
Helicopters = {
{
Spawner = vector3(461.1, -981.5, 43.6),
InsideShop = vector3(477.0, -1106.4, 43.0),
SpawnPoints = {
{coords = vector3(449.5, -981.2, 43.6), heading = 92.6, radius = 10.0}
}
}
},
BossActions = {
vector3(448.4, -973.2, 30.6)
}
}
}
Config.AuthorizedWeapons = {
recruit = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 1500},
{weapon = 'WEAPON_FLASHLIGHT', price = 80}
},
officer = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_ADVANCEDRIFLE', components = {0, 6000, 1000, 4000, 8000, nil}, price = 50000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 500},
{weapon = 'WEAPON_FLASHLIGHT', price = 0}
},
sergeant = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_ADVANCEDRIFLE', components = {0, 6000, 1000, 4000, 8000, nil}, price = 50000},
{weapon = 'WEAPON_PUMPSHOTGUN', components = {2000, 6000, nil}, price = 70000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 500},
{weapon = 'WEAPON_FLASHLIGHT', price = 0}
},
lieutenant = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_ADVANCEDRIFLE', components = {0, 6000, 1000, 4000, 8000, nil}, price = 50000},
{weapon = 'WEAPON_PUMPSHOTGUN', components = {2000, 6000, nil}, price = 70000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 500},
{weapon = 'WEAPON_FLASHLIGHT', price = 0}
},
boss = {
{weapon = 'WEAPON_APPISTOL', components = {0, 0, 1000, 4000, nil}, price = 10000},
{weapon = 'WEAPON_ADVANCEDRIFLE', components = {0, 6000, 1000, 4000, 8000, nil}, price = 50000},
{weapon = 'WEAPON_PUMPSHOTGUN', components = {2000, 6000, nil}, price = 70000},
{weapon = 'WEAPON_NIGHTSTICK', price = 0},
{weapon = 'WEAPON_STUNGUN', price = 500},
{weapon = 'WEAPON_FLASHLIGHT', price = 0}
}
}
Config.AuthorizedVehicles = {
car = {
recruit = {},
officer = {
{model = 'police3', price = 20000}
},
sergeant = {
{model = 'policet', price = 18500},
{model = 'policeb', price = 30500}
},
lieutenant = {
{model = 'riot', price = 70000},
{model = 'fbi2', price = 60000}
},
boss = {}
},
helicopter = {
recruit = {},
officer = {},
sergeant = {},
lieutenant = {
{model = 'polmav', props = {modLivery = 0}, price = 200000}
},
boss = {
{model = 'polmav', props = {modLivery = 0}, price = 100000}
}
}
}
Config.CustomPeds = {
shared = {
{label = TranslateCap('s_m_y_sheriff_01'), maleModel = 's_m_y_sheriff_01', femaleModel = 's_f_y_sheriff_01'},
{label = TranslateCap('s_m_y_cop_01'), maleModel = 's_m_y_cop_01', femaleModel = 's_f_y_cop_01'}
},
recruit = {},
officer = {},
sergeant = {},
lieutenant = {},
boss = {
{label = TranslateCap('s_m_y_swat_01'), maleModel = 's_m_y_swat_01', femaleModel = 's_m_y_swat_01'}
}
}
-- CHECK SKINCHANGER CLIENT MAIN.LUA for matching elements
Config.Uniforms = {
recruit = {
male = {
tshirt_1 = 59, tshirt_2 = 1,
torso_1 = 55, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 41,
pants_1 = 25, pants_2 = 0,
shoes_1 = 25, shoes_2 = 0,
helmet_1 = 46, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
},
female = {
tshirt_1 = 36, tshirt_2 = 1,
torso_1 = 48, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 44,
pants_1 = 34, pants_2 = 0,
shoes_1 = 27, shoes_2 = 0,
helmet_1 = 45, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
}
},
officer = {
male = {
tshirt_1 = 58, tshirt_2 = 0,
torso_1 = 55, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 41,
pants_1 = 25, pants_2 = 0,
shoes_1 = 25, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
},
female = {
tshirt_1 = 35, tshirt_2 = 0,
torso_1 = 48, torso_2 = 0,
decals_1 = 0, decals_2 = 0,
arms = 44,
pants_1 = 34, pants_2 = 0,
shoes_1 = 27, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
}
},
sergeant = {
male = {
tshirt_1 = 58, tshirt_2 = 0,
torso_1 = 55, torso_2 = 0,
decals_1 = 8, decals_2 = 1,
arms = 41,
pants_1 = 25, pants_2 = 0,
shoes_1 = 25, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
},
female = {
tshirt_1 = 35, tshirt_2 = 0,
torso_1 = 48, torso_2 = 0,
decals_1 = 7, decals_2 = 1,
arms = 44,
pants_1 = 34, pants_2 = 0,
shoes_1 = 27, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
}
},
lieutenant = {
male = {
tshirt_1 = 58, tshirt_2 = 0,
torso_1 = 55, torso_2 = 0,
decals_1 = 8, decals_2 = 2,
arms = 41,
pants_1 = 25, pants_2 = 0,
shoes_1 = 25, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
},
female = {
tshirt_1 = 35, tshirt_2 = 0,
torso_1 = 48, torso_2 = 0,
decals_1 = 7, decals_2 = 2,
arms = 44,
pants_1 = 34, pants_2 = 0,
shoes_1 = 27, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
}
},
boss = {
male = {
tshirt_1 = 58, tshirt_2 = 0,
torso_1 = 55, torso_2 = 0,
decals_1 = 8, decals_2 = 3,
arms = 41,
pants_1 = 25, pants_2 = 0,
shoes_1 = 25, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
},
female = {
tshirt_1 = 35, tshirt_2 = 0,
torso_1 = 48, torso_2 = 0,
decals_1 = 7, decals_2 = 3,
arms = 44,
pants_1 = 34, pants_2 = 0,
shoes_1 = 27, shoes_2 = 0,
helmet_1 = -1, helmet_2 = 0,
chain_1 = 0, chain_2 = 0,
ears_1 = 2, ears_2 = 0
}
},
bullet_wear = {
male = {
bproof_1 = 11, bproof_2 = 1
},
female = {
bproof_1 = 13, bproof_2 = 1
}
},
gilet_wear = {
male = {
tshirt_1 = 59, tshirt_2 = 1
},
female = {
tshirt_1 = 36, tshirt_2 = 1
}
}
}

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Police')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Recruit',20,'{}','{}'),
('police',1,'officer','Officer',40,'{}','{}'),
('police',2,'sergeant','Sergeant',60,'{}','{}'),
('police',3,'lieutenant','Lieutenant',85,'{}','{}'),
('police',4,'boss','Chief',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
('Misuse of a horn', 30, 0),
('Illegally Crossing a continuous Line', 40, 0),
('Driving on the wrong side of the road', 250, 0),
('Illegal U-Turn', 250, 0),
('Illegally Driving Off-road', 170, 0),
('Refusing a Lawful Command', 30, 0),
('Illegally Stopping a Vehicle', 150, 0),
('Illegal Parking', 70, 0),
('Failing to Yield to the right', 70, 0),
('Failure to comply with Vehicle Information', 90, 0),
('Failing to stop at a Stop Sign ', 105, 0),
('Failing to stop at a Red Light', 130, 0),
('Illegal Passing', 100, 0),
('Driving an illegal Vehicle', 100, 0),
('Driving without a License', 1500, 0),
('Hit and Run', 800, 0),
('Exceeding Speeds Over < 5 mph', 90, 0),
('Exceeding Speeds Over 5-15 mph', 120, 0),
('Exceeding Speeds Over 15-30 mph', 180, 0),
('Exceeding Speeds Over > 30 mph', 300, 0),
('Impeding traffic flow', 110, 1),
('Public Intoxication', 90, 1),
('Disorderly conduct', 90, 1),
('Obstruction of Justice', 130, 1),
('Insults towards Civilans', 75, 1),
('Disrespecting of an LEO', 110, 1),
('Verbal Threat towards a Civilan', 90, 1),
('Verbal Threat towards an LEO', 150, 1),
('Providing False Information', 250, 1),
('Attempt of Corruption', 1500, 1),
('Brandishing a weapon in city Limits', 120, 2),
('Brandishing a Lethal Weapon in city Limits', 300, 2),
('No Firearms License', 600, 2),
('Possession of an Illegal Weapon', 700, 2),
('Possession of Burglary Tools', 300, 2),
('Grand Theft Auto', 1800, 2),
('Intent to Sell/Distrube of an illegal Substance', 1500, 2),
('Frabrication of an Illegal Substance', 1500, 2),
('Possession of an Illegal Substance ', 650, 2),
('Kidnapping of a Civilan', 1500, 2),
('Kidnapping of an LEO', 2000, 2),
('Robbery', 650, 2),
('Armed Robbery of a Store', 650, 2),
('Armed Robbery of a Bank', 1500, 2),
('Assault on a Civilian', 2000, 3),
('Assault of an LEO', 2500, 3),
('Attempt of Murder of a Civilian', 3000, 3),
('Attempt of Murder of an LEO', 5000, 3),
('Murder of a Civilian', 10000, 3),
('Murder of an LEO', 30000, 3),
('Involuntary manslaughter', 1800, 3),
('Fraud', 2000, 2);
;

View File

@@ -0,0 +1,31 @@
fx_version 'adamant'
game 'gta5'
description 'Allows Players to RP as Police Officers (cars, outfits, handcuffing etc)'
lua54 'yes'
version '1.0.2'
legacyversion '1.13.4'
shared_script '@es_extended/imports.lua'
server_scripts {
'@oxmysql/lib/MySQL.lua',
'@es_extended/locale.lua',
'locales/*.lua',
'config.lua',
'server/*.lua'
}
client_scripts {
'@es_extended/locale.lua',
'locales/*.lua',
'config.lua',
'client/*.lua'
}
dependencies {
'es_extended',
'esx_billing',
'esx_vehicleshop'
}

View File

@@ -0,0 +1,170 @@
Locales['cs'] = {
-- Cloakroom
['cloakroom'] = 'satna',
['citizen_wear'] = 'civilní oblek',
['police_wear'] = 'policejní oblek',
['gilet_wear'] = 'oranžová reflexní vesta',
['bullet_wear'] = 'neprůstřelná vesta',
['no_outfit'] = 'není zde žádná uniforma, která by ti sedla!',
['open_cloackroom'] = 'stiskni [E] pro změnu oblečení.',
-- Armory
['remove_object'] = 'vzít objekt',
['deposit_object'] = 'odevzdat objekt',
['get_weapon'] = 'vzít zbraň ze zbrojnice',
['put_weapon'] = 'uchovat zbraň ve zbrojnici',
['buy_weapons'] = 'koupit zbraně',
['armory'] = 'zbrojnice',
['open_armory'] = 'stiskni [E] pro přístup do zbrojnice.',
['armory_owned'] = 'vlastněno',
['armory_free'] = 'zdarma',
['armory_item'] = '$%s',
['armory_weapontitle'] = 'zbrojnice',
['armory_componenttitle'] = 'zbrojnice - Příslušenství ke zbraním',
['armory_bought'] = 'zakoupil jsi %s za $%s',
['armory_money'] = 'nemáš dostatek peněz na tuto zbraň',
['armory_hascomponent'] = 'toto příslušenství máš již nainstalováno!',
['get_weapon_menu'] = 'zbrojnice - Vzít zbraň',
['put_weapon_menu'] = 'zbrojnice - Uchovat zbraň',
['confirm'] = 'Confirm', --not translated
-- Vehicles
['vehicle_menu'] = 'vozidlo',
['vehicle_blocked'] = 'vsechny dostupne spawn pointy jsou blokovany!',
['garage_prompt'] = 'stiskni [E] pro otevreni akce vozidel.',
['garage_title'] = 'akce vozidel',
['garage_stored'] = 'uloženo',
['garage_notstored'] = 'není v garáži',
['garage_storing'] = 'pokousime se o odstraneni vozidla, ujisti se, ze kolem nej nejsou hraci.',
['garage_has_stored'] = 'vozidlo bylo ulozeno do garaze',
['garage_has_notstored'] = 'zadne nejblizsi vlastnene vozidlo nenalezeno',
['garage_notavailable'] = 'tvoje vozidlo neni ulozeno v garazi.',
['garage_blocked'] = 'nejsou zde zadne spawn pointy!',
['garage_empty'] = 'zadne vozidlo nemas v garazi.',
['garage_released'] = 'tvoje vozidlo bylo vyjmuto z garaze.',
['garage_store_nearby'] = 'nejsou poblíž zádná vozidla.',
['garage_storeditem'] = 'otevřít garáž',
['garage_storeitem'] = 'uchovat vozidlo v garáži',
['garage_buyitem'] = 'prodej vozidel',
['garage_notauthorized'] = 'nemas opravneni ke koupi tohoto vozidla.',
['helicopter_prompt'] = 'stiskni [E] pro pristup k akcim Helikopter.',
['shop_item'] = '$%s',
['vehicleshop_title'] = 'prodejce vozidel',
['vehicleshop_confirm'] = 'opravdu chces koupit toto vozidlo?',
['vehicleshop_bought'] = 'koupil jsi %s za ~r~$%s',
['vehicleshop_money'] = 'toto vozidlo si nemuzete dovolit',
['vehicleshop_awaiting_model'] = 'vozidlo se prave stahuje a nacita prosim pockej',
['confirm_no'] = 'ne',
['confirm_yes'] = 'ano',
['view'] = 'View', --not translated
['buy_car'] = 'Buy', --not translated
['stop_view'] = 'Stop Viewing', --not translated
-- Service
['service_max'] = 'nemuzete vstoupit do sluzby, max dustojníci v provozu: %s/%s',
['service_not'] = 'nezadali jste sluzbu! Nejprve se musíte zmenit.',
['service_anonunce'] = 'informace o sluzbe',
['service_in'] = 'vstoupil jsi do sluzby, vitej!',
['service_in_announce'] = 'operator %s se pripojil do sluzby!',
['service_out'] = 'opustil jsi sluzbu.',
['service_out_announce'] = 'operator %s opustil jejich sluzbu.',
-- Action Menu
['menu_title'] = 'Police', --not translated
['citizen_interaction'] = 'Interakce s občanem',
['vehicle_interaction'] = 'Interakce vozidla',
['object_spawner'] = 'Objekty',
['id_card'] = 'Občanský průkaz',
['search'] = 'prohledat',
['handcuff'] = 'poutat / odpoutat',
['drag'] = 'prenést',
['put_in_vehicle'] = 'vlozit do vozidla',
['out_the_vehicle'] = 'vytahnout z vozidla',
['fine'] = 'pokuta',
['unpaid_bills'] = 'spravovat nezaplacené pokuty',
['license_check'] = 'spravovat průkazy',
['license_revoke'] = 'zneplatnit průkaz',
['license_revoked'] = 'vase %s bylo zruseno!',
['licence_you_revoked'] = 'zrusil jsi %s ktery patril %s',
['no_players_nearby'] = 'zadny hrac pobliz!',
['being_searched'] = 'prave jsi prohledavan policii',
['fine_enter_amount'] = 'Enter the amount of the fine', --not translated
['fine_enter_text'] = 'Enter the reason for the fine', --not translated
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Vehicle interaction
['vehicle_info'] = 'informace o vozidle',
['pick_lock'] = 'vypáčit vozidlo',
['vehicle_unlocked'] = 'vozidlo je Odemčeno',
['no_vehicles_nearby'] = 'there is no vehicles nearby',
['impound'] = 'odtahnout vozidlo',
['impound_prompt'] = 'zmackni [E] pro zruseni odtahnuti',
['impound_canceled'] = 'zrusil jsi odtah',
['impound_canceled_moved'] = 'odtah byl zrusen,protoze se vozidlo pohlo!',
['impound_successful'] = 'uspesne jsi odtahl vozidlo',
['search_database'] = 'informace o vozidle',
['search_database_title'] = 'informace o vozidle - pomocí registracnich cisel',
['search_database_error_invalid'] = 'tohle ~r~neni spravne registracni cislo',
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Traffic interaction
['traffic_interaction'] = 'interakce provozu',
['cone'] = 'kuzel',
['barrier'] = 'bariera',
['spikestrips'] = 'ostnaty pas',
['box'] = 'box',
['cash'] = 'box penez',
-- ID Card Menu
['name'] = 'jméno: %s',
['job'] = 'práce: %s',
['sex'] = 'pohlaví: %s',
['dob'] = 'DOB: %s',
['height'] = 'výška: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'neznámé',
['male'] = 'muž',
['female'] = 'žena',
-- Body Search Menu
['guns_label'] = '--- Zbraně ---',
['inventory_label'] = '--- Inventář ---',
['license_label'] = ' --- Průkazy ---',
['confiscate'] = 'zabavit %s',
['confiscate_weapon'] = 'zabavit %s s %s naboji',
['confiscate_inv'] = 'zabavit %sx %s',
['confiscate_dirty'] = 'zabavit spinave penize: <span style="color:red;">$%s</span>',
['you_confiscated'] = 'zabavil jsi %sx %s od %s',
['got_confiscated'] = '%sx %s byly zabaveny od %s',
['you_confiscated_account'] = 'zabavil jsi $%s (%s) od %s',
['got_confiscated_account'] = '$%s (%s) byly zabaveny %s',
['you_confiscated_weapon'] = 'zabavil jsi %s od %s s ~o~%s naboji ',
['got_confiscated_weapon'] = 'tvoje %s s ~o~%s bylo zabaveno od %s',
['traffic_offense'] = 'dopravní přestupek',
['minor_offense'] = 'malý přestupek',
['average_offense'] = 'přestupek',
['major_offense'] = 'trestný čin',
['fine_total'] = 'pokuta: %s',
-- Vehicle Info Menu
['plate'] = 'SPZ: %s',
['owner_unknown'] = 'vlastník: Neznámý',
['owner'] = 'vlastník: %s',
-- Boss Menu
['open_bossmenu'] = 'stiskni [E] pro otevření menu',
['quantity_invalid'] = 'neplatné množství',
['have_withdrawn'] = 'vybral jsi %sx %s',
['have_deposited'] = 'vložil jsi %sx %s',
['quantity'] = 'množství',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'inventář',
['police_stock'] = 'policejní sklad',
-- Misc
['remove_prop'] = 'stiskni [E] pro odstranění předmětu',
['map_blip'] = 'policejní stanice',
['unrestrained_timer'] = 'cítíš, že tvé pouta pomalu ztrácejí přilnavost a padají.',
-- Notifications
['alert_police'] = 'policejní poplach',
['phone_police'] = 'policie',
-- Keybind
['interaction'] = 'Interact', --not translated
['quick_actions'] = 'Quick Actions', --not translated
-- Other
['society_police'] = 'Police', --not translated
['s_m_y_sheriff_01'] = 'Sheriff Ped', --not translated
['s_m_y_cop_01'] = 'Police Ped', -- not translated
['s_m_y_swat_01'] = 'SWAT Ped', --not translated
}

View File

@@ -0,0 +1,170 @@
Locales['de'] = {
-- Cloackroom
['cloakroom'] = 'Garderobe',
['citizen_wear'] = 'Zivilkleidung',
['police_wear'] = 'Arbeitskleidung',
['gilet_wear'] = 'Orangene Sicherheits Weste',
['bullet_wear'] = 'Schusssichere Weste',
['no_outfit'] = 'Es gibt keine Klamotten die dir passen.',
['open_cloackroom'] = 'Drücke [E] um dich umzuziehen',
-- Armory
['remove_object'] = 'Objekt nehmen',
['deposit_object'] = 'Objekt verstauen',
['get_weapon'] = 'Waffen holen',
['put_weapon'] = 'Waffen bringen',
['buy_weapons'] = 'Waffen kaufen',
['armory'] = 'Waffenkammer',
['open_armory'] = 'Drücke [E] um die Waffenkammer zu öffnen.',
['armory_owned'] = 'gekauft',
['armory_free'] = 'gratis',
['armory_item'] = '%s€',
['armory_weapontitle'] = 'Waffenkammer - Waffe Kaufen',
['armory_componenttitle'] = 'Waffenkammer - Waffenzubehör',
['armory_bought'] = 'Du kaufst eine ~y~%s~s~ für ~r~%s€~s~',
['armory_money'] = 'Du kannst dir diese Waffe nicht leisten!',
['armory_hascomponent'] = 'Du hast dieses Zubehör an deiner Waffe!',
['get_weapon_menu'] = 'Waffenkammer - Waffe nehmen',
['put_weapon_menu'] = 'Waffenkammer - Waffe verstauen',
['confirm'] = 'Bestätigen',
-- Vehicles
['vehicle_menu'] = 'Fahrzeug',
['vehicle_blocked'] = 'Alle verfügbaren Spawnpunkte sind derzeit belegt!',
['garage_prompt'] = 'Drücke [E] um auf die ~y~Fahrzeug Aktionen~s~ zuzugreifen.',
['garage_title'] = 'Fahrzeug Aktionen',
['garage_stored'] = 'Eingeparkt',
['garage_notstored'] = 'Nicht in der Garage',
['garage_storing'] = 'Wir sind dabei dein Fahrzeug einzuparken! Bitte beachte das keine Personen drumrum sind!',
['garage_has_stored'] = 'Das Fahrzeug wurde in deiner Garage verstaut!',
['garage_has_notstored'] = 'Es wurden keine Fahrzeuge in der Nähe gefunden!',
['garage_notavailable'] = 'Dein Fahrzeug ist nicht in der Garage.',
['garage_blocked'] = 'Es existieren keine Spawnpunkte für die Fahrzeuge',
['garage_empty'] = 'Du hast keine Fahrzeuge in der Garage.',
['garage_released'] = 'Dein Auto wurde von der Garage befreit.',
['garage_store_nearby'] = 'Es gibt keine Fahrzeuge in deiner Nähe',
['garage_storeditem'] = 'Garage öffnen',
['garage_storeitem'] = 'Parke dein Fahrzeug in der Garage ein',
['garage_buyitem'] = 'Fahrzeug Händler',
['garage_notauthorized'] = 'Du hast keinen zugriff auf die Garage!',
['helicopter_prompt'] = 'Drücke [E] um auf die ~y~Helikopter Aktionen~s~ zuzugreifen.',
['shop_item'] = '%s€',
['vehicleshop_title'] = 'Fahrzeughändler',
['vehicleshop_confirm'] = 'Möchtest du dieses Fahrzeug wirklich kaufen?',
['vehicleshop_bought'] = 'Du kaufst ~y~%s~s~ für ~r~%s€~s~',
['vehicleshop_money'] = 'Du kannst dir das Fahrzeug nicht leisten!',
['vehicleshop_awaiting_model'] = 'Das Fahrzeug ist derzeit am ~g~Herunterladen & Laden~s~ warte bitte...',
['confirm_no'] = 'Nein',
['confirm_yes'] = 'Ja',
['view'] = 'Ansehen',
['buy_car'] = 'Kaufen',
['stop_view'] = 'Ansehen beenden',
-- Service
['service_max'] = 'Du kannst nicht On-Duty gehen. Es sind zuviele Officer im Dienst: %s/%s',
['service_not'] = 'Du bist nun On-Duty! Du musst dich zuerst umziehen!',
['service_anonunce'] = 'Service Informationen',
['service_in'] = 'Du bist nun im Dienst! Willkommen!',
['service_in_announce'] = 'Officer ~y~%s~s~ ist nun im Dienst!',
['service_out'] = 'Du bist nun Off-Duty',
['service_out_announce'] = 'Officer ~y~%s~s~ ist nun nicht mehr im Dienst!',
-- Action Menu
['menu_title'] = 'Polizei',
['citizen_interaction'] = 'Zivilisten Interaktion',
['vehicle_interaction'] = 'Fahrzeug Interaktion',
['object_spawner'] = 'Objekt Spawner',
['id_card'] = 'Ausweis',
['search'] = 'Durchsuchen',
['handcuff'] = 'Festnehmen / Freilassen',
['drag'] = 'Ziehen',
['put_in_vehicle'] = 'Ins Fahrzeug Packen',
['out_the_vehicle'] = 'Aus dem Fahrzeug nehmen',
['fine'] = 'Rechnung',
['unpaid_bills'] = 'Unbezahlte Rechnungen verwalten',
['license_check'] = 'Lizenzen Verwalten',
['license_revoke'] = 'Lizenz entziehen',
['license_revoked'] = 'Deine Lizenz ~b~%s~s~ wurde ~y~entzogen~s~!',
['licence_you_revoked'] = 'Du entziehst eine ~b~%s~s~ welche zu ~y~%s~s~ gehörte.',
['no_players_nearby'] = 'Es sind keine Personen in der Nähe!',
['being_searched'] = 'Du wirst von der Polizei durchsucht!',
['fine_enter_amount'] = 'Gebe den Betrag der Geldstrafe ein',
['fine_enter_text'] = 'Gebe den Grund der Geldstrafe ein',
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Vehicle interaction
['vehicle_info'] = 'Fahrzeug Info',
['pick_lock'] = 'Fahrzeug Aufbrechen',
['vehicle_unlocked'] = 'Fahrzeug ~g~Aufgeschlossen~s~',
['no_vehicles_nearby'] = 'Es gibt keine Fahrzeuge in der Nähe',
['impound'] = 'Fahrzeug Abschleppen',
['impound_prompt'] = 'Drücke [E] um das Abschleppen abzubrechen',
['impound_canceled'] = 'Du hast das abschleppen abgebrochen',
['impound_canceled_moved'] = 'Das abschleppen wurde abgebrochen, da das Fahrzeug sich bewegt hat!',
['impound_successful'] = 'Du hast das Fahrzeug abgeschleppt',
['search_database'] = 'Fahrzeug Informationen',
['search_database_title'] = 'Fahrzeug Informationen - Suche mit dem Kennzeichen',
['search_database_error_invalid'] = 'Das ist kein gültiges Kennzeichen!',
-- Traffic interaction
['search_plate'] = 'Kennzeichen Eingeben',
['lookup_plate'] = 'Kennzeichen Suchen',
['traffic_interaction'] = 'Vehrkehrs Interaktionen',
['cone'] = 'Hütchen',
['barrier'] = 'Barriere',
['spikestrips'] = 'Nagelband',
['box'] = 'Box',
['cash'] = 'Box mit Geld',
-- ID Card Menu
['name'] = 'Name: %s',
['job'] = 'Job: %s',
['sex'] = 'Geschlect: %s',
['dob'] = 'Geburtsdatum: %s',
['height'] = 'Größe: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'Unbekannt',
['male'] = 'Männlich',
['female'] = 'Weiblich',
-- Body Search Menu
['guns_label'] = '--- Waffen ---',
['inventory_label'] = '--- Inventar ---',
['license_label'] = ' --- Lizenzen ---',
['confiscate'] = 'Konfiszieren %s',
['confiscate_weapon'] = 'Du konfiszierst %s mit %s Munition',
['confiscate_inv'] = 'Konfiziere %sx %s',
['confiscate_dirty'] = 'Konfisziere Schwarzgeld: <span style="color:red;">%s€</span>',
['you_confiscated'] = 'Du konfiszierst ~y~%sx~s~ ~b~%s~s~ von ~b~%s~s~',
['got_confiscated'] = '~y~%sx~s~ ~b~%s~s~ wurden konfisziert von ~y~%s~s~',
['you_confiscated_account'] = 'Du konfiszierst ~g~%s€~s~ (%s) von ~b~%s~s~',
['got_confiscated_account'] = '~g~%s€~s~ (%s) wurde konfisziert von ~y~%s~s~',
['you_confiscated_weapon'] = 'Du konfiszierst ~b~%s~s~ von ~b~%s~s~ mit ~o~%s~s~ Munition',
['got_confiscated_weapon'] = 'Dein ~b~%s~s~ mit ~o~%s~s~ wurde konfisziert von ~y~%s~s~',
['traffic_offense'] = 'Vehrkersvergehen',
['minor_offense'] = 'Unerhebliches vergehen',
['average_offense'] = 'Durchschnittliches Vergehen',
['major_offense'] = 'Wesentliches Vehrgehen',
['fine_total'] = 'Rechnung: %s',
-- Vehicle Info Menu
['plate'] = 'Kennzeichen: %s',
['owner_unknown'] = 'Besitzer: Unbekannt',
['owner'] = 'Besitzer: %s',
-- Boss Menu
['open_bossmenu'] = 'Drücke [E] um das Menü zu öffnen',
['quantity_invalid'] = 'Ungültige Anzahl',
['have_withdrawn'] = 'Du zahlst ~y~%sx~s~ ~b~%s~s~ aus',
['have_deposited'] = 'Du zahlst ~y~%sx~s~ ~b~%s~s~ ein',
['quantity'] = 'Anzahl',
['quantity_placeholder'] = 'Anzahl zum Einzahlen..',
['inventory'] = 'Inventar',
['police_stock'] = 'Polizeilager',
-- Misc
['remove_prop'] = 'Drücke [E] um das Objekt zu entfernen',
['map_blip'] = 'Polizeiwache',
['unrestrained_timer'] = 'Du fühlst wie du aus deinen Handschellen langsam rausgleitest! Renn!',
-- Notifications
['alert_police'] = 'Polizei Alarmieren',
['phone_police'] = 'Polizei',
-- Keybind
['interaction'] = 'Interagieren',
['quick_actions'] = 'Schnelle Aktionen',
-- Other
['society_police'] = 'Polizei',
['s_m_y_sheriff_01'] = 'Sheriff Charakter',
['s_m_y_cop_01'] = 'Polizei Charakter',
['s_m_y_swat_01'] = 'SWAT Charakter',
}

View File

@@ -0,0 +1,170 @@
Locales['en'] = {
-- Cloakroom
['cloakroom'] = 'locker room',
['citizen_wear'] = 'civilian Outfit',
['police_wear'] = 'police Outfit',
['gilet_wear'] = 'orange reflective jacket',
['bullet_wear'] = 'bulletproof vest',
['no_outfit'] = 'there\'s no uniform that fits you!',
['open_cloackroom'] = 'press [E] to change clothes.',
-- Armory
['remove_object'] = 'withdraw object',
['deposit_object'] = 'deposit object',
['get_weapon'] = 'withdraw weapon from armory',
['put_weapon'] = 'store weapon in armory',
['buy_weapons'] = 'buy weapons',
['armory'] = 'armory',
['open_armory'] = 'press [E] to access the Armory.',
['armory_owned'] = 'owned',
['armory_free'] = 'free',
['armory_item'] = '$%s',
['armory_weapontitle'] = 'armory - Buy weapon',
['armory_componenttitle'] = 'armory - Weapon attatchments',
['armory_bought'] = 'you bought an %s for $%s',
['armory_money'] = 'you cannot afford that weapon',
['armory_hascomponent'] = 'you have that attatchment equiped!',
['get_weapon_menu'] = 'armory - Withdraw Weapon',
['put_weapon_menu'] = 'armory - Store Weapon',
['confirm'] = 'Confirm',
-- Vehicles
['vehicle_menu'] = 'vehicle',
['vehicle_blocked'] = 'all available spawn points are currently blocked!',
['garage_prompt'] = 'press [E] to access the Vehicle Actions.',
['garage_title'] = 'vehicle Actions',
['garage_stored'] = 'stored',
['garage_notstored'] = 'not in garage',
['garage_storing'] = 'we\'re attempting to remove the vehicle, make sure no players are around it.',
['garage_has_stored'] = 'the vehicle has been stored in your garage',
['garage_has_notstored'] = 'no nearby owned vehicles were found',
['garage_notavailable'] = 'your vehicle is not stored in the garage.',
['garage_blocked'] = 'there\'s no available spawn points!',
['garage_empty'] = 'you don\'t have any vehicles in your garage.',
['garage_released'] = 'your vehicle has been released from the garage.',
['garage_store_nearby'] = 'there is no nearby vehicles.',
['garage_storeditem'] = 'open garage',
['garage_storeitem'] = 'store vehicle in garage',
['garage_buyitem'] = 'vehicle shop',
['garage_notauthorized'] = 'you\'re not authorized to buy this kind of vehicles.',
['helicopter_prompt'] = 'press [E] to access the Helicopter Actions.',
['shop_item'] = '$%s',
['vehicleshop_title'] = 'vehicle Shop',
['vehicleshop_confirm'] = 'do you want to buy this vehicle?',
['vehicleshop_bought'] = 'you have bought %s for ~r~$%s',
['vehicleshop_money'] = 'you cannot afford that vehicle',
['vehicleshop_awaiting_model'] = 'the vehicle is currently DOWNLOADING & LOADING please wait',
['confirm_no'] = 'no',
['confirm_yes'] = 'yes',
['view'] = 'View',
['buy_car'] = 'Buy',
['stop_view'] = 'Stop Viewing',
-- Service
['service_max'] = 'you cannot enter service, max officers in service: %s/%s',
['service_not'] = 'you have not entered service! You\'ll have to get changed first.',
['service_anonunce'] = 'service information',
['service_in'] = 'you\'ve entered service, welcome!',
['service_in_announce'] = 'operator %s has entered service!',
['service_out'] = 'you have left service.',
['service_out_announce'] = 'operator %s has left their service.',
-- Action Menu
['menu_title'] = 'Police',
['citizen_interaction'] = 'citizen Interaction',
['vehicle_interaction'] = 'vehicle Interaction',
['object_spawner'] = 'object Spawner',
['id_card'] = 'ID Card',
['search'] = 'search',
['handcuff'] = 'cuff / Uncuff',
['drag'] = 'escort',
['put_in_vehicle'] = 'put in Vehicle',
['out_the_vehicle'] = 'drag out from vehicle',
['fine'] = 'fine',
['unpaid_bills'] = 'manage unpaid bills',
['license_check'] = 'manage license',
['license_revoke'] = 'revoke license',
['license_revoked'] = 'your %s has been revoked!',
['licence_you_revoked'] = 'you revoked a %s which belonged to %s',
['no_players_nearby'] = 'there is no player(s) nearby!',
['being_searched'] = 'you are being searched by the Police',
-- Vehicle interaction
['vehicle_info'] = 'vehicle Info',
['pick_lock'] = 'lockpick Vehicle',
['vehicle_unlocked'] = 'vehicle Unlocked',
['no_vehicles_nearby'] = 'there is no vehicles nearby',
['impound'] = 'impound vehicle',
['impound_prompt'] = 'press [E] to cancel the impound',
['impound_canceled'] = 'you canceled the impound',
['impound_canceled_moved'] = 'the impound has been canceled because the vehicle moved',
['impound_successful'] = 'you have impounded the vehicle',
['search_database'] = 'vehicle information',
['search_database_title'] = 'vehicle information - search with registration number',
['search_database_error_invalid'] = 'that is ~r~not a valid registration number',
['search_plate'] = 'Enter Plate',
['lookup_plate'] = 'Lookup Plate',
-- Traffic interaction
['traffic_interaction'] = 'interaction Traffic',
['cone'] = 'cone',
['barrier'] = 'barrier',
['spikestrips'] = 'spikestrips',
['box'] = 'box',
['cash'] = 'box of cash',
-- ID Card Menu
['name'] = 'name: %s',
['job'] = 'job: %s',
['sex'] = 'sex: %s',
['dob'] = 'DOB: %s',
['height'] = 'height: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'unknown',
['male'] = 'male',
['female'] = 'female',
-- Body Search Menu
['guns_label'] = '--- Guns ---',
['inventory_label'] = '--- Inventory ---',
['license_label'] = ' --- Licenses ---',
['confiscate'] = 'confiscate %s',
['confiscate_weapon'] = 'confiscate %s with %s bullets',
['confiscate_inv'] = 'confiscate %sx %s',
['confiscate_dirty'] = 'confiscate dirty money: <span style="color:red;">$%s</span>',
['you_confiscated'] = 'you confiscated %sx %s from %s',
['got_confiscated'] = '%sx %s were confiscated by %s',
['you_confiscated_account'] = 'you confiscated $%s (%s) from %s',
['got_confiscated_account'] = '$%s (%s) was confiscated by %s',
['you_confiscated_weapon'] = 'you confiscated %s from %s with ~o~%s bullets',
['got_confiscated_weapon'] = 'your %s with ~o~%s bullets was confiscated by %s',
['traffic_offense'] = 'traffic Offense',
['minor_offense'] = 'minor Offense',
['average_offense'] = 'average Offense',
['major_offense'] = 'major Offense',
['fine_total'] = 'fine: %s',
['fine_enter_amount'] = 'Enter the amount of the fine',
['fine_enter_text'] = 'Enter the reason for the fine',
['invalid_amount'] = 'Error: Amount was not a number or invalid',
-- Vehicle Info Menu
['plate'] = 'plate: %s',
['owner_unknown'] = 'owner: Unknown',
['owner'] = 'owner: %s',
-- Boss Menu
['open_bossmenu'] = 'press [E] to open the menu',
['quantity_invalid'] = 'invalid quantity',
['have_withdrawn'] = 'you have withdrawn %sx %s',
['have_deposited'] = 'you have deposited %sx %s',
['quantity'] = 'quantity',
['quantity_placeholder'] = 'Amount to withdraw..',
['inventory'] = 'inventory',
['police_stock'] = 'police Stock',
-- Misc
['remove_prop'] = 'press [E] to delete the object',
['map_blip'] = 'police Station',
['unrestrained_timer'] = 'you feel your handcuffs slowly losing grip and fading away.',
-- Notifications
['alert_police'] = 'police alert',
['phone_police'] = 'police',
-- Keybind
['interaction'] = 'Interact',
['quick_actions'] = 'Quick Actions',
-- Other
['society_police'] = 'Police',
['s_m_y_sheriff_01'] = 'Sheriff Ped',
['s_m_y_cop_01'] = 'Police Ped',
['s_m_y_swat_01'] = 'SWAT Ped',
}

View File

@@ -0,0 +1,171 @@
Locales['es'] = {
-- Cloakroom
['cloakroom'] = 'Taquilla',
['citizen_wear'] = 'Ropa de civil',
['police_wear'] = 'Uniforme',
['gilet_wear'] = 'Chaqueta reflectante naranja',
['bullet_wear'] = 'Chaleco antibalas',
['no_outfit'] = '¡No hay ningún uniforme disponible para ti!',
['open_cloackroom'] = 'Presionar [E] para abrir su taquilla',
-- Armory
['remove_object'] = 'Coger objeto',
['deposit_object'] = 'Depositar objeto',
['get_weapon'] = 'Coger arma',
['put_weapon'] = 'Depositar arma',
['buy_weapons'] = 'Comprar armas',
['armory'] = 'Armeria',
['open_armory'] = 'Presionar [E] para acceder a la armeria',
['armory_owned'] = 'Comprada',
['armory_free'] = 'Gratis',
['armory_item'] = '$%s',
['armory_weapontitle'] = 'Armeria - Comprar arma',
['armory_componenttitle'] = 'Armeria - Complementos del arma',
['armory_bought'] = 'compraste una %s por $%s',
['armory_money'] = 'No dispones de suficiente dinero para comprar esta arma',
['armory_hascomponent'] = '¡Ya dispones de ese complemento!',
['get_weapon_menu'] = 'Armeria - Retirar arma',
['put_weapon_menu'] = 'Armeria - Guardar arma',
['confirm'] = 'Confirm', --not translated
-- Vehicles
['vehicle_menu'] = 'Vehículos',
['vehicle_blocked'] = '¡Todos los puntos de aparición de vehículos están ocupados!',
['garage_prompt'] = 'Presione [E] para acceder a Acciones del Vehículo.',
['garage_title'] = 'Acciones del vehículo',
['garage_stored'] = 'Guardado',
['garage_notstored'] = 'No se encuentra en el garaje',
['garage_storing'] = 'Estamos intentando borrar el vehículo, asegurate de que no haya jugadores cerca.',
['garage_has_stored'] = 'El vehículo ha sido guardado en su garaje',
['garage_has_notstored'] = 'no nearby owned vehicles were found',
['garage_notavailable'] = 'Su vehículo no está guardado en el garaje.',
['garage_blocked'] = '¡No hay ningún punto de spawn disponible!',
['garage_empty'] = 'No dispones de ningún vehículo en su garaje.',
['garage_released'] = 'your vehicle has been released from the garage.',
['garage_store_nearby'] = 'No hay vehículos cercanos.',
['garage_storeditem'] = 'Abrir garaje',
['garage_storeitem'] = 'Guardar vehículo en el garaje',
['garage_buyitem'] = 'Tienda de vehículos',
['garage_notauthorized'] = 'No estás autorizado a comprar este tipo de vehículos.',
['helicopter_prompt'] = 'press [E] to access the Helicopter Actions.',
['shop_item'] = '$%s',
['vehicleshop_title'] = 'Tienda de vehículos',
['vehicleshop_confirm'] = '¿Quieres comprar este vehículo?',
['vehicleshop_bought'] = 'Has comprado un %s por ~r~$%s',
['vehicleshop_money'] = 'No tienes suficiente dinero para comprar este vehículo',
['vehicleshop_awaiting_model'] = 'El vehículo se está DESCARGANDO Y CARGANDO porfavor espere',
['confirm_no'] = 'no',
['confirm_yes'] = 'si',
['view'] = 'View', --not translated
['buy_car'] = 'Buy', --not translated
['stop_view'] = 'Stop Viewing', --not translated
-- Service
['service_max'] = 'No puedes entrar de servicio porque se ha alcanzado el número máximo: %s/%s',
['service_not'] = '¡No has entrado de servicio! Debes hacerlo primeramente.',
['service_anonunce'] = 'Información de servicio',
['service_in'] = 'Has entrado de servicio. ¡Bienvenido!',
['service_in_announce'] = '¡El agente %s ha entrado de servicio!',
['service_out'] = 'Has salido de servicio.',
['service_out_announce'] = 'El agente %s se ha salido de servicio.',
-- Action Menu
['menu_title'] = 'Police', --not translated
['citizen_interaction'] = 'Interacción ciudadana',
['vehicle_interaction'] = 'Interacción vehículo',
['object_spawner'] = 'Colocar objetos',
['id_card'] = 'Documento de identidad',
['search'] = 'Buscar',
['handcuff'] = 'Poner/quitar Esposas',
['drag'] = 'escoltar',
['put_in_vehicle'] = 'Meter en el vehículo',
['out_the_vehicle'] = 'Sacar del vehículo',
['fine'] = 'Multa',
['unpaid_bills'] = 'manage unpaid bills',
['license_check'] = 'Gestionar licencia',
['license_revoke'] = 'Revocar licencia',
['license_revoked'] = 'Su %s ha sido revocar!',
['licence_you_revoked'] = 'you revoked a %s which belonged to %s',
['no_players_nearby'] = 'no hay jugadores cerca',
['being_searched'] = 'you are being searched by the Police',
['fine_enter_amount'] = 'Enter the amount of the fine', --not translated
['fine_enter_text'] = 'Enter the reason for the fine', --not translated
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Vehicle interaction
['vehicle_info'] = 'Información del vehículo',
['pick_lock'] = 'Forzar coche',
['vehicle_unlocked'] = 'Vehículo desbloqueado',
['no_vehicles_nearby'] = 'No hay vehículos cerca',
['impound'] = 'Confiscar vehículo',
['impound_prompt'] = 'Presione [E] para cancelar impound',
['impound_canceled'] = 'you canceled the impound',
['impound_canceled_moved'] = 'the impound has been canceled because the vehicle moved',
['impound_successful'] = 'you have impounded the vehicle',
['search_database'] = 'vehicle information',
['search_database_title'] = 'vehicle information - search with registration number',
['search_database_error_invalid'] = 'that is ~r~not a valid registration number',
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Traffic interaction
['traffic_interaction'] = 'Rutas de interacción',
['cone'] = 'Cono',
['barrier'] = 'Barrera',
['spikestrips'] = 'Grada',
['box'] = 'Caja',
['cash'] = 'Dinero',
-- ID Card Menu
['name'] = 'Nombre: %s',
['job'] = 'Trabajo: %s',
['sex'] = 'Sexo: %s',
['dob'] = 'DOB: %s',
['height'] = 'Altura: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'Desconocido',
['male'] = 'Hombre',
['female'] = 'Mujer',
-- Body Search Menu
['guns_label'] = '--- Armas ---',
['inventory_label'] = '--- Inventario ---',
['license_label'] = ' --- Licenses ---',
['confiscate'] = 'confiscar %s',
['confiscate_weapon'] = 'confiscate %s with %s bullets',
['confiscate_inv'] = 'confiscar %sx %s',
['confiscate_dirty'] = 'confiscar dinero negro: <span style="color:red;">€%s</span>',
['you_confiscated'] = 'you confiscated %sx %s from %s',
['got_confiscated'] = '%sx %s were confiscated by %s',
['you_confiscated_account'] = 'Has confiscado €%s (%s) de %s',
['got_confiscated_account'] = '€%s (%s) ha sido confiscado por %s',
['you_confiscated_weapon'] = 'you confiscated %s from %s with ~o~%s bullets',
['got_confiscated_weapon'] = 'your %s with ~o~%s bullets was confiscated by %s',
['traffic_offense'] = 'Delito de tráfico',
['minor_offense'] = 'Delito menor',
['average_offense'] = 'Delito medio',
['major_offense'] = 'Delito grave',
['fine_total'] = 'Multa total: %s',
-- Vehicle Info Menu
['plate'] = 'n°: %s',
['owner_unknown'] = 'propietario: Desconocido',
['owner'] = 'propietario: %s',
-- Boss Menu
['open_bossmenu'] = 'presionar [E] para abrir el menú',
['quantity_invalid'] = 'cantidad invalida',
['have_withdrawn'] = 'you have withdrawn %sx %s',
['have_deposited'] = 'you have deposited %sx %s',
['quantity'] = 'cantidad',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'inventario',
['police_stock'] = 'almacen Policial',
-- Misc
['remove_prop'] = 'presionar [E] para eliminar el objeto',
['map_blip'] = 'comisaría de policía',
['unrestrained_timer'] = 'you feel your handcuffs slowly losing grip and fading away.',
-- Notifications
['alert_police'] = 'alerta policia',
['phone_police'] = 'policia',
-- Keybind
['interaction'] = 'Interact', --not translated
['quick_actions'] = 'Quick Actions', --not translated
-- Other
['society_police'] = 'Police', --not translated
['s_m_y_sheriff_01'] = 'Sheriff Ped', --not translated
['s_m_y_cop_01'] = 'Police Ped', -- not translated
['s_m_y_swat_01'] = 'SWAT Ped', --not translated
}

View File

@@ -0,0 +1,171 @@
Locales['fi'] = {
-- Cloakroom
['cloakroom'] = 'vaatelokero',
['citizen_wear'] = 'siviiliasu',
['police_wear'] = 'poliisiasu',
['gilet_wear'] = 'huomioliivi',
['bullet_wear'] = 'luotiliivi',
['no_outfit'] = 'täällä ei ole sinulle sopivaa asua',
['open_cloackroom'] = 'paina [E] vaihtaaksesi vaatteita.',
-- Armory
['remove_object'] = 'ota esine',
['deposit_object'] = 'talleta esine',
['get_weapon'] = 'ota ase',
['put_weapon'] = 'laita ase pois',
['buy_weapons'] = 'osta aseita',
['armory'] = 'asevarasto',
['open_armory'] = 'paina [E] avataksesi asevarasto',
['armory_owned'] = 'sinulla on jo tämä',
['armory_free'] = 'ilmainen',
['armory_item'] = '$%s',
['armory_weapontitle'] = 'Asevarasto - osta ase',
['armory_componenttitle'] = 'Asevarasto - osta aseenosia',
['armory_bought'] = 'ostit %s hintaan $%s',
['armory_money'] = 'sinulla ei ole varaa tähän',
['armory_hascomponent'] = 'sinulla on jo tämä aseenosa!',
['get_weapon_menu'] = 'asevarasto - ota ase',
['put_weapon_menu'] = 'asevarasto - talleta ase',
['confirm'] = 'varmista',
-- Vehicles
['vehicle_menu'] = 'ajoneuvo',
['vehicle_blocked'] = 'kaikki saatavilla olevat parkkipaikat on varattuja!',
['garage_prompt'] = 'Paina [E] avataksesi ajoneuvovalinnat.',
['garage_title'] = 'ajoneuvovalinnat',
['garage_stored'] = 'talletettu',
['garage_notstored'] = 'ei tallissa',
['garage_storing'] = 'yritämme poistaa ajoneuvoa..',
['garage_has_stored'] = 'ajoneuvo on talletettu',
['garage_has_notstored'] = 'ei ajoneuvoja lähettyvillä',
['garage_notavailable'] = 'ajoneuvoa ei ole talletettu talliin.',
['garage_blocked'] = 'ei vapaita parkkipaikkoja!',
['garage_empty'] = 'sinulla ei ole ajoneuvoja tallissa.',
['garage_released'] = 'ajoneuvosi on otettu ulos tallista.',
['garage_store_nearby'] = 'ei ajoneuvoja lähettyvillä.',
['garage_storeditem'] = 'avaa talli',
['garage_storeitem'] = 'talleta ajoneuvo talliin',
['garage_buyitem'] = 'ajoneuvokauppa',
['garage_notauthorized'] = 'sinulla ei ole valtuuksia ostaa tätä.',
['helicopter_prompt'] = 'paina [E] avataksesi helikopterivalinnat.',
['shop_item'] = '$%s',
['vehicleshop_title'] = 'Ajoneuvokauppa',
['vehicleshop_confirm'] = 'Haluatko varmasti ostaa tämän ajoneuvon?',
['vehicleshop_bought'] = 'Ostit %s hintaan ~r~$%s',
['vehicleshop_money'] = 'Sinulla ei ole rahaa tähän autoon',
['vehicleshop_awaiting_model'] = 'Ajoneuvo lataa ole killti ja odota',
['confirm_no'] = 'no',
['confirm_yes'] = 'yes',
['view'] = 'Katso',
['buy_car'] = 'Osta',
['stop_view'] = 'Lopeta katsominen',
-- Service
['service_max'] = 'et voi astua vuoroon, maksimi poliiseja jo kentällä: %s/%s',
['service_not'] = 'et voi astua vuoroon, sinulla ei ole työvaatteita päällä.',
['service_anonunce'] = 'vuoro informaatio',
['service_in'] = 'astuit vuoroon, tervetuloa!',
['service_in_announce'] = 'henkilö %s astui vuoroon!',
['service_out'] = 'poistuit vuorosta.',
['service_out_announce'] = 'henkilö %s poistui vuorosta.',
-- Action Menu
['menu_title'] = 'Poliisi',
['citizen_interaction'] = 'siviilin vuorovaikutus',
['vehicle_interaction'] = 'ajoneuvon vuorovaikutus',
['object_spawner'] = 'objekti spawneri',
['id_card'] = 'henkilöllisyystodistus',
['search'] = 'tutki',
['handcuff'] = 'raudat On/Off',
['drag'] = 'raahaa',
['put_in_vehicle'] = 'laita ajoneuvoon',
['out_the_vehicle'] = 'ota ulos ajoneuvosta',
['fine'] = 'sakko',
['unpaid_bills'] = 'hallinoi maksamattomia laskuja',
['license_check'] = 'hallitse lisenssejä',
['license_revoke'] = 'kumoa lisenssi',
['license_revoked'] = 'sinun %s kumottiin!',
['licence_you_revoked'] = 'sinä kumosit %s mikä kuului henkilölle %s',
['no_players_nearby'] = 'ei pelaajia lähettyvillä',
['being_searched'] = 'you are being searched by the Police',
['fine_enter_amount'] = 'Enter the amount of the fine', --not translated
['fine_enter_text'] = 'Enter the reason for the fine', --not translated
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Vehicle interaction
['vehicle_info'] = 'ajoneuvon tiedot',
['pick_lock'] = 'tiirikoi ovet',
['vehicle_unlocked'] = 'ajoneuvo Avattu',
['no_vehicles_nearby'] = 'ei ajoneuvoja lähettyvillä',
['impound'] = 'takavarikoi ajoneuvo',
['impound_prompt'] = 'paina [E] peruaksesi takavarikointi',
['impound_canceled'] = 'sinä peruit takavarikoinnin',
['impound_canceled_moved'] = 'takavarikointi peruuntui koska ajoneuvo liikku',
['impound_successful'] = 'takavarikoit ajoneuvon',
['search_database'] = 'ajoneuvon tiedot',
['search_database_title'] = 'ajoneuvon tiedot - etsi rekisterinumerolla',
['search_database_error_invalid'] = 'tämä ~r~ei ole voimassa oleva rekisterinumero',
['search_plate'] = 'Kirjoita rekisteritunnus',
['lookup_plate'] = 'Tarkista rekisteritunnus',
-- Traffic interaction
['traffic_interaction'] = 'liikenteen vuorovaikutus',
['cone'] = 'kartio',
['barrier'] = 'este',
['spikestrips'] = 'piikkimatto',
['box'] = 'laatikko',
['cash'] = 'rahalaatikko',
-- ID Card Menu
['name'] = 'nimi: %s',
['job'] = 'työ: %s',
['sex'] = 'sukupuoli: %s',
['dob'] = 'syntymäaika: %s',
['height'] = 'pituus: %s',
['bac'] = 'alkometri: %s',
['unknown'] = 'tuntematon',
['male'] = 'mies',
['female'] = 'nainen',
-- Body Search Menu
['guns_label'] = '--- Aseet ---',
['inventory_label'] = '--- Reppu ---',
['license_label'] = ' --- Lisenssit ---',
['confiscate'] = 'takavarikoi %s',
['confiscate_weapon'] = 'confiscate %s with %s bullets',
['confiscate_inv'] = 'takavarikoi %sx %s',
['confiscate_dirty'] = 'takavarikoi likainen raha: <span style="color:red;">$%s</span>',
['you_confiscated'] = 'sinä takavarioit %sx %s pelaajalta %s',
['got_confiscated'] = '%sx %s takavarikoitiin sinulta pelaajan %s toimesta',
['you_confiscated_account'] = 'sinä takavarikoit $%s (%s) pelaajalta %s',
['got_confiscated_account'] = '$%s (%s) takavarikoitiin sinulta pelaajan %s toimesta',
['you_confiscated_weapon'] = 'sinä takavarikoit %s pelaajalta %s jossa oli ~o~%s panosta',
['got_confiscated_weapon'] = 'sinun %s jossa oli ~o~%s panosta takavarikoitiin sinulta%s',
['traffic_offense'] = 'liikenne rikokset',
['minor_offense'] = 'lievät rikokset',
['average_offense'] = 'keskisuuret rikokset',
['major_offense'] = 'vakavat rikokset',
['fine_total'] = 'sakko: %s',
--Vehicle Info Menu
['plate'] = 'kilpi: %s',
['owner_unknown'] = 'omistaja: Tuntematon',
['owner'] = 'omistaja: %s',
--Boss Menu
['open_bossmenu'] = 'paina [E] avataksesi valikon',
['quantity_invalid'] = 'invalid quantity',
['have_withdrawn'] = 'sinä otit varastosta %sx %s',
['have_deposited'] = 'sinä talletit varastoon %sx %s',
['quantity'] = 'määrä',
['quantity_placeholder'] = 'Määrä mitä otat..',
['inventory'] = 'varasto',
['police_stock'] = 'poliisin Varasto',
-- Misc
['remove_prop'] = 'paina [E] poistaaksesi objektin',
['map_blip'] = 'poliisilaitos',
['unrestrained_timer'] = 'tunnet kuinka hitaasti käsiraudat alkavat löystyä ja irtoavat',
-- Notifications
['alert_police'] = 'hälyytys Poliisi',
['phone_police'] = 'poliisi',
-- Keybind
['interaction'] = 'Vuorovaikuta',
['quick_actions'] = 'Pikavalinnat',
-- Other
['society_police'] = 'Poliisi',
['s_m_y_sheriff_01'] = 'Sheriffi npc',
['s_m_y_cop_01'] = 'Poliisi npc',
['s_m_y_swat_01'] = 'SWAT npc',
}

View File

@@ -0,0 +1,170 @@
Locales['fr'] = {
-- Vestiaire
['cloakroom'] = 'vestiaire',
['citizen_wear'] = 'tenue Civil',
['police_wear'] = 'tenue Policier',
['gilet_wear'] = 'gilet orange',
['bullet_wear'] = 'gilet pare-balles',
['no_outfit'] = 'il n\'y a pas d\'uniforme à votre taille...',
['open_cloackroom'] = 'appuyez sur [E] pour vous changer',
-- Armurerie
['remove_object'] = 'prendre Objet',
['deposit_object'] = 'déposer objet',
['get_weapon'] = 'prendre Arme',
['put_weapon'] = 'déposer Arme',
['buy_weapons'] = 'acheter Armes',
['armory'] = 'armurerie',
['open_armory'] = 'appuyez sur [E] pour accéder à l\'armurerie',
['armory_owned'] = 'possédé',
['armory_free'] = 'gratuit',
['armory_item'] = '$%s',
['armory_weapontitle'] = 'armurerie - Acheter une arme',
['armory_componenttitle'] = 'armurerie - Accessoires d\'armes',
['armory_bought'] = 'vous achetez un %s pour $%s',
['armory_money'] = 'vous ne pouvez pas acheter cette arme',
['armory_hascomponent'] = 'vous avez cet accessoire équipé!',
['get_weapon_menu'] = 'armurerie - Retirer arme',
['put_weapon_menu'] = 'armurerie - Stocker arme',
['confirm'] = 'Confirmer',
-- Véhicules
['vehicle_menu'] = 'véhicule',
['vehicle_blocked'] = 'tous les points de spawn sont bloqués!',
['garage_prompt'] = 'appuyez sur [E] pour accéder aux Actions Véhicule.',
['garage_title'] = 'actions Véhicules',
['garage_stored'] = 'rangé',
['garage_notstored'] = 'sorti(e)',
['garage_storing'] = 'tentative de suppression du véhicule, assurez-vous que personne ne soit autour.',
['garage_has_stored'] = 'le véhicule a bien été rangé dans le garage',
['garage_has_notstored'] = 'aucun véhicule dans le garage',
['garage_notavailable'] = 'votre véhicule n\'est pas rangé dans le garage.',
['garage_blocked'] = 'la sortie du garage est obstruée!',
['garage_empty'] = 'vous n\'avez aucun véhicule dans le garage.',
['garage_released'] = 'votre véhicule a été sorti.',
['garage_store_nearby'] = 'aucun véhicule a proximité.',
['garage_storeditem'] = 'ouvrir le garage',
['garage_storeitem'] = 'ranger le véhicule',
['garage_buyitem'] = 'magasin véhicule',
['garage_notauthorized'] = 'vous n\'êtes pas autorisé à acheter ce type de véhicules.',
['helicopter_prompt'] = 'appuyez sur [E] pour accéder aux Actions de l\'hélicoptère.',
['shop_item'] = '$%s',
['vehicleshop_title'] = 'magasin véhicule',
['vehicleshop_confirm'] = 'voulez-vous acheter ce véhicule?',
['vehicleshop_bought'] = 'vous avez acheté %s pour ~r~$%s',
['vehicleshop_money'] = 'vous ne pouvez pas acheter ce véhicule',
['vehicleshop_awaiting_model'] = 'le véhicule est actuellement en PRÉPARATION veuillez patienter',
['confirm_no'] = 'non',
['confirm_yes'] = 'oui',
['view'] = 'Voir',
['buy_car'] = 'Acheter',
['stop_view'] = 'Arrêter de voir',
-- Service
['service_max'] = 'vous ne pouvez pas entrer en service, officiers en service: %s/%s',
['service_not'] = 'vous n\'êtes pas en service! Vous devez d\'abord enfiler votre tenue.',
['service_anonunce'] = 'prise de service',
['service_in'] = 'vous êtes en service, bon courage!',
['service_in_announce'] = 'l\'officier %s est entré en service!',
['service_out'] = 'vous avez terminé votre service.',
['service_out_announce'] = 'l\'officier %s a quitté son service.',
-- Menu d'intéraction
['menu_title'] = 'Police',
['citizen_interaction'] = 'interaction citoyen',
['vehicle_interaction'] = 'interaction véhicule',
['object_spawner'] = 'placer objets',
['id_card'] = 'carte d\'identité',
['search'] = 'fouiller',
['handcuff'] = 'menotter / Démenotter',
['drag'] = 'escorter',
['put_in_vehicle'] = 'mettre dans véhicule',
['out_the_vehicle'] = 'sortir du véhicule',
['fine'] = 'Amende',
['unpaid_bills'] = 'gérer les amendes impayées',
['license_check'] = 'gérer les licences',
['license_revoke'] = 'révoquer la licence',
['license_revoked'] = 'votre %s a été révoqué!',
['licence_you_revoked'] = 'vous avez révoqué un %s qui appartenait à %s',
['no_players_nearby'] = 'aucun joueur à proximité',
['being_searched'] = 'vous êtes recherché(e) par la Police',
['fine_enter_amount'] = 'Enter the amount of the fine', --not translated
['fine_enter_text'] = 'Enter the reason for the fine', --not translated
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Intéraction véhicule
['vehicle_info'] = 'infos véhicule',
['pick_lock'] = 'crocheter véhicule',
['vehicle_unlocked'] = 'véhicule déverouillé',
['no_vehicles_nearby'] = 'aucun véhicule à proximité',
['impound'] = 'véhicule en fourrière',
['impound_prompt'] = 'appuyez sur [E] pour annuler la saisie du véhicule',
['impound_canceled'] = 'vous avez annulé la saisie',
['impound_canceled_moved'] = 'la saisie a été annulée parce que le véhicule a déménagé',
['impound_successful'] = 'vous avez saisi le véhicule',
['search_database'] = 'information sur le véhicule',
['search_database_title'] = 'informations sur le véhicule - recherche avec numéro d\'enregistrement',
['search_database_error_invalid'] = 'Ce n\'est ~r~pas un numéro d\'enregistrement valide',
['search_plate'] = 'Entrer la plaque',
['lookup_plate'] = 'Vérifier la plaque',
-- Interaction routière
['traffic_interaction'] = 'interaction routière',
['cone'] = 'plot',
['barrier'] = 'barrière',
['spikestrips'] = 'herse',
['box'] = 'caisse',
['cash'] = 'caisse',
-- Menu de carte ID
['name'] = 'nom: %s',
['job'] = 'métier: %s',
['sex'] = 'sexe: %s',
['dob'] = 'DDN: %s',
['height'] = 'taille: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'inconnu',
['male'] = 'homme',
['female'] = 'femme',
-- Menu de fouille de corps
['guns_label'] = '--- Armes ---',
['inventory_label'] = '--- Inventaire ---',
['license_label'] = ' --- Licenses ---',
['confiscate'] = 'confisquer %s',
['confiscate_weapon'] = 'confisqué %s avec %s balles',
['confiscate_inv'] = 'confisquer %sx %s',
['confiscate_dirty'] = 'confisquer argent sale: <span style="color:red;">€%s</span>',
['you_confiscated'] = 'vous avez confisqué %sx %s à %s',
['got_confiscated'] = '%sx %s ont été confisqués par %s',
['you_confiscated_account'] = 'vous avez confisqué $%s (%s) à %s',
['got_confiscated_account'] = '$%s (%s) ont été confisqués par %s',
['you_confiscated_weapon'] = 'vous avez confisqué %s à %s avec ~o~%s balles',
['got_confiscated_weapon'] = 'votre %s avec ~o~%s balles a été confisqué par %s',
['traffic_offense'] = 'code de la route',
['minor_offense'] = 'délit mineur',
['average_offense'] = 'délit moyen',
['major_offense'] = 'délit grave',
['fine_total'] = 'amende: %s',
-- Menu Info véhicule
['plate'] = 'n°: %s',
['owner_unknown'] = 'propriétaire: Inconnu',
['owner'] = 'propriétaire: %s',
-- Boss Menu
['open_bossmenu'] = 'appuyez sur [E] pour ouvrir le menu',
['quantity_invalid'] = 'quantité invalide',
['have_withdrawn'] = 'vous avez retiré %sx %s',
['have_deposited'] = 'vous avez déposé %sx %s',
['quantity'] = 'quantité',
['quantity_placeholder'] = 'Montant à retirer..',
['inventory'] = 'inventaire',
['police_stock'] = 'coffre de la police',
-- Misc
['remove_prop'] = 'appuyez sur [E] pour enlever l\'objet',
['map_blip'] = 'Commissariat',
['unrestrained_timer'] = 'vous sentez que vos menottes deviennent fragiles.',
-- Notifications
['alert_police'] = 'alerte police',
['phone_police'] = 'police',
-- Keybind
['interaction'] = 'Interagir',
['quick_actions'] = 'Actions rapides',
-- Other
['society_police'] = 'Police',
['s_m_y_sheriff_01'] = 'Ped de Shérif',
['s_m_y_cop_01'] = 'Ped de Police',
['s_m_y_swat_01'] = 'Ped de SWAT',
}

View File

@@ -0,0 +1,171 @@
Locales['hu'] = {
-- Cloakroom
['cloakroom'] = 'Öltöző',
['citizen_wear'] = 'Civil öltözet',
['police_wear'] = 'Egyenruha',
['gilet_wear'] = 'Láthatósági mellény',
['bullet_wear'] = 'Golyóálló mellény',
['no_outfit'] = 'Nincs hozzád illő egyenruha!',
['open_cloackroom'] = 'Nyomj [E] hogy hozzáférj: Öltöző.',
-- Armory
['remove_object'] = 'Tárgy kivétele',
['deposit_object'] = 'Tárgy berakás',
['get_weapon'] = 'Fegyver kivétele',
['put_weapon'] = 'Fegyver berakás',
['buy_weapons'] = 'Fegyver vásárlás',
['armory'] = 'Fegyvertár',
['open_armory'] = 'Nyomj [E] betüt, hogy hozzáférj: Fegyvertár.',
['armory_owned'] = 'saját',
['armory_free'] = 'ingyenes',
['armory_item'] = '%s Ft',
['armory_weapontitle'] = 'fegyvertár - vásárlás',
['armory_componenttitle'] = 'fegyvertár - kiegészitöks',
['armory_bought'] = 'vásároltál: %s ennyiért: ~r~%s Ft',
['armory_money'] = 'Ez számodra nem engedélyezett',
['armory_hascomponent'] = 'kiegészitö felvéve!',
['get_weapon_menu'] = 'Fegyvertár - fegyver kivétele',
['put_weapon_menu'] = 'Fegyvertár - fegyver berakása',
['confirm'] = 'Confirm', --not translated
-- Vehicles
['vehicle_menu'] = 'jármü',
['vehicle_blocked'] = 'Lerakási hely blokkolva!',
['garage_prompt'] = 'Nyomj [E] hogy hozzáférj: Garázs.',
['garage_title'] = 'Jármü opciók',
['garage_stored'] = 'tárolva',
['garage_notstored'] = 'nincs a garázsban',
['garage_storing'] = 'megpróbáljuk eltávolítani a járművet, ügyeljen arra, hogy senki ne tartózkodjon körülütte.',
['garage_has_stored'] = 'jármü tárolva',
['garage_has_notstored'] = 'nincs a közeledben jármü',
['garage_notavailable'] = 'a jármü nem tárolható a garázsban.',
['garage_blocked'] = 'nem elérhetö lerakási pont!',
['garage_empty'] = 'nincs jármüved garázsban.',
['garage_released'] = 'jármü kiengedve.',
['garage_store_nearby'] = 'nincs jármü a közeledben.',
['garage_storeditem'] = 'garázs megnyitása',
['garage_storeitem'] = 'jármü tárolása a garázsban',
['garage_buyitem'] = 'Autó shop',
['helicopter_prompt'] = 'Nyomj [E] betüt, hogy hozzáférj: Helikopter Garázs.',
['helicopter_notauthorized'] = 'Nem használhatsz helikoptert.',
['shop_item'] = '%s Ft',
['vehicleshop_title'] = 'Autó shop',
['vehicleshop_confirm'] = 'Meg szeretnéd venni?',
['vehicleshop_bought'] = 'vásároltál %s ezért: ~r~%s Ft',
['vehicleshop_money'] = 'Ezt nem engedheted meg.',
['vehicleshop_awaiting_model'] = 'A jármű LETÖLT & BETÖLT kérlek várj',
['confirm_no'] = 'nem',
['confirm_yes'] = 'igen',
['view'] = 'View', --not translated
['buy_car'] = 'Buy', --not translated
['stop_view'] = 'Stop Viewing', --not translated
-- Service
['service_max'] = 'Nem léphet szolgálatba. Maximális létszám: %s/%s',
['service_not'] = 'Elöször vedd fel a szolgálatot...',
['service_anonunce'] = 'információk',
['service_in'] = 'Szolgálatba léptél, üdvözlünk!',
['service_in_announce'] = 'operátor %s szolgálatba lépett!',
['service_out'] = 'elhagytad a szolgálatot.',
['service_out_announce'] = 'operátor %s leadta a szolgálatot.',
-- Action Menu
['menu_title'] = 'Police', --not translated
['citizen_interaction'] = 'Ember interakciók',
['vehicle_interaction'] = 'Jármű interakciók',
['object_spawner'] = 'Objektum lerakása',
['id_card'] = 'Személyi igazolvány',
['search'] = 'Keresés',
['handcuff'] = 'Kötözés / Elengedés',
['drag'] = 'Kisérés',
['put_in_vehicle'] = 'Berakás jármübe',
['out_the_vehicle'] = 'Kivétel jármüböl',
['fine'] = 'Birság',
['unpaid_bills'] = 'fizetetlen számlák kezelése',
['license_check'] = 'engedélyek kezelése',
['license_revoke'] = 'engedélyek visszavonása',
['license_revoked'] = '%s visszavonva!',
['licence_you_revoked'] = 'visszavonta %s %s engedélyét',
['no_players_nearby'] = 'nincs a közeledben játékos!',
['being_searched'] = 'Téged éppen megmotoztak!',
['fine_enter_amount'] = 'Írja be a bírság összegét',
['fine_enter_text'] = 'Adja meg a bírság okát',
['invalid_amount'] = 'Hiba: Az összeg nem szám vagy érvénytelen',
-- Vehicle interaction
['vehicle_info'] = 'Jármü infó',
['pick_lock'] = 'Jármü feltörése',
['vehicle_unlocked'] = 'Jármü feltörve',
['no_vehicles_nearby'] = 'nincs jármü a közelben',
['impound'] = 'jármü lefoglalása',
['impound_prompt'] = 'Nyomj [E] hogy megszakítsd',
['impound_canceled'] = 'lefoglalás megszakitva',
['impound_canceled_moved'] = 'lefoglalás nem sikerült, mert a jármü mozgásban volt',
['impound_successful'] = 'sikeres lefoglalás',
['search_database'] = 'Keresés rendszám alapján',
['search_database_title'] = 'jármü információk - keresés rendszám alapján',
['search_database_error_invalid'] = 'ez ~r~ nem egy érvényes rendszám',
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Traffic interaction
['traffic_interaction'] = 'Útzárak',
['cone'] = 'bólya',
['barrier'] = 'útakadály',
['spikestrips'] = 'szögesdrót',
['box'] = 'doboz',
['cash'] = 'pénzesdoboz',
-- ID Card Menu
['name'] = 'név: %s',
['job'] = 'munka: %s',
['sex'] = 'neme: %s',
['dob'] = 'születés: %s',
['height'] = 'magasság: %s',
['id'] = 'ID: %s',
['bac'] = 'alkoholszint: %s',
['unknown'] = 'ismeretlen',
['male'] = 'férfi',
['female'] = '',
-- Body Search Menu
['guns_label'] = '--- FEGYVEREK ---',
['inventory_label'] = '--- LELTÁR ---',
['license_label'] = ' --- ENGEDÉLYEK ---',
['confiscate'] = 'elkobzás %s',
['confiscate_weapon'] = 'elkobzás %s %s töltényekkel együtt',
['confiscate_inv'] = 'elkobzás %sx %s',
['confiscate_dirty'] = 'fekete pénz elkobzása: <span style="color:red;">%s Ft</span>',
['you_confiscated'] = 'elkoboztad %sx %s töle: %s',
['got_confiscated'] = '%sx %s elkobozta: %s',
['you_confiscated_account'] = 'elkoboztad %s Ft (%s) töle %s',
['got_confiscated_account'] = '%s Ft (%s) elkobozta: %s',
['you_confiscated_weapon'] = '%s elkobozta: %s ~o~%s töltényekkel együtt',
['got_confiscated_weapon'] = '%s ~o~%s elkobozta: %s',
['traffic_offense'] = 'forgalmi vétségek',
['minor_offense'] = 'kisebb büncselekmények',
['average_offense'] = 'közepes büncselekmények',
['major_offense'] = 'súlyos büncselekmények',
['fine_total'] = 'birság: %s',
-- Vehicle Info Menu
['plate'] = 'rendszám: %s',
['owner_unknown'] = 'tulajdonos: ismeretlen',
['owner'] = 'tulajdonos: %s',
-- Boss Menu
['open_bossmenu'] = 'Nyomj [E] betüt, hogy hozzáférj: Parancsnoki Menü',
['quantity_invalid'] = 'érvénytelen mennyiség',
['have_withdrawn'] = 'Kivetted %sx %s',
['have_deposited'] = 'Beraktad %sx %s',
['quantity'] = 'mennyiség',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'leltár',
['police_stock'] = 'Állomány',
-- Misc
['remove_prop'] = 'Nyomj [E] gombot az objektum törléséhez',
['map_blip'] = 'Rendőrség',
['unrestrained_timer'] = '...',
-- Notifications
['alert_police'] = 'riasztás',
['phone_police'] = 'rendörség',
-- Keybind
['interaction'] = 'Interakció', --not translated
['quick_actions'] = 'Gyorsmenü', --not translated
-- Other
['society_police'] = 'Rendőrség', --not translated
['s_m_y_sheriff_01'] = 'Sheriff Ped', --not translated
['s_m_y_cop_01'] = 'Rendőr Ped', -- not translated
['s_m_y_swat_01'] = 'SWAT Ped', --not translated
}

View File

@@ -0,0 +1,170 @@
Locales['it'] = {
-- Armadietto
['cloakroom'] = 'spogliatoio',
['citizen_wear'] = 'Vestito civile',
['police_wear'] = 'Divisa di polizia',
['gilet_wear'] = 'Giubbotto riflettente arancione',
['bullet_wear'] = 'Giubbotto antiproiettile',
['no_outfit'] = 'Non c\'è una divisa adatta a te!',
['open_cloackroom'] = 'Premi [E] per cambiarti.',
-- Armeria
['remove_object'] = 'Prendi oggetto',
['deposit_object'] = 'Deposita oggetto',
['get_weapon'] = 'Prendi arma dall\'armeria',
['put_weapon'] = 'Deposita arma nell\'armeria',
['buy_weapons'] = 'Acquista armi',
['armory'] = 'armeria',
['open_armory'] = 'Premi [E] per accedere all\'Armeria.',
['armory_owned'] = 'posseduto',
['armory_free'] = 'gratuito',
['armory_item'] = '$%s',
['armory_weapontitle'] = 'armeria - Acquista arma',
['armory_componenttitle'] = 'armeria - Accessori arma',
['armory_bought'] = 'Hai comprato un %s per $%s',
['armory_money'] = 'Non puoi permetterti quell\'arma',
['armory_hascomponent'] = 'Hai già quel accessorio equipaggiato!',
['get_weapon_menu'] = 'armeria - Prendi arma',
['put_weapon_menu'] = 'armeria - Deposita arma',
['confirm'] = 'Conferma',
-- Veicoli
['vehicle_menu'] = 'veicolo',
['vehicle_blocked'] = 'tutti i punti di spawn disponibili sono attualmente bloccati!',
['garage_prompt'] = 'Premi [E] per accedere alle Azioni sul Veicolo.',
['garage_title'] = 'Azioni sul Veicolo',
['garage_stored'] = 'nella rimessa',
['garage_notstored'] = 'non in rimessa',
['garage_storing'] = 'Stiamo cercando di rimuovere il veicolo, assicurati che nessun giocatore sia intorno ad esso.',
['garage_has_stored'] = 'il veicolo è stato riposto in rimessa',
['garage_has_notstored'] = 'nessun veicolo di proprietà è stato trovato nelle vicinanze',
['garage_notavailable'] = 'il tuo veicolo non è riposto in rimessa.',
['garage_blocked'] = 'non ci sono punti di spawn disponibili!',
['garage_empty'] = 'non hai veicoli in rimessa.',
['garage_released'] = 'il tuo veicolo è stato rilasciato dalla rimessa.',
['garage_store_nearby'] = 'non ci sono veicoli nelle vicinanze.',
['garage_storeditem'] = 'apri rimessa',
['garage_storeitem'] = 'riponi veicolo in rimessa',
['garage_buyitem'] = 'concessionario veicoli',
['garage_notauthorized'] = 'non sei autorizzato ad acquistare questo tipo di veicoli.',
['helicopter_prompt'] = 'Premi [E] per accedere alle Azioni sull\'Elicottero.',
['shop_item'] = '$%s',
['vehicleshop_title'] = 'concessionario veicoli',
['vehicleshop_confirm'] = 'vuoi comprare questo veicolo?',
['vehicleshop_bought'] = 'hai comprato %s per ~r~$%s',
['vehicleshop_money'] = 'non puoi permetterti quel veicolo',
['vehicleshop_awaiting_model'] = 'il veicolo è attualmente in DOWNLOAD & LOADING, per favore attendi',
['confirm_no'] = 'no',
['confirm_yes'] = '',
['view'] = 'Visualizza',
['buy_car'] = 'Compra',
['stop_view'] = 'Interrompi la visualizzazione',
-- Servizio
['service_max'] = 'non puoi entrare in servizio, numero massimo di agenti in servizio: %s/%s',
['service_not'] = 'non sei in servizio! Devi cambiarti prima.',
['service_anonunce'] = 'informazioni servizio',
['service_in'] = 'sei entrato in servizio, benvenuto!',
['service_in_announce'] = 'l\'operatore %s è entrato in servizio!',
['service_out'] = 'hai lasciato il servizio.',
['service_out_announce'] = 'l\'operatore %s ha lasciato il servizio.',
-- Menu Azioni
['menu_title'] = 'Polizia',
['citizen_interaction'] = 'Interazione con cittadino',
['vehicle_interaction'] = 'Interazione con veicolo',
['object_spawner'] = 'Spawn oggetto',
['id_card'] = 'Carta d\'identità',
['search'] = 'perquisisci',
['handcuff'] = 'manetta / Sgancia',
['drag'] = 'scorta',
['put_in_vehicle'] = 'metti in veicolo',
['out_the_vehicle'] = 'trascina fuori dal veicolo',
['fine'] = 'multa',
['unpaid_bills'] = 'gestisci multe non pagate',
['license_check'] = 'gestisci licenze',
['license_revoke'] = 'revoca licenza',
['license_revoked'] = 'la tua %s è stata revocata!',
['licence_you_revoked'] = 'hai revocato una %s che apparteneva a %s',
['no_players_nearby'] = 'non ci sono giocatori nelle vicinanze!',
['being_searched'] = 'stai venendo perquisito dalla Polizia',
['fine_enter_amount'] = 'Enter the amount of the fine', --not translated
['fine_enter_text'] = 'Enter the reason for the fine', --not translated
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Interazione veicolo
['vehicle_info'] = 'informazioni sul veicolo',
['pick_lock'] = 'forza la serratura del veicolo',
['vehicle_unlocked'] = 'veicolo sbloccato',
['no_vehicles_nearby'] = 'non ci sono veicoli nelle vicinanze',
['impound'] = 'recupera veicolo',
['impound_prompt'] = 'Premi [E] per annullare il recupero',
['impound_canceled'] = 'hai annullato il recupero',
['impound_canceled_moved'] = 'il recupero è stato annullato perché il veicolo si è mosso',
['impound_successful'] = 'hai confiscato il veicolo',
['search_database'] = 'informazioni sul veicolo',
['search_database_title'] = 'informazioni sul veicolo - cerca con numero di targa',
['search_database_error_invalid'] = 'quello non è un numero di targa valido',
['search_plate'] = 'Inserisci targa',
['lookup_plate'] = 'Cerca targa',
-- Interazione Traffico
['traffic_interaction'] = 'Interazione Traffico',
['cone'] = 'cono',
['barrier'] = 'barriera',
['spikestrips'] = 'strisce chiodate',
['box'] = 'scatola',
['cash'] = 'scatola di contanti',
-- Menu Carta d'identità
['name'] = 'nome: %s',
['job'] = 'lavoro: %s',
['sex'] = 'sesso: %s',
['dob'] = 'DOB: %s',
['height'] = 'altezza: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'sconosciuto',
['male'] = 'maschio',
['female'] = 'femmina',
-- Menu Perquisizione corpo
['guns_label'] = '--- Armi ---',
['inventory_label'] = '--- Inventario ---',
['license_label'] = ' --- Licenze ---',
['confiscate'] = 'confisca %s',
['confiscate_weapon'] = 'confisca %s con %s proiettili',
['confiscate_inv'] = 'confisca %sx %s',
['confiscate_dirty'] = 'confisca denaro sporco: <span style="color:red;">$%s</span>',
['you_confiscated'] = 'hai confiscato %sx %s da %s',
['got_confiscated'] = '%sx %s sono stati confiscati da %s',
['you_confiscated_account'] = 'hai confiscato $%s (%s) da %s',
['got_confiscated_account'] = '$%s (%s) sono stati confiscati da %s',
['you_confiscated_weapon'] = 'hai confiscato %s da %s con ~o~%s proiettili',
['got_confiscated_weapon'] = 'la tua %s con ~o~%s proiettili è stata confiscata da %s',
['traffic_offense'] = 'infrazione del traffico',
['minor_offense'] = 'infrazione minore',
['average_offense'] = 'infrazione media',
['major_offense'] = 'infrazione grave',
['fine_total'] = 'multa: %s',
-- Menu Informazioni Veicolo
['plate'] = 'targa: %s',
['owner_unknown'] = 'proprietario: sconosciuto',
['owner'] = 'proprietario: %s',
-- Menu Boss
['open_bossmenu'] = 'premi [E] per aprire il menu',
['quantity_invalid'] = 'quantità non valida',
['have_withdrawn'] = 'hai prelevato %sx %s',
['have_deposited'] = 'hai depositato %sx %s',
['quantity'] = 'quantità',
['quantity_placeholder'] = 'Importo da prelevare..',
['inventory'] = 'inventario',
['police_stock'] = 'stock di polizia',
-- Varie
['remove_prop'] = 'premi [E] per eliminare l\'oggetto',
['map_blip'] = 'Stazione di Polizia',
['unrestrained_timer'] = 'senti le manette che si allentano lentamente e svaniscono.',
-- Notifiche
['alert_police'] = 'allerta polizia',
['phone_police'] = 'polizia',
-- Pulsante
['interaction'] = 'Interagisci',
['quick_actions'] = 'Azioni rapide',
-- Altro
['society_police'] = 'Polizia',
['s_m_y_sheriff_01'] = 'Ped Sceriffo',
['s_m_y_cop_01'] = 'Ped Polizia',
['s_m_y_swat_01'] = 'Ped SWAT',
}

View File

@@ -0,0 +1,171 @@
Locales['nl'] = {
-- Cloackroom
['cloakroom'] = 'Kleedkamer',
['citizen_wear'] = 'Burgerkleding',
['police_wear'] = 'Politiekleding',
['gilet_wear'] = 'Oranje reflecterend vest',
['bullet_wear'] = 'Kogelwerend vest',
['no_outfit'] = 'Er zijn geen passende uniformen voor jou!',
['open_cloackroom'] = 'Druk op [E] om je kleding aan te passen.',
-- Wapenkamer
['remove_object'] = 'Haal item uit kluis',
['deposit_object'] = 'Leg item in kluis',
['get_weapon'] = 'Haal wapen uit wapenkamer',
['put_weapon'] = 'Leg wapen in wapenkamer',
['buy_weapons'] = 'Koop wapens',
['armory'] = 'Wapenkamer',
['open_armory'] = 'Druk op [E] om de Wapenkamer te openen.',
['armory_owned'] = 'In Bezit',
['armory_free'] = 'Gratis',
['armory_item'] = '€%s',
['armory_weapontitle'] = 'Wapenkamer - Koop wapen',
['armory_componenttitle'] = 'Wapenkamer - wapenbevestigingen',
['armory_bought'] = 'Je hebt een %s gekocht voor €%s.',
['armory_money'] = 'Je kan dit wapen niet betalen.',
['armory_hascomponent'] = 'je hebt deze wapenbevestiging al!',
['get_weapon_menu'] = 'Wapenkamer - Pak wapen',
['put_weapon_menu'] = 'Wapenkamer - Leg wapen weg',
['confirm'] = 'Confirm', --not translated
-- Vehicles
['vehicle_menu'] = 'Voertuig',
['vehicle_blocked'] = 'Alle spawnpunten zijn geblokkeerd!',
['garage_prompt'] = 'Druk op [E] om de Garage te openen.',
['garage_title'] = 'Garage',
['garage_stored'] = 'Beschikbaar',
['garage_notstored'] = 'Niet in garage',
['garage_storing'] = 'We proberen je voertuig weg te halen, zorg dat er niemand langs staat.',
['garage_has_stored'] = 'Het voertuig is opgeslagen in de garage.',
['garage_has_notstored'] = 'Er zijn geen voertuigen in de buurt gevonden.',
['garage_notavailable'] = 'Je voertuig is niet opgeslagen in de garage.',
['garage_blocked'] = 'Er zijn geen beschikbare spawnpunten!',
['garage_empty'] = 'Je hebt geen voertuigen in je garage.',
['garage_released'] = 'Je voertuig is uit de garage gehaald.',
['garage_store_nearby'] = 'Er zijn geen voertuigen in de buurt gevonden.',
['garage_storeditem'] = 'Open garage',
['garage_storeitem'] = 'Zet voertuig in garage',
['garage_buyitem'] = 'Voertuigwinkel',
['garage_notauthorized'] = 'Je bent niet bevoegd dit type voertuigen te halen.',
['helicopter_prompt'] = 'Druk op [E] om de Helikopter Garage te openen.',
['shop_item'] = '€%s',
['vehicleshop_title'] = 'Voertuigwinkel',
['vehicleshop_confirm'] = 'Wil je dit voertuig kopen?',
['vehicleshop_bought'] = 'Je hebt een %s gekocht voor ~r~€%s.',
['vehicleshop_money'] = 'Je kan dit voertuig niet betalen.',
['vehicleshop_awaiting_model'] = 'Dit voertuig is momenteel aan het DOWNLOADEN & LADEN, even geduld asjeblieft',
['confirm_no'] = 'Nee',
['confirm_yes'] = 'Ja',
['view'] = 'View', --not translated
['buy_car'] = 'Buy', --not translated
['stop_view'] = 'Stop Viewing', --not translated
-- Service
['service_max'] = 'Je kan niet in dienst gaan, maximale aantal agenten in dienst: %s/%s',
['service_not'] = 'Je bent niet in dienst! Kleed je eerst om.',
['service_anonunce'] = 'Dienst Informatie',
['service_in'] = 'Je bent nu in dienst, welkom!',
['service_in_announce'] = 'Agent %s is nu in dienst!',
['service_out'] = 'Je bent nu uit dienst, fijne dag.',
['service_out_announce'] = 'Agent %s is nu niet meer in dienst.',
-- Action Menu
['menu_title'] = 'Police', --not translated
['citizen_interaction'] = 'Burger Interacties',
['vehicle_interaction'] = 'Voertuig Interacties',
['object_spawner'] = 'Object Interacties',
['id_card'] = 'Identiteitsbewijs',
['search'] = 'Fouilleren',
['handcuff'] = 'Boeien / Ontboeien',
['drag'] = 'Meenemen',
['put_in_vehicle'] = 'Zet in voertuig',
['out_the_vehicle'] = 'Haal uit voertuig',
['fine'] = 'Boete opleggen',
['unpaid_bills'] = 'Openstaande boetes bekijken',
['license_check'] = 'Rijbewijzen beheren',
['license_revoke'] = 'Rijbewijs invorderen',
['license_revoked'] = 'Je %s is ingevorderd!',
['licence_you_revoked'] = 'Je hebt een %s van %s ingevorderd.',
['no_players_nearby'] = 'Geen spelers in de buurt!',
['being_searched'] = 'Je wordt gefouilleerd door de Politie',
['fine_enter_amount'] = 'Enter the amount of the fine', --not translated
['fine_enter_text'] = 'Enter the reason for the fine', --not translated
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Voertuig Interactie
['vehicle_info'] = 'Voertuig Informatie',
['pick_lock'] = 'Breek voertuig open',
['vehicle_unlocked'] = 'Voertuig ontgrendeld.',
['no_vehicles_nearby'] = 'Er zijn geen voertuigen in de buurt gevonden.',
['impound'] = 'Neem voertuig in beslag',
['impound_prompt'] = 'Druk op [E] om de inbeslagname te annuleren.',
['impound_canceled'] = 'Je hebt de inbeslagname geannuleerd.',
['impound_canceled_moved'] = 'De inbeslagname is geannuleerd omdat het voertuig is bewogen.',
['impound_successful'] = 'Het voertuig is in beslag genomen.',
['search_database'] = 'Kenteken natrekken',
['search_database_title'] = 'Voertuig informatie - zoek op kenteken',
['search_database_error_invalid'] = 'Het ingevoerde kenteken is ~r~ongeldig.',
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Objecten
['traffic_interaction'] = 'Verkeers Interacties',
['cone'] = 'Pion',
['barrier'] = 'Barriere',
['box'] = 'Box',
['fence'] = 'PD Hek',
['cash'] = 'Pallet met geld',
['spikestrips'] = 'Spijkermatten',
-- ID Menu
['name'] = 'Naam: %s',
['job'] = 'Werk: %s',
['sex'] = 'Geslacht: %s',
['dob'] = 'Geboortedatum: %s',
['height'] = 'Lengte: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'onbekend',
['male'] = 'man',
['female'] = 'vrouw',
-- Fouilleren
['guns_label'] = '--- Wapens ---',
['inventory_label'] = '--- Inventaris ---',
['license_label'] = ' --- Papieren ---',
['confiscate'] = 'Neem %s in beslag',
['confiscate_weapon'] = 'Neem een %s met %s kogels in beslag',
['confiscate_inv'] = 'Neem %sx %s in beslag',
['confiscate_dirty'] = 'Neem zwartgeld in beslag: <span style="color:red;">€%s</span>',
['you_confiscated'] = 'Je hebt %sx %s van %s in beslag genomen.',
['got_confiscated'] = '%sx %s is in beslag genomen door %s.',
['you_confiscated_account'] = 'Je hebt €%s (%s) van %s in beslag genomen.',
['got_confiscated_account'] = '€%s (%s) is in beslag genomen door %s.',
['you_confiscated_weapon'] = 'Je hebt een %s van %s met ~o~%s kogels in beslag genomen.',
['got_confiscated_weapon'] = 'Je %s met ~o~%s kogels is in beslag genomen door %s.',
['traffic_offense'] = 'Verkeersovertreding',
['minor_offense'] = 'Kleine overtreding',
['average_offense'] = 'Gemiddelde overtreding',
['major_offense'] = 'Grote overtreding',
['fine_total'] = 'Boete: %s',
-- Voertuig Informatie
['plate'] = 'Kenteken: %s',
['owner_unknown'] = 'Eigenaar: Onbekend',
['owner'] = 'Eigenaar: %s',
-- Boss Menu
['open_bossmenu'] = 'Druk op [E] om het menu te openen.',
['quantity_invalid'] = 'Ongeldig aantal',
['have_withdrawn'] = 'Je hebt %sx %s gepakt.',
['have_deposited'] = 'Je hebt %sx %s weg gelegt.',
['quantity'] = 'Aantal',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'Inventaris',
['police_stock'] = 'Politie Voorraad',
-- Misc
['remove_prop'] = 'Druk op [E] om dit object te verwijderen.',
['map_blip'] = 'Politiebureau',
['unrestrained_timer'] = 'Je voelt je handboeien langzaam wegglijden.',
-- Notifications
['alert_police'] = 'politie alert',
['phone_police'] = 'politie',
-- Keybind
['interaction'] = 'Interactie',
['quick_actions'] = 'Snelle Acties',
-- Other
['society_police'] = 'Politie',
['s_m_y_sheriff_01'] = 'Sheriff Ped',
['s_m_y_cop_01'] = 'Politie Ped',
['s_m_y_swat_01'] = 'SWAT Ped',
}

View File

@@ -0,0 +1,170 @@
Locales['pl'] = {
-- Cloakroom
['cloakroom'] = 'szatnia',
['citizen_wear'] = 'ubranie Cywilne',
['police_wear'] = 'mundur',
['gilet_wear'] = 'kamizelka odblaskowa',
['bullet_wear'] = 'kamizelka kuloodporna',
['no_outfit'] = 'brak ubrania',
['open_cloackroom'] = 'naciśnij [E] aby zmienić ubranie.',
-- Armory
['remove_object'] = 'weź przedmiot',
['deposit_object'] = 'zdeponuj przedmiot',
['get_weapon'] = 'weź broń',
['put_weapon'] = 'odłóż broń',
['buy_weapons'] = 'kup Broń',
['armory'] = 'zbrojownia',
['open_armory'] = 'naciśnij [E] żeby uzyskać dostęp do zbrojowni',
['armory_owned'] = 'owned',
['armory_free'] = 'free',
['armory_item'] = '$%s',
['armory_weapontitle'] = 'armory - Buy weapon',
['armory_componenttitle'] = 'armory - Weapon attatchments',
['armory_bought'] = 'you bought an %s for $%s',
['armory_money'] = 'you cannot afford that weapon',
['armory_hascomponent'] = 'you have that attatchment equiped!',
['get_weapon_menu'] = 'armory - Withdraw Weapon',
['put_weapon_menu'] = 'armory - Store Weapon',
['confirm'] = 'Confirm', --not translated
-- Vehicles
['vehicle_menu'] = 'vehicle',
['vehicle_blocked'] = 'all available spawn points are currently blocked!',
['garage_prompt'] = 'press [E] to access the Vehicle Actions.',
['garage_title'] = 'vehicle Actions',
['garage_stored'] = 'stored',
['garage_notstored'] = 'not in garage',
['garage_storing'] = 'we\'re attempting to remove the vehicle, make sure no players are around it.',
['garage_has_stored'] = 'the vehicle has been stored in your garage',
['garage_has_notstored'] = 'no nearby owned vehicles were found',
['garage_notavailable'] = 'your vehicle is not stored in the garage.',
['garage_blocked'] = 'there\'s no available spawn points!',
['garage_empty'] = 'you don\'t have any vehicles in your garage.',
['garage_released'] = 'your vehicle has been released from the garage.',
['garage_store_nearby'] = 'there is no nearby vehicles.',
['garage_storeditem'] = 'open garage',
['garage_storeitem'] = 'store vehicle in garage',
['garage_buyitem'] = 'vehicle shop',
['garage_notauthorized'] = 'you\'re not authorized to buy this kind of vehicles.',
['helicopter_prompt'] = 'press [E] to access the Helicopter Actions.',
['shop_item'] = '$%s',
['vehicleshop_title'] = 'vehicle Shop',
['vehicleshop_confirm'] = 'do you want to buy this vehicle?',
['vehicleshop_bought'] = 'you have bought %s for ~r~$%s',
['vehicleshop_money'] = 'you cannot afford that vehicle',
['vehicleshop_awaiting_model'] = 'the vehicle is currently DOWNLOADING & LOADING please wait',
['confirm_no'] = 'no',
['confirm_yes'] = 'yes',
['view'] = 'View', --not translated
['buy_car'] = 'Buy', --not translated
['stop_view'] = 'Stop Viewing', --not translated
-- Service
['service_max'] = 'nie możesz wejść do służby, maksymalna liczba oficerów w służbie: %s/%s',
['service_not'] = 'nie rozpoczynasz służby! Najpierw musisz się przebrać.',
['service_anonunce'] = 'informacje o służbie',
['service_in'] = 'rozpoczynasz służbe, Witaj!',
['service_in_announce'] = 'operator %s rozpoczyna służbę!',
['service_out'] = 'opuszczasz służbę.',
['service_out_announce'] = 'operator %s opuszcza służbe.',
-- Action Menu
['menu_title'] = 'Police', --not translated
['citizen_interaction'] = 'interakcja z cywilami',
['vehicle_interaction'] = 'interakcja z pojazdami',
['object_spawner'] = 'przedmioty do postawienia',
['id_card'] = 'dowód osobisty',
['search'] = 'przeszukaj',
['handcuff'] = 'zakuj/Rozkuj Kajdanki ',
['drag'] = 'przemieść podejrzanego',
['put_in_vehicle'] = 'wsadź do pojazdu',
['out_the_vehicle'] = 'wyciągnij z pojazdu',
['fine'] = 'mandaty',
['unpaid_bills'] = 'zarządzaj niezapłaconymi rachunkami',
['license_check'] = 'zarządzaj licencjami',
['license_revoke'] = 'unieważnij licencje',
['license_revoked'] = 'twoja licencja %s została unieważniona!',
['licence_you_revoked'] = 'unieważniasz %s które należały do %s',
['no_players_nearby'] = 'brak graczy w pobliżu',
['being_searched'] = 'you are being searched by the Police',
['fine_enter_amount'] = 'Enter the amount of the fine', --not translated
['fine_enter_text'] = 'Enter the reason for the fine', --not translated
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Vehicle interaction
['vehicle_info'] = 'informacje o pojeździe',
['pick_lock'] = 'odblokuj pojazd',
['vehicle_unlocked'] = 'pojazd Odblokowany',
['no_vehicles_nearby'] = 'brak pojazdu w pobliżu',
['impound'] = 'zajmij pojazd',
['impound_prompt'] = 'naciśnij [E] żeby unieważnić zajęcie',
['impound_canceled'] = 'unieważniasz zajęcie',
['impound_canceled_moved'] = 'zajęcie zostało anulowane, ponieważ pojazd przemieścił się',
['impound_successful'] = 'zajmujesz pojazd',
['search_database'] = 'informacje o pojeździe',
['search_database_title'] = 'informacjeo pojeździe - przeszukaj używając numeru rejestracyjnego',
['search_database_error_invalid'] = 'to ~r~nie jest poprawny rnumer rejestracyjny',
['search_plate'] = 'Enter Plate', --not translated
['lookup_plate'] = 'Lookup Plate', --not translated
-- Traffic interaction
['traffic_interaction'] = 'interakcje dla ruchu drogowego',
['cone'] = 'pachołek',
['barrier'] = 'barierka',
['spikestrips'] = 'kolczatka',
['box'] = 'pudła',
['cash'] = 'paleta z pieniędzmi',
-- ID Card Menu
['name'] = 'name: %s',
['job'] = 'praca: %s',
['sex'] = 'płeć: %s',
['dob'] = 'data urodzenia: %s',
['height'] = 'wzrost: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'nieznany',
['male'] = 'mężczyzna',
['female'] = 'kobieta',
-- Body Search Menu
['guns_label'] = '--- Bronie ---',
['inventory_label'] = '--- Ekwipunek ---',
['license_label'] = ' --- Licenses ---',
['confiscate'] = 'skonfiskuj %s',
['confiscate_weapon'] = 'skonfiskuj %s z %s kulami',
['confiscate_inv'] = 'skonfiskuj %s x %s',
['confiscate_dirty'] = 'skonfiskuj brudne pieniądze: <span style="color:red;">$%s</span>',
['you_confiscated'] = 'skonfiskowałeś %sx %s od %s',
['got_confiscated'] = '%sx %s zostały skonfiskowane przez %s',
['you_confiscated_account'] = 'skonfiskowałeś %s$ (%s) od %s',
['got_confiscated_account'] = '%s$ (%s) zostały skonfiskowane przez %s',
['you_confiscated_weapon'] = 'skonfiskowałeś %s od %s z ~o~%s pociskami',
['got_confiscated_weapon'] = 'twój %s z ~o~%s kulami został skonfiskowany przez %s',
['traffic_offense'] = 'wykroczenia drogowe',
['minor_offense'] = 'niewielkie wykroczenia',
['average_offense'] = 'średnie wykroczenia',
['major_offense'] = 'duże wykroczenia',
['fine_total'] = 'mandat: %s',
-- Vehicle Info Menu
['plate'] = 'tablica rejestracyjna: %s',
['owner_unknown'] = 'właściciel: Nieznany',
['owner'] = 'właściciel: %s',
-- Boss Menu
['open_bossmenu'] = 'naciśnij [E] aby otworzyć menu',
['quantity_invalid'] = 'nieprawidłowa ilość',
['have_withdrawn'] = 'wyjmujesz z depozytu %sx %s',
['have_deposited'] = 'zdeponowano %sx %s',
['quantity'] = 'ilość',
['quantity_placeholder'] = 'Amount to withdraw..', --not translated
['inventory'] = 'ekwipunek',
['police_stock'] = 'zapasy policji',
-- Misc
['remove_prop'] = 'naciśnij [E] aby usunąć ten obiekt',
['map_blip'] = 'komisariat Policji',
['unrestrained_timer'] = 'czujesz, że twoje kajdanki powoli tracą przyczepność i znikają.',
-- Notifications
['alert_police'] = 'ostrzeż policję',
['phone_police'] = 'police',
-- Keybind
['interaction'] = 'Interact', --not translated
['quick_actions'] = 'Quick Actions', --not translated
-- Other
['society_police'] = 'Police', --not translated
['s_m_y_sheriff_01'] = 'Sheriff Ped', --not translated
['s_m_y_cop_01'] = 'Police Ped', -- not translated
['s_m_y_swat_01'] = 'SWAT Ped', --not translated
}

View File

@@ -0,0 +1,162 @@
Locales['sr'] = {
-- Cloakroom
['cloakroom'] = 'Svlačionica',
['citizen_wear'] = 'Civilna odeća',
['police_wear'] = 'Policijska odeća',
['gilet_wear'] = 'Narandžasti prsluk',
['bullet_wear'] = 'Pancir',
['no_outfit'] = 'Nema uniforme koja Vam odgovara!',
['open_cloackroom'] = 'Pritisni [E] da promeniš odeću.',
-- Armory
['remove_object'] = 'Ukloni objekat',
['deposit_object'] = 'Postavi objekat',
['get_weapon'] = 'Uzmi oružje iz oružarnice',
['put_weapon'] = 'Ostavi oružje u oružarnicu',
['buy_weapons'] = 'Kupi oružje',
['armory'] = 'Oružarnica',
['open_armory'] = 'Pritisni [E] da pristupiš oružarnici.',
['armory_owned'] = 'Kupljeno',
['armory_free'] = 'Besplatno',
['armory_item'] = '$%s',
['armory_weapontitle'] = 'Oružarnica - Kupovina oružja',
['armory_componenttitle'] = 'Oružarnica - Dodaci za oružje',
['armory_bought'] = 'Kupili ste %s za $%s',
['armory_money'] = 'Ne možete priuštiti to oružje',
['armory_hascomponent'] = 'Već imate taj dodatak!',
['get_weapon_menu'] = 'Oruzarnica - Podizanje oružja',
['put_weapon_menu'] = 'Oruzarnica - Ostavljanje oružja',
-- Vehicles
['vehicle_menu'] = 'Vozilo',
['vehicle_blocked'] = 'Parking je trenutno blokiran!',
['garage_prompt'] = 'Pritisni [E] da pristupiš garaži.',
['garage_title'] = 'Interakcije vozilima',
['garage_stored'] = 'Parkirano',
['garage_notstored'] = 'Van garaze',
['garage_storing'] = 'Pokušavamo da uklonimo vozilo, uverite se da nema igrača u blizini',
['garage_has_stored'] = 'Vozilo je parkirano u vašu garazu',
['garage_has_notstored'] = 'Nijedno vozilo nije pronađeno',
['garage_notavailable'] = 'Vaše vozilo nije u garaži.',
['garage_blocked'] = 'Parking je trenutno blokiran!',
['garage_empty'] = 'Vi nemate vozila u garaži.',
['garage_released'] = 'Vaše vozilo je isparkirano iz garaže.',
['garage_store_nearby'] = 'Nema vozila u blizini.',
['garage_storeditem'] = 'Otvori garažu',
['garage_storeitem'] = 'Parkiraj vozilo',
['garage_buyitem'] = 'Prodavac vozila',
['garage_notauthorized'] = 'Niste autorizovani da kupite ovo vozilo.',
['helicopter_prompt'] = 'Pritisni [E] da pristupiš opcijama Helikoptera.',
['shop_item'] = '$%s',
['vehicleshop_title'] = 'Prodavac vozila',
['vehicleshop_confirm'] = 'Da li želite da kupite ovo vozilo?',
['vehicleshop_bought'] = 'Kupili ste %s za ~r~$%s',
['vehicleshop_money'] = 'Ne možete priuštiti to vozilo',
['vehicleshop_awaiting_model'] = 'Vozilo se trenutno SKIDA & UČITAVA, sačekajte..',
['confirm_no'] = 'Ne',
['confirm_yes'] = 'Da',
-- Service
['service_max'] = 'Ne možete pristupiti službi, najviše pripadnika u službi: %s/%s',
['service_not'] = 'Niste pristupili službi! Prvo se morate presvući.',
['service_anonunce'] = 'Informacije službe',
['service_in'] = 'Pristupili ste službi, dobrodošli!',
['service_in_announce'] = 'Operator %s je pristupio službi!',
['service_out'] = 'Napustili ste službu.',
['service_out_announce'] = 'Operator %s je napustio službu.',
-- Action Menu
['citizen_interaction'] = 'Interakcija sa ljudima',
['vehicle_interaction'] = 'Interakcija sa vozilom',
['object_spawner'] = 'Objekti',
['id_card'] = 'Lična Karta',
['search'] = 'Pretraži',
['handcuff'] = 'Zaveži / Odveži',
['drag'] = 'Vuci',
['put_in_vehicle'] = 'Stavi u vozilo',
['out_the_vehicle'] = 'Izvadi iz vozila',
['fine'] = 'Naplati',
['unpaid_bills'] = 'Upravljaj računima',
['license_check'] = 'Upravljaj dozvolama',
['license_revoke'] = 'Oduzmi dozvolu',
['license_revoked'] = 'Vaša %s je oduzeta!',
['licence_you_revoked'] = 'Oduzeli ste %s koja pripada %s',
['no_players_nearby'] = 'Nema nikoga u blizini!',
['being_searched'] = 'Pretraženi ste od Policije',
-- Vehicle interaction
['vehicle_info'] = 'Informacije vozila',
['pick_lock'] = 'Obij vozilo',
['vehicle_unlocked'] = 'Vozilo otključano',
['no_vehicles_nearby'] = 'Nema vozila u blizini',
['impound'] = 'Zapleni vozilo',
['impound_prompt'] = 'Pritisni [E] da prekineš zaplenu',
['impound_canceled'] = 'Prekinuli ste zaplenu',
['impound_canceled_moved'] = 'Zaplena je prekinuta jer se vozilo pomerilo',
['impound_successful'] = 'Zaplenili ste vozilo',
['search_database'] = 'Informacije vozila',
['search_database_title'] = 'Informacije vozila - pretražite pomoću tablica',
['search_database_error_invalid'] = 'To ~r~nije validan registarski broj',
-- Traffic interaction
['traffic_interaction'] = 'Interakcije saobraćajem',
['cone'] = 'Čunj',
['barrier'] = 'Barijera',
['spikestrips'] = 'Spajkovi',
['box'] = 'Kutija',
['cash'] = 'Kutija sa novcem',
-- ID Card Menu
['name'] = 'Ime: %s',
['job'] = 'Posao: %s',
['sex'] = 'Pol: %s',
['dob'] = 'DOB: %s',
['height'] = 'Visina: %s',
['bac'] = 'BAC: %s',
['unknown'] = 'nepoznato',
['male'] = 'Muško',
['female'] = 'Žensko',
-- Body Search Menu
['guns_label'] = '--- Oružja ---',
['inventory_label'] = '--- Inventar ---',
['license_label'] = ' --- Dozvole ---',
['confiscate'] = 'Konfiskovano %s',
['confiscate_weapon'] = 'Konfiskovano %s sa %s metaka',
['confiscate_inv'] = 'Konfiskovano %sx %s',
['confiscate_dirty'] = 'Konfiskovan prljav novac: <span style="color:red;">$%s</span>',
['you_confiscated'] = 'Konfiskovali ste %sx %s od %s',
['got_confiscated'] = '%sx %s je konfiskovano od %s',
['you_confiscated_account'] = 'Konfiskovali ste $%s (%s) od %s',
['got_confiscated_account'] = '$%s (%s) je konfiskovano od %s',
['you_confiscated_weapon'] = 'Konfiskovali ste %s od %s sa ~o~%s metaka',
['got_confiscated_weapon'] = 'Vaš %s sa ~o~%s metaka je konfiskovan od strane %s',
['traffic_offense'] = 'Saobraćajni prekršaj',
['minor_offense'] = 'Manji prekršaj',
['average_offense'] = 'Prosečan prekršaj',
['major_offense'] = 'Veliki prekršaj',
['fine_total'] = 'kazna: %s',
['fine_enter_amount'] = 'Enter the amount of the fine', --not translated
['fine_enter_text'] = 'Enter the reason for the fine', --not translated
['invalid_amount'] = 'Error: Amount was not a number or invalid', --not translated
-- Vehicle Info Menu
['plate'] = 'Tablice: %s',
['owner_unknown'] = 'Vlasnik: Nepoznat',
['owner'] = 'Vlasnik: %s',
-- Boss Menu
['open_bossmenu'] = 'Pritisni [E] da otvoriš meni',
['quantity_invalid'] = 'Nevažeća količina',
['have_withdrawn'] = 'Podigli ste %sx %s',
['have_deposited'] = 'Ostavili ste %sx %s',
['quantity'] = 'Količina',
['inventory'] = 'Inventar',
['police_stock'] = 'Policijske zalihe',
-- Misc
['remove_prop'] = 'Pritisni [E] da ukloniš objekat',
['map_blip'] = 'Policijska Stanica',
['unrestrained_timer'] = 'Osećaš kako se lisice opuštaju.',
-- Notifications
['alert_police'] = 'Policijsko obaveštenje',
['phone_police'] = 'Policija',
-- Keybind
['interaction'] = 'Interakcija',
['quick_actions'] = 'Brze Akcije',
-- Other
['society_police'] = 'Policija',
['s_m_y_sheriff_01'] = 'Sheriff Ped',
['s_m_y_cop_01'] = 'Policija Ped',
['s_m_y_swat_01'] = 'SWAT Ped'
}

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Polizei', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Polizei', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Polizei', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Polizei')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Rekrut',20,'{}','{}'),
('police',1,'officer','Polizist',40,'{}','{}'),
('police',2,'sergeant','Feldwebel',60,'{}','{}'),
('police',3,'lieutenant','Leutnant',85,'{}','{}'),
('police',4,'boss','Chef',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
('Falsche nutzung der Hupe', 30, 0),
('Unerlaubtes Überschreiten einer durchgezogenen Linie', 40, 0),
('Auf der Falschen Straßenseite fahren', 250, 0),
('Illegaler U-Turn', 250, 0),
('Illegal Off-Road fahren', 170, 0),
('Anweisung eines Gesetzeshüter missachtet', 30, 0),
('Illegales Fahrzeuganhalten', 150, 0),
('Illegales Parken', 70, 0),
('Missachtung des Rechtsabbiegegebot', 70, 0),
('Nichteinhaltung der Fahrzeuginformationen', 90, 0),
('Nicht am Stopschild gehalten', 105, 0),
('Rote Ampel überfahren', 130, 0),
('Illegales Überfahren', 100, 0),
('Fahren eines illegalen Fahrzeuges', 100, 0),
('Fahren ohne Führerschein', 1500, 0),
('Fahrerflucht', 800, 0),
('Geschwindigkeitsüberschreitung über < 5 mph', 90, 0),
('Geschwindigkeitsüberschreitung über 5-15 mph', 120, 0),
('Geschwindigkeitsüberschreitung über 15-30 mph', 180, 0),
('Geschwindigkeitsüberschreitung über > 30 mph', 300, 0),
('Beeinträchtigung des Straßenvehrkehrs', 110, 1),
('Betrunkenes Fahren', 90, 1),
('Ordnungswidriges Verhalten', 90, 1),
('Behinderung der Justiz', 130, 1),
('Beleidigungen gegenüber Zivilisten', 75, 1),
('Respektloses Verhalten gegenüber eines Polizisten', 110, 1),
('Verbale Drohung gegenüber einer Zivilperson', 90, 1),
('Verbale Drohung gegenüber eines Polizisten', 150, 1),
('Verbreiten von Falschinformationen', 250, 1),
('Versuchte Kurroption', 1500, 1),
('Führen einer Waffe innerhalb der Stadt', 120, 2),
('Einsatz einer tödlichen Waffe im Stadtgebiet', 300, 2),
('Kein Waffenschein', 80000, 2),
('Besitz einer illegalen Waffe', 700, 2),
('Besitz von Einbruchswerkzeug', 300, 2),
('Auto Diebstahl', 1800, 2),
('Absicht zum Verkauf/Distribution einer illegalen Substanz', 1500, 2),
('Betrug einer illegalen Substanz', 1500, 2),
('Besitz einer illegalen Substanz ', 6520, 2),
('Entführung eines Zivilisten', 15000, 2),
('Entführung eines Polizisten', 20000, 2),
('Diebstahl', 650, 2),
('Bewaffneter Raubüberfall auf einen Laden', 650, 2),
('Bewaffneter Raubüberfall auf eine Bank', 1500, 2),
('Angriff auf einen Zivilisten', 2000, 3),
('Angriff auf einen Polizisten', 2500, 3),
('Versuchter Mord eines Zivilisten', 3000, 3),
('Versuchter Mord eines Polizisten', 5000, 3),
('Mörder eines Zivilisten', 100000, 3),
('Mörder eines Polizisten', 300000, 3),
('Unfreiwillige Tötung', 1800, 3),
('Betrug', 2000, 2);
;

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Police')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Recruit',20,'{}','{}'),
('police',1,'officer','Officer',40,'{}','{}'),
('police',2,'sergeant','Sergeant',60,'{}','{}'),
('police',3,'lieutenant','Lieutenant',85,'{}','{}'),
('police',4,'boss','Chief',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
('Misuse of a horn', 30, 0),
('Illegally Crossing a continuous Line', 40, 0),
('Driving on the wrong side of the road', 250, 0),
('Illegal U-Turn', 250, 0),
('Illegally Driving Off-road', 170, 0),
('Refusing a Lawful Command', 30, 0),
('Illegally Stopping a Vehicle', 150, 0),
('Illegal Parking', 70, 0),
('Failing to Yield to the right', 70, 0),
('Failure to comply with Vehicle Information', 90, 0),
('Failing to stop at a Stop Sign ', 105, 0),
('Failing to stop at a Red Light', 130, 0),
('Illegal Passing', 100, 0),
('Driving an illegal Vehicle', 100, 0),
('Driving without a License', 1500, 0),
('Hit and Run', 800, 0),
('Exceeding Speeds Over < 5 mph', 90, 0),
('Exceeding Speeds Over 5-15 mph', 120, 0),
('Exceeding Speeds Over 15-30 mph', 180, 0),
('Exceeding Speeds Over > 30 mph', 300, 0),
('Impeding traffic flow', 110, 1),
('Public Intoxication', 90, 1),
('Disorderly conduct', 90, 1),
('Obstruction of Justice', 130, 1),
('Insults towards Civilans', 75, 1),
('Disrespecting of an LEO', 110, 1),
('Verbal Threat towards a Civilan', 90, 1),
('Verbal Threat towards an LEO', 150, 1),
('Providing False Information', 250, 1),
('Attempt of Corruption', 1500, 1),
('Brandishing a weapon in city Limits', 120, 2),
('Brandishing a Lethal Weapon in city Limits', 300, 2),
('No Firearms License', 600, 2),
('Possession of an Illegal Weapon', 700, 2),
('Possession of Burglary Tools', 300, 2),
('Grand Theft Auto', 1800, 2),
('Intent to Sell/Distrube of an illegal Substance', 1500, 2),
('Frabrication of an Illegal Substance', 1500, 2),
('Possession of an Illegal Substance ', 650, 2),
('Kidnapping of a Civilan', 1500, 2),
('Kidnapping of an LEO', 2000, 2),
('Robbery', 650, 2),
('Armed Robbery of a Store', 650, 2),
('Armed Robbery of a Bank', 1500, 2),
('Assault on a Civilian', 2000, 3),
('Assault of an LEO', 2500, 3),
('Attempt of Murder of a Civilian', 3000, 3),
('Attempt of Murder of an LEO', 5000, 3),
('Murder of a Civilian', 10000, 3),
('Murder of an LEO', 30000, 3),
('Involuntary manslaughter', 1800, 3),
('Fraud', 2000, 2);
;

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Policía', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Policía', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Policía', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Policía')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Recluta',20,'{}','{}'),
('police',1,'officer','Oficial',40,'{}','{}'),
('police',2,'sergeant','Sargento',60,'{}','{}'),
('police',3,'lieutenant','Teniente',85,'{}','{}'),
('police',4,'boss','Jefe',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
('Mal uso del claxon', 30, 0),
('Cruzar indebidamente la línea continua', 40, 0),
('Conducir por el lado incorrecto de la carretera', 250, 0),
('Giro indebido', 250, 0),
('Conducir indebidamente fuera de la carretera', 170, 0),
('No hacer caso a una orden de un agente', 30, 0),
('Detener el vehículo de forma incorrecta', 150, 0),
('Aparcar en un lugar no habilitado', 70, 0),
('No ceder al girar a la derecha', 70, 0),
('No cumplir con los datos de tu vehículo', 90, 0),
('No pararse en una señal de STOP', 105, 0),
('No pararse en un semáforo cuando está en rojo', 130, 0),
('Cruzar indebidamente', 100, 0),
('Conducir un coche no permitido', 100, 0),
('Conducir sin carnet de conducción', 1500, 0),
('Chocar y darse a la fuga', 800, 0),
('Exceder la velocidad permitida en 5 km/h', 90, 0),
('Exceder la velocidad permitida entre 5 y 15 km/h', 120, 0),
('Exceder la velocidad permitida entre 15 y 30 km/h', 180, 0),
('Exceder la velocidad permitida más de 30 km/h', 300, 0),
('Generar atasco en una carretera', 110, 1),
('Intoxicación pública', 90, 1),
('Conducta alocada', 90, 1),
('Obstrucción a la justicia', 130, 1),
('Insultos hacia civiles', 75, 1),
('Insultos hacia un agente', 110, 1),
('Amenaza verbar a un civil', 90, 1),
('Amenaza verbal a un agente', 150, 1),
('Dar información falsa', 250, 1),
('Intento de corrupción', 1500, 1),
('Tendencia de armas en los limites de la ciudad', 120, 2),
('Tendencia de armas letales en los limites de la ciudad', 300, 2),
('No tener licencia de armas', 600, 2),
('Posesión de un arma ilegal', 700, 2),
('Posesión de herramientas para robos', 300, 2),
('Desorden público', 1800, 2),
('Intento de venta o distribución de sustancias ilegales', 1500, 2),
('Fabricación de sustancias ilegales', 1500, 2),
('Posesión de sustancias ilegales', 650, 2),
('Secuestro de un civil', 1500, 2),
('Secuestro de un agente', 2000, 2),
('Robo', 650, 2),
('Robo armado a una tienda', 650, 2),
('Robo armado a un banco', 1500, 2),
('Asalto a un civil', 2000, 3),
('Asalto a un agente', 2500, 3),
('Intento de asesinato a un civil', 3000, 3),
('Intento de asesinato a un agente', 5000, 3),
('Asesinato de un civil', 10000, 3),
('Asesinato de un policia', 30000, 3),
('Homicidio involuntario', 1800, 3),
('Fraude', 2000, 2);
;

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Poliisi', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Poliisi', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Poliisi', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Poliisi')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Tulokas',20,'{}','{}'),
('police',1,'officer','Konstaapeli',40,'{}','{}'),
('police',2,'sergeant','Ylikonstaapeli',60,'{}','{}'),
('police',3,'lieutenant','Kersantti',85,'{}','{}'),
('police',4,'boss','Komentaja',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
('Äänimerkin väärinkäyttö', 30, 0),
('Laiton jatkuvan linjan ylitys', 40, 0),
('Ajaminen tien väärällä puolella', 250, 0),
('Laiton U-käännös', 250, 0),
('Laiton maastossa ajaminen', 170, 0),
('Virkavallan käskyn laiminlyönti', 30, 0),
('Laiton pysähtyminen', 150, 0),
('Laiton parkkeeraus', 70, 0),
('Väistöolovelvollisuuden laiminlyönti', 70, 0),
('Väärän ajoneuvontiedon antaminen', 90, 0),
('Stop merkin laiminlyönti', 105, 0),
('Punaisten valojen laiminlyönti', 130, 0),
('Laiton ohitus', 100, 0),
('Laittomalla ajoneuvolla ajaminen', 100, 0),
('Ajokortitta ajo', 1500, 0),
('Yliajo', 800, 0),
('Ylinopeus < 5 kmh', 90, 0),
('Ylinopeus 5-15 kmh', 120, 0),
('Ylinopeus 15-30 kmh', 180, 0),
('Ylinopeus > 30 kmh', 300, 0),
('Liikenteen pysäytys tahallisesti', 110, 1),
('Julkinen päihtyminen', 90, 1),
('Sopimaton käytös', 90, 1),
('Oikeusjärjestelmän estäminen', 130, 1),
('Siviilin loukkaaminen', 75, 1),
('Virkavallan halventaminen', 110, 1),
('Sanallainen uhkaus siviiliä kohtaan', 90, 1),
('Sanallinen uhkaus virkavaltaa kohtaan', 150, 1),
('Virheellisen tiedon antaminen', 250, 1),
('Korruptioyritys', 1500, 1),
('Aseella heiluminen kaupungin sisällä', 120, 2),
('Tappavalla aseella heiluminen kaupungin sisällä', 300, 2),
('Ei aselupaa', 600, 2),
('Laittoman aseen hallusapito', 700, 2),
('Murtotyökalujen hallussapito', 300, 2),
('Autovarkaus', 1800, 2),
('Tarkoitus myydä/levittää laitonta ainetta', 1500, 2),
('Laittoman aineen valmistus', 1500, 2),
('Laittoman aineen hallusapito ', 650, 2),
('Siviilin kidnappaus', 1500, 2),
('Virkavallan kidnappaus', 2000, 2),
('Ryöstö', 650, 2),
('Aseellinen kaupparyöstö', 650, 2),
('Aseellinen pankkiryöstö', 1500, 2),
('Siviiliä kohtaan kohdistunut hyökkäys', 2000, 3),
('Virkavaltaa kohtaan kohdistunut hyökkäys', 2500, 3),
('Siviilin murhanyritys', 3000, 3),
('Virkavallan murhanyirtys', 5000, 3),
('Siviilin murha', 10000, 3),
('Virkavallan murha', 30000, 3),
('Väkivaltainan tappo', 1800, 3),
('Petos', 2000, 2);
;

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Police')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Recrue',20,'{}','{}'),
('police',1,'officer','Officier',40,'{}','{}'),
('police',2,'sergeant','Sergent',60,'{}','{}'),
('police',3,'lieutenant','Lieutenant',85,'{}','{}'),
('police',4,'boss','Chef',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
("Utilisation abusive d'un klaxon", 30, 0),
("Traversée illégale d'une ligne continue", 40, 0),
("Conduite sur la mauvaise voie de circulation", 250, 0),
("Demi-tour illégal", 250, 0),
("Conduite illégale hors piste", 170, 0),
("Refus d'obéir à un ordre légal", 30, 0),
("Arrêt illégal d'un véhicule", 150, 0),
("Stationnement illégal", 70, 0),
("Ne pas céder le passage à droite", 70, 0),
("Non-respect des informations du véhicule", 90, 0),
("Ne pas s'arrêter à un panneau d'arrêt", 105, 0),
("Ne pas s'arrêter à un feu rouge", 130, 0),
("Dépassement illégal", 100, 0),
("Conduite d'un véhicule illégal", 100, 0),
("Conduite sans permis", 1500, 0),
("Délit de fuite", 800, 0),
("Excès de vitesse de moins de 5 mph", 90, 0),
("Excès de vitesse de 5 à 15 mph", 120, 0),
("Excès de vitesse de 15 à 30 mph", 180, 0),
("Excès de vitesse de plus de 30 mph", 300, 0),
("Obstruction de la circulation", 110, 1),
("Ivresse publique", 90, 1),
("Comportement désordonné", 90, 1),
("Obstruction de la justice", 130, 1),
("Insultes envers les civils", 75, 1),
("Irrespect envers un agent de police", 110, 1),
("Menace verbale envers un civil", 90, 1),
("Menace verbale envers un agent de police", 150, 1),
("Fourniture de fausses informations", 250, 1),
("Tentative de corruption", 1500, 1),
("Exhibition d'une arme en zone urbaine", 120, 2),
("Exhibition d'une arme mortelle en zone urbaine", 300, 2),
("Pas de licence pour les armes à feu", 600, 2),
("Possession d'une arme illégale", 700, 2),
("Possession d'outils de cambriolage", 300, 2),
("Vol de voiture", 1800, 2),
("Intention de vendre/distribuer une substance illégale", 1500, 2),
("Fabrication d'une substance illégale", 1500, 2),
("Possession d'une substance illégale", 650, 2),
("Enlèvement d'un civil", 1500, 2),
("Enlèvement d'un agent de police", 2000, 2),
("Vol à main armée", 650, 2),
("Vol à main armée d'un magasin", 650, 2),
("Vol à main armée d'une banque", 1500, 2),
("Agression sur un civil", 2000, 3),
("Agression sur un agent de police", 2500, 3),
("Tentative de meurtre sur un civil", 3000, 3),
("Tentative de meurtre sur un agent de police", 5000, 3),
("Meurtre d'un civil", 10000, 3),
("Meurtre d'un agent de police", 30000, 3),
("Homicide involontaire", 1800, 3),
("Fraude", 2000, 2);
;

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Polizia', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Polizia', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Polizia', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Polizia')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Recluta',20,'{}','{}'),
('police',1,'officer','Agente',40,'{}','{}'),
('police',2,'sergeant','Sergente',60,'{}','{}'),
('police',3,'lieutenant','Tenente',85,'{}','{}'),
('police',4,'boss','Capo',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
('Utilizzo improprio del clacson', 30, 0),
('Attraversamento illegale di una linea continua', 40, 0),
('Guida contromano', 250, 0),
('Inversione di marcia illegale', 250, 0),
('Guida illegale fuoristrada', 170, 0),
('Rifiuto di un ordine di un LEO (Law Enforcement Officer)', 30, 0),
('Arresto illegale di un veicolo', 150, 0),
('Parcheggio illegale', 70, 0),
('Mancata precedenza a destra', 70, 0),
('Mancato rispetto delle informazioni sul veicolo', 90, 0),
('Mancato arresto ad un segnale di stop', 105, 0),
('Mancato arresto a un semaforo rosso', 130, 0),
('Sorpasso illegale', 100, 0),
('Guida di un veicolo illegale', 100, 0),
('Guida senza patente', 1500, 0),
('Investire e fuggire', 800, 0),
('Eccesso di velocità oltre < 5 mph', 90, 0),
('Eccesso di velocità oltre 5-15 mph', 120, 0),
('Eccesso di velocità oltre 15-30 mph', 180, 0),
('Eccesso di velocità oltre > 30 mph', 300, 0),
('Ostacolo al flusso del traffico', 110, 1),
('Ubriachezza molesta', 90, 1),
('Comportamento disordinato', 90, 1),
('Intralcio alla giustizia', 130, 1),
('Insulti verso i civili', 75, 1),
('Mancato rispetto nei confronti di un LEO (Law Enforcement Officer)', 110, 1),
('Minaccia verbale verso un civile', 90, 1),
('Minaccia verbale verso un LEO (Law Enforcement Officer)', 150, 1),
('Fornito informazioni false', 250, 1),
('Tentativo di corruzione', 1500, 1),
('Sfoggiato un arma in città', 120, 2),
('Sfoggiato un arma letale in città', 300, 2),
('Assenza di licenza per porto d armi', 600, 2),
('Possesso di un arma illegale', 700, 2),
('Possesso di attrezzi per scasso', 300, 2),
('Furto di un auto', 1800, 2),
('Tentativo di vendita/distribuzione di una sostanza illegale', 1500, 2),
('Falsificazione di una sostanza illegale', 1500, 2),
('Possesso di una sostanza illegale', 650, 2),
('Sequestro di un civile', 1500, 2),
('Sequestro di un LEO (Law Enforcement Officer)', 2000, 2),
('Rapina', 650, 2),
('Rapina armata di un negozio', 650, 2),
('Rapina armata di una banca', 1500, 2),
('Aggressione a un civile', 2000, 3),
('Aggressione a un LEO (Law Enforcement Officer)', 2500, 3),
('Tentativo di omicidio di un civile', 3000, 3),
('Tentativo di omicidio di un LEO (Law Enforcement Officer)', 5000, 3),
('Omicidio di un civile', 10000, 3),
('Omicidio di un LEO (Law Enforcement Officer)', 30000, 3),
('Omicidio colposo', 1800, 3),
('Frode', 2000, 2);
;

View File

@@ -0,0 +1,62 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Politie', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Politie', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Politie', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Politie')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'aspirant','Aspirant',0,'{}','{}'),
('police',1,'surveillant','Surveillant',0,'{}','{}'),
('police',2,'agent','Agent',0,'{}','{}'),
('police',3,'hoofdagent','Hoofdagent',0,'{}','{}'),
('police',4,'brigadier','Brigadier',0,'{}','{}'),
('police',5,'inspecteur','Inspecteur',0,'{}','{}'),
('police',6,'hoofdinspecteur','Hoofdinspecteur',0,'{}','{}'),
('police',7,'commissaris','Commissaris',0,'{}','{}'),
('police',8,'hoofdcommissaris','Hoofdcommissaris',0,'{}','{}'),
('police',9,'boss','Eerste Hoofdcommissaris',0,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
);
INSERT INTO `fine_types` (label, amount, category) VALUES
('Onnodig claxoneren', 90, 0),
('Rijden over een doorgetrokken streep', 240, 0),
('Tegen het verkeer in rijden', 140, 0),
('Negeren keerverbod (u-turn)', 140, 0),
('Niet opvolgen aanwijzing van bevoegd ambtenaar', 110, 0),
('Fout parkeren', 95, 0),
('Verkeerd voorsorteren', 240, 0),
('Rijden met een WOK status ', 300, 0),
('Door rood rijden', 240, 0),
('Rijden zonder rijbewijs', 340, 0),
('Snelheid overtreding < 10km', 112, 0),
('Snelheid overtreding 10 - 20km', 202, 0),
('Snelheid overtreding 20 - 50km', 670, 0),
('Snelheid overtreding > 50km', 1000, 0),
('Openbare dronkenschap', 415, 1),
('Wanordelijk gedrag', 500, 1),
('Hulpdiensten hinderen', 700, 1),
('Belediging ambtenaar in functie', 200, 1),
('Bedreiging', 980, 1),
('Illegaal wapen bezit', 2300, 2),
('Illegaal drugs bezit', 400, 2),
('Drugshandel', 3000, 3)
;

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Police', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Police')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Posterunkowy',20,'{}','{}'),
('police',1,'officer','Sierżant',40,'{}','{}'),
('police',2,'sergeant','Aspirant',60,'{}','{}'),
('police',3,'lieutenant','Komisarz',85,'{}','{}'),
('police',4,'boss','Generalny Inspektor',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
('Nadużywanie klaksonu', 30, 0),
('Przekroczenie lini ciągłej', 40, 0),
('Jechanie po złej stronie drogi', 250, 0),
('Nieprawidłowe zawracanie', 250, 0),
('Nielegalna jazda Off-road', 170, 0),
('Niedostosowanie się do poleceń Policji', 30, 0),
('Nieprawidłowe zatrzymanie pojazdu', 150, 0),
('Nieprawidłowe parkownie', 70, 0),
('Niezastosowanie się do ruchu prawostronnego (jazda lewym pasem)', 70, 0),
('Brak informacji o pojeździe', 90, 0),
('Niezastosowanie się do znaku SOTP', 105, 0),
('Niezatrzymanie się na czerwonym świetle', 130, 0),
('Przechodzenie w niedozwolonym miejscu', 100, 0),
('Jazda nielegalnym pojazdem', 100, 0),
('Brak prawa jazdy', 1500, 0),
('Ucieczka z miejsca zdarzenia', 800, 0),
('Przekroczenie prędkości < 5 mph', 90, 0),
('Przekroczenie prędkości 5-15 mph', 120, 0),
('Przekroczenie prędkości 15-30 mph', 180, 0),
('Przekroczenie prędkości > 30 mph', 300, 0),
('Utrudnianie przemieszczania się', 110, 1),
('Publiczne zgorszenie', 90, 1),
('Niepoprawne zachowanie', 90, 1),
('Utrudnianie postępowania', 130, 1),
('Obraza cywilów', 75, 1),
('Obraza graczy', 110, 1),
('Groźby werbalne', 90, 1),
('Przeklinanie na graczy', 150, 1),
('Dostarczanie fałszywych informacji', 250, 1),
('Próba korupcji', 1500, 1),
('Wymachiwanie bronią w mieście', 120, 2),
('Wymachiwanie niebezpieczną bronią w mieście', 300, 2),
('Brak pozwolenia na broń', 600, 2),
('Posiadanie nielegalnej broni', 700, 2),
('Posiadanie narzędzi do włamań', 300, 2),
('Złodziej - recydywista', 1800, 2),
('Rozprowadzanie nielegalnych substancji', 1500, 2),
('Wytwarzanie nielegalnych substancji', 1500, 2),
('Posiadanie zakazanych substancji', 650, 2),
('Porwanie cywila', 1500, 2),
('Porwanie gracza', 2000, 2),
('Rabunek', 650, 2),
('Kradzież z bronią w ręku', 650, 2),
('Napad na Bank', 1500, 2),
('Atak na cywila', 2000, 3),
('Atak na gracza', 2500, 3),
('Próba morderstwa cywila', 3000, 3),
('Próba morderstwa gracza', 5000, 3),
('Zabójstwo cywila z premedytacją', 10000, 3),
('Zabójstwo gracza z premedytacją', 30000, 3),
('Nieumyślne spowodowanie śmierci', 1800, 3),
('Oszustwo', 2000, 2);
;

View File

@@ -0,0 +1,88 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_police', 'Policija', 1)
;
INSERT INTO `datastore` (name, label, shared) VALUES
('society_police', 'Policija', 1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_police', 'Policija', 1)
;
INSERT INTO `jobs` (name, label) VALUES
('police', 'Policija')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('police',0,'recruit','Regrut',20,'{}','{}'),
('police',1,'officer','Oficir',40,'{}','{}'),
('police',2,'sergeant','Narednik',60,'{}','{}'),
('police',3,'lieutenant','Poručnik',85,'{}','{}'),
('police',4,'boss','Načelnik',100,'{}','{}')
;
CREATE TABLE `fine_types` (
`id` int NOT NULL AUTO_INCREMENT,
`label` varchar(255) DEFAULT NULL,
`amount` int DEFAULT NULL,
`category` int DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `fine_types` (label, amount, category) VALUES
('Zloupotreba sirene', 30, 0),
('Prelazak preko pune linije', 40, 0),
('Vožnja u pogrešnom smeru', 250, 0),
('Skretanje u U', 250, 0),
('Vožnja van puta', 170, 0),
('Odbijanje naredbe', 30, 0),
('Ilegalno zaustavljanje vozila', 150, 0),
('Ilegalno parkiranje', 70, 0),
('Ne propuštanje udesno', 70, 0),
('Netačne informacije o vozilu', 90, 0),
('Ne zaustavljanje na STOP znak ', 105, 0),
('Prolazak kroz crveno svetlo', 130, 0),
('Ilegalni prolazak', 100, 0),
('Vožnja ilegalnog vozila', 100, 0),
('Vožnja bez vozačke dozvole', 1500, 0),
('Bežanje sa mesta nesreće', 800, 0),
('Prekoračenje brzine < 5 kmh', 90, 0),
('Prekoračenje brzine 5-15 kmh', 120, 0),
('Prekoračenje brzine 15-30 kmh', 180, 0),
('Prekoračenje brzine > 30 kmh', 300, 0),
('Ometanje saobraćaja', 110, 1),
('Javna intoksikacija', 90, 1),
('Napastvovanje', 90, 1),
('Nepoštovanje suda', 130, 1),
('Uvrede prema civilima', 75, 1),
('Uvrede prema službenom licu', 110, 1),
('Napad na civila', 90, 1),
('Napad na službeno lice', 150, 1),
('Davanje lažne izjave', 250, 1),
('Pokušaj korupcije', 1500, 1),
('Mahanje oružjem u gradu', 120, 2),
('Mahanje smrtonosnim oružjem u gradu', 300, 2),
('Posedovanje oružja bez dozvole', 600, 2),
('Posedovanje ilegalnog oružja', 700, 2),
('Posedovanje alata za provalu', 300, 2),
('Luda vožnja', 1800, 2),
('Pokušaj prodaje ilegalnih supstanci', 1500, 2),
('Prodaja ilegalnih supstanci', 1500, 2),
('Posedovanje ilegalnih supstanci ', 650, 2),
('Kidnapovanje civila', 1500, 2),
('Kidnapovanje službenog lica', 2000, 2),
('Pljačka', 650, 2),
('Oružana pljačka prodavnice', 650, 2),
('Oružana pljačka banke', 1500, 2),
('Oružani napad na civila', 2000, 3),
('Oružani napad na službeno lice', 2500, 3),
('Pokusaj ubistva civila', 3000, 3),
('Pokusaj ubistva službenog lica', 5000, 3),
('Ubistvo civila', 10000, 3),
('Ubistvo službenog lica', 30000, 3),
('Ubistvo bez predomišljaja', 1800, 3),
('Prevara', 2000, 2);
;

View File

@@ -0,0 +1,437 @@
if Config.EnableESXService then
if Config.MaxInService ~= -1 then
TriggerEvent('esx_service:activateService', 'police', Config.MaxInService)
end
end
TriggerEvent('esx_phone:registerNumber', 'police', TranslateCap('alert_police'), true, true)
TriggerEvent('esx_society:registerSociety', 'police', TranslateCap('society_police'), 'society_police', 'society_police', 'society_police', {type = 'public'})
RegisterNetEvent('esx_policejob:confiscatePlayerItem')
AddEventHandler('esx_policejob:confiscatePlayerItem', function(target, itemType, itemName, amount)
local source = source
local sourceXPlayer = ESX.Player(source)
local targetXPlayer = ESX.Player(target)
local job = sourceXPlayer.getJob()
local sourceXPlayerName = sourceXPlayer.getName()
local targetXPlayerName = targetXPlayer.getName()
if job.name ~= 'police' then
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Exploit The Confuscation System!'):format(sourceXPlayer.src))
return
end
if itemType == 'item_standard' then
local targetItem = targetXPlayer.getInventoryItem(itemName)
local sourceItem = sourceXPlayer.getInventoryItem(itemName)
-- does the target player have enough in their inventory?
if targetItem and targetItem.count >= amount then
-- can the player carry the said amount of x item?
if sourceXPlayer.canCarryItem(itemName, amount) then
targetXPlayer.removeInventoryItem(itemName, amount)
sourceXPlayer.addInventoryItem (itemName, amount)
sourceXPlayer.showNotification(TranslateCap('you_confiscated', amount, sourceItem.label, targetXPlayerName))
targetXPlayer.showNotification(TranslateCap('got_confiscated', amount, sourceItem.label, sourceXPlayerName))
else
sourceXPlayer.showNotification(TranslateCap('quantity_invalid'))
end
else
sourceXPlayer.showNotification(TranslateCap('quantity_invalid'))
end
elseif itemType == 'item_account' then
local targetAccount = targetXPlayer.getAccount(itemName)
-- does the target player have enough money?
if targetAccount.money >= amount then
targetXPlayer.removeAccountMoney(itemName, amount, "Confiscated")
sourceXPlayer.addAccountMoney (itemName, amount, "Confiscated")
sourceXPlayer.showNotification(TranslateCap('you_confiscated_account', amount, itemName, targetXPlayerName))
targetXPlayer.showNotification(TranslateCap('got_confiscated_account', amount, itemName, sourceXPlayerName))
else
sourceXPlayer.showNotification(TranslateCap('quantity_invalid'))
end
elseif itemType == 'item_weapon' then
if amount == nil then amount = 0 end
-- does the target player have weapon?
if targetXPlayer.hasWeapon(itemName) then
targetXPlayer.removeWeapon(itemName)
sourceXPlayer.addWeapon (itemName, amount)
sourceXPlayer.showNotification(TranslateCap('you_confiscated_weapon', ESX.GetWeaponLabel(itemName), targetXPlayerName, amount))
targetXPlayer.showNotification(TranslateCap('got_confiscated_weapon', ESX.GetWeaponLabel(itemName), amount, sourceXPlayerName))
else
sourceXPlayer.showNotification(TranslateCap('quantity_invalid'))
end
end
end)
RegisterNetEvent('esx_policejob:handcuff')
AddEventHandler('esx_policejob:handcuff', function(target)
local xPlayer = ESX.Player(source)
if xPlayer.getJob().name == 'police' then
TriggerClientEvent('esx_policejob:handcuff', target)
else
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Exploit Handcuffs!'):format(xPlayer.src))
end
end)
RegisterNetEvent('esx_policejob:drag')
AddEventHandler('esx_policejob:drag', function(target)
local xPlayer = ESX.Player(source)
if xPlayer.getJob().name == 'police' then
TriggerClientEvent('esx_policejob:drag', target, source)
else
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Exploit Dragging!'):format(xPlayer.src))
end
end)
RegisterNetEvent('esx_policejob:putInVehicle')
AddEventHandler('esx_policejob:putInVehicle', function(target)
local xPlayer = ESX.Player(source)
if xPlayer.getJob().name == 'police' then
TriggerClientEvent('esx_policejob:putInVehicle', target)
else
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Exploit Garage!'):format(xPlayer.src))
end
end)
RegisterNetEvent('esx_policejob:OutVehicle')
AddEventHandler('esx_policejob:OutVehicle', function(target)
local xPlayer = ESX.Player(source)
if xPlayer.getJob().name == 'police' then
TriggerClientEvent('esx_policejob:OutVehicle', target)
else
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Exploit Dragging Out Of Vehicle!'):format(xPlayer.src))
end
end)
RegisterNetEvent('esx_policejob:getStockItem')
AddEventHandler('esx_policejob:getStockItem', function(itemName, count)
local source = source
local xPlayer = ESX.Player(source)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
local inventoryItem = inventory.getItem(itemName)
-- is there enough in the society?
if count > 0 and inventoryItem.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, inventoryItem.name))
else
xPlayer.showNotification(TranslateCap('quantity_invalid'))
end
else
xPlayer.showNotification(TranslateCap('quantity_invalid'))
end
end)
end)
RegisterNetEvent('esx_policejob:putStockItems')
AddEventHandler('esx_policejob:putStockItems', function(itemName, count)
local xPlayer = ESX.Player(source)
local sourceItem = xPlayer.getInventoryItem(itemName)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
local inventoryItem = inventory.getItem(itemName)
-- does the player have enough of the item?
if sourceItem.count >= count and count > 0 then
xPlayer.removeInventoryItem(itemName, count)
inventory.addItem(itemName, count)
xPlayer.showNotification(TranslateCap('have_deposited', count, inventoryItem.name))
else
xPlayer.showNotification(TranslateCap('quantity_invalid'))
end
end)
end)
ESX.RegisterServerCallback('esx_policejob:getOtherPlayerData', function(source, cb, target, notify)
local xPlayer = ESX.Player(target)
local job = xPlayer.getJob()
if notify then
xPlayer.showNotification(TranslateCap('being_searched'))
end
if xPlayer then
local data = {
name = xPlayer.getName(),
job = job.label,
grade = job.grade_label,
inventory = xPlayer.getInventory(),
accounts = xPlayer.getAccounts(),
weapons = xPlayer.getLoadout()
}
if Config.EnableESXIdentity then
data.dob = xPlayer.get('dateofbirth')
data.height = xPlayer.get('height')
if xPlayer.get('sex') == 'm' then data.sex = 'male' else data.sex = 'female' end
end
TriggerEvent('esx_status:getStatus', target, 'drunk', function(status)
if status then
data.drunk = ESX.Math.Round(status.percent)
end
end)
if Config.EnableLicenses then
TriggerEvent('esx_license:getLicenses', target, function(licenses)
data.licenses = licenses
cb(data)
end)
else
cb(data)
end
end
end)
local fineList = {}
ESX.RegisterServerCallback('esx_policejob:getFineList', function(source, cb, category)
if not fineList[category] then
MySQL.query('SELECT * FROM fine_types WHERE category = ?', {category},
function(fines)
fineList[category] = fines
cb(fines)
end)
else
cb(fineList[category])
end
end)
ESX.RegisterServerCallback('esx_policejob:getVehicleInfos', function(source, cb, plate)
local retrivedInfo = {
plate = plate
}
if Config.EnableESXIdentity then
MySQL.single('SELECT users.firstname, users.lastname FROM owned_vehicles JOIN users ON owned_vehicles.owner = users.identifier WHERE plate = ?', {plate},
function(result)
if result then
retrivedInfo.owner = ('%s %s'):format(result.firstname, result.lastname)
end
cb(retrivedInfo)
end)
else
MySQL.scalar('SELECT owner FROM owned_vehicles WHERE plate = ?', {plate},
function(owner)
if owner then
local xPlayer = ESX.Player(owner)
if xPlayer then
retrivedInfo.owner = xPlayer.getName()
end
end
cb(retrivedInfo)
end)
end
end)
ESX.RegisterServerCallback('esx_policejob:getArmoryWeapons', function(source, cb)
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
local weapons = store.get('weapons')
if weapons == nil then
weapons = {}
end
cb(weapons)
end)
end)
ESX.RegisterServerCallback('esx_policejob:addArmoryWeapon', function(source, cb, weaponName, removeWeapon)
local xPlayer = ESX.Player(source)
if removeWeapon then
xPlayer.removeWeapon(weaponName)
end
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
local weapons = store.get('weapons') or {}
local foundWeapon = false
for i=1, #weapons, 1 do
if weapons[i].name == weaponName then
weapons[i].count = weapons[i].count + 1
foundWeapon = true
break
end
end
if not foundWeapon then
table.insert(weapons, {
name = weaponName,
count = 1
})
end
store.set('weapons', weapons)
cb()
end)
end)
ESX.RegisterServerCallback('esx_policejob:removeArmoryWeapon', function(source, cb, weaponName)
local xPlayer = ESX.Player(source)
xPlayer.addWeapon(weaponName, 500)
TriggerEvent('esx_datastore:getSharedDataStore', 'society_police', function(store)
local weapons = store.get('weapons') or {}
local foundWeapon = false
for i=1, #weapons, 1 do
if weapons[i].name == weaponName then
weapons[i].count = (weapons[i].count > 0 and weapons[i].count - 1 or 0)
foundWeapon = true
break
end
end
if not foundWeapon then
table.insert(weapons, {
name = weaponName,
count = 0
})
end
store.set('weapons', weapons)
cb()
end)
end)
ESX.RegisterServerCallback('esx_policejob:buyWeapon', function(source, cb, weaponName, type, componentNum)
local xPlayer = ESX.Player(source)
local authorizedWeapons, selectedWeapon = Config.AuthorizedWeapons[xPlayer.getJob().grade_name]
for k,v in ipairs(authorizedWeapons) do
if v.weapon == weaponName then
selectedWeapon = v
break
end
end
if not selectedWeapon then
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Buy Invalid Weapon - ^5%s^7!'):format(source, weaponName))
cb(false)
else
-- Weapon
if type == 1 then
if xPlayer.getMoney() >= selectedWeapon.price then
xPlayer.removeMoney(selectedWeapon.price, "Weapon Bought")
xPlayer.addWeapon(weaponName, 100)
cb(true)
else
cb(false)
end
-- Weapon Component
elseif type == 2 then
local price = selectedWeapon.components[componentNum]
local weaponNum, weapon = ESX.GetWeapon(weaponName)
local component = weapon.components[componentNum]
if component then
if xPlayer.getMoney() >= price then
xPlayer.removeMoney(price, "Weapon Component Bought")
xPlayer.addWeaponComponent(weaponName, component.name)
cb(true)
else
cb(false)
end
else
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Buy Invalid Weapon Component - ^5%s^7!'):format(source, componentNum))
cb(false)
end
end
end
end)
ESX.RegisterServerCallback('esx_policejob:buyJobVehicle', function(source, cb, vehicleProps, type)
local xPlayer = ESX.Player(source)
local job = xPlayer.getJob()
local price = getPriceFromHash(vehicleProps.model, job.grade_name, type)
-- vehicle model not found
if price == 0 then
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Buy Invalid Vehicle - ^5%s^7!'):format(source, vehicleProps.model))
cb(false)
else
if xPlayer.getMoney() >= price then
xPlayer.removeMoney(price, "Job Vehicle Bought")
MySQL.insert('INSERT INTO owned_vehicles (owner, vehicle, plate, type, job, `stored`) VALUES (?, ?, ?, ?, ?, ?)', { xPlayer.getIdentifier(), json.encode(vehicleProps), vehicleProps.plate, type, job.name, true},
function (rowsChanged)
cb(true)
end)
else
cb(false)
end
end
end)
ESX.RegisterServerCallback('esx_policejob:storeNearbyVehicle', function(source, cb, plates)
local xPlayer = ESX.Player(source)
local job = xPlayer.getJob()
local identifier = xPlayer.getIdentifier()
local plate = MySQL.scalar.await('SELECT plate FROM owned_vehicles WHERE owner = ? AND plate IN (?) AND job = ?', {identifier, plates, job.name})
if plate then
MySQL.update('UPDATE owned_vehicles SET `stored` = true WHERE owner = ? AND plate = ? AND job = ?', {identifier, plate, job.name},
function(rowsChanged)
if rowsChanged == 0 then
cb(false)
else
cb(plate)
end
end)
else
cb(false)
end
end)
function getPriceFromHash(vehicleHash, jobGrade, type)
local vehicles = Config.AuthorizedVehicles[type]?[jobGrade] or {}
for i = 1, #vehicles do
local vehicle = vehicles[i]
if GetHashKey(vehicle.model) == vehicleHash then
return vehicle.price
end
end
return 0
end
ESX.RegisterServerCallback('esx_policejob:getStockItems', function(source, cb)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_police', function(inventory)
cb(inventory.items)
end)
end)
ESX.RegisterServerCallback('esx_policejob:getPlayerInventory', function(source, cb)
local xPlayer = ESX.Player(source)
local items = xPlayer.getInventory(false)
cb({items = items})
end)
AddEventHandler('onResourceStop', function(resource)
if resource == GetCurrentResourceName() then
TriggerEvent('esx_phone:removeNumber', 'police')
end
end)