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_vehicleshop
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_vehicleshop 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,59 @@
# esx_vehicleshop
ESX Vehicle Shop adds an vehicle shop to the game, where employeed players can sell vehicles to other players. You can also disable the job part so any player can buy vehicles with a menu based interaction.
## Requirements
* Auto mode (everyone can buy vehicles from the dealer)
* No need to download other resources
* Player management (the car dealer job): billing, boss actions and more!
* [esx_society](https://github.com/esx-framework/esx_society)
* [esx_billing](https://github.com/esx-framework/esx_billing)
* [esx_addonaccount](https://github.com/esx-framework/esx_addonaccount)
* [esx_addoninventory](https://github.com/esx-framework/esx_addoninventory)
* [cron](https://github.com/esx-framework/esx_core/tree/main/%5Bcore%5D/cron)
## Download & Installation
### Using [fvm](https://github.com/qlaffont/fvm-installer)
```
fvm install --save --folder=esx esx-org/esx_vehicleshop
```
### Using Git
```
cd resources
git clone https://github.com/esx-framework/esx_vehicleshop [esx]/esx_vehicleshop
```
### Manually
- Download https://github.com/esx-framework/esx_vehicleshop/archive/refs/heads/main.zip
- Put it in the `[esx]` directory
### Installation
- Import `esx_vehicleshop.sql` in your database
- Add this in your `server.cfg`:
```
start esx_vehicleshop
```
- If you want player management you have to set `Config.EnablePlayerManagement` to `true` in `config.lua`
## Legal
### License
esx_vehicleshop - vehicle shop 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 one or more lines are too long

View File

@@ -0,0 +1,41 @@
local NumberCharset = {}
local Charset = {}
for i = 48, 57 do table.insert(NumberCharset, string.char(i)) end
for i = 65, 90 do table.insert(Charset, string.char(i)) end
for i = 97, 122 do table.insert(Charset, string.char(i)) end
function GeneratePlate()
math.randomseed(GetGameTimer())
local generatedPlate = string.upper(GetRandomLetter(Config.PlateLetters) .. (Config.PlateUseSpace and ' ' or '') .. GetRandomNumber(Config.PlateNumbers))
local isTaken = IsPlateTaken(generatedPlate)
if isTaken then
return GeneratePlate()
end
return generatedPlate
end
-- mixing async with sync tasks
function IsPlateTaken(plate)
local p = promise.new()
ESX.TriggerServerCallback('esx_vehicleshop:isPlateTaken', function(isPlateTaken)
p:resolve(isPlateTaken)
end, plate)
return Citizen.Await(p)
end
function GetRandomNumber(length)
Wait(0)
return length > 0 and GetRandomNumber(length - 1) .. NumberCharset[math.random(1, #NumberCharset)] or ''
end
function GetRandomLetter(length)
Wait(0)
return length > 0 and GetRandomLetter(length - 1) .. Charset[math.random(1, #Charset)] or ''
end

View File

@@ -0,0 +1,66 @@
Config = {}
Config.DrawDistance = 10
Config.MarkerColor = {r = 120, g = 120, b = 240}
Config.EnablePlayerManagement = false -- enables the actual car dealer job. You'll need esx_addonaccount, esx_billing and esx_society
Config.ResellPercentage = 50
Config.Locale = GetConvar('esx:locale', 'en')
Config.LicenseEnable = false -- require people to own drivers license when buying vehicles? Only applies if EnablePlayerManagement is disabled. Requires esx_license
-- looks like this: 'LLL NNN'
-- The maximum plate length is 8 chars (including spaces & symbols), don't go past it!
Config.PlateLetters = 3
Config.PlateNumbers = 3
Config.PlateUseSpace = true
Config.OxInventory = ESX.GetConfig().OxInventory
Config.Blip = {
show = true,
Sprite = 326,
Display = 4,
Scale = 0.8
}
Config.Zones = {
ShopEntering = {
Pos = vector3(-33.7, -1102.0, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = 1
},
ShopInside = {
Pos = vector3(-47.5, -1097.2, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Heading = -20.0,
Type = -1
},
ShopOutside = {
Pos = vector3(-28.6, -1085.6, 25.5),
Size = {x = 1.5, y = 1.5, z = 1.0},
Heading = 330.0,
Type = -1
},
BossActions = {
Pos = vector3(-32.0, -1114.2, 25.4),
Size = {x = 1.5, y = 1.5, z = 1.0},
Type = -1
},
GiveBackVehicle = {
Pos = vector3(-18.2, -1078.5, 25.6),
Size = {x = 3.0, y = 3.0, z = 1.0},
Type = (Config.EnablePlayerManagement and 1 or -1)
},
ResellVehicle = {
Pos = vector3(-44.6, -1080.7, 25.6),
Size = {x = 3.0, y = 3.0, z = 1.0},
Type = 1
}
}

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Concessionnaire',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Concesionnaire',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Concessionnaire')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','Recrue',10,'{}','{}'),
('cardealer',1,'novice','Novice',25,'{}','{}'),
('cardealer',2,'experienced','Experimente',40,'{}','{}'),
('cardealer',3,'boss','Patron',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compacts'),
('coupes','Coupés'),
('sedans','Sedans'),
('sports','Sports'),
('sportsclassics','Sports Classics'),
('super','Super'),
('muscle','Muscle'),
('offroad','Off Road'),
('suvs','SUVs'),
('vans','Vans'),
('motorcycles','Motos')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet SR', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,27 @@
fx_version 'cerulean'
game 'gta5'
lua54 'yes'
description 'Allows Players to buy & sell vehicles'
version '1.0'
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'
}
dependency 'es_extended'
export 'GeneratePlate'

View File

@@ -0,0 +1,65 @@
Locales['cs'] = {
-- global menus
['not_enough_in_society'] = 'neni zde dostatek ~r~tohoto predmetu ve spolecnosti!',
['player_cannot_hold'] = '~r~nemas dostatek volneho mista ve tvem inventari!',
['vehicle_belongs'] = 'vozidlo se značkou %s nyní patří tobě',
['broke_company'] = 'nemáš dostatek peněz na účtě společnosti',
['license_missing'] = 'nemáš ridicský prukaz!',
['buy_vehicle_shop'] = 'přeješ si zakoupit %s za $%s?',
['buy_vehicle'] = 'zakoupit vozidlo',
['car_dealer'] = 'autosalon',
['shop_awaiting_model'] = 'vozidlo se právě STAHUJE & NAČÍTÁ, čekej prosím',
['create_bill'] = 'vytvořit účtenku',
['dealer_boss'] = 'prodejce aut - Sef',
['delivered'] = 'vozidlo bylo doruceno dealerovi',
['depop_vehicle'] = 'vrátit vozidlo do garaze',
['return_provider'] = 'vratit vozidlo zprostredkovateli',
['get_rented_vehicles'] = 'vozidla na pujceni',
['no_current_vehicle'] = 'momentalne nemas zobrazene vozidlo',
['invalid_amount'] = 'neplatná částka',
['invoice_amount'] = 'castka na fakture',
['no'] = 'ne',
['yes'] = 'ano',
['no_players'] = 'žádní hráči poblíž tebe',
['not_enough_money'] = 'nemáš dostatek peněz',
['not_rental'] = 'tohle není ~r~půjčitelné vozidlo',
['not_yours'] = 'tohle auto ti nepatří',
['paid_rental'] = 'you have paid $%s for renting an vehicle with plate %s',
['paid_rental_evicted'] = 'you could not afford to pay $%s for your rented vehicle with plate %s, it has been returned to the dealership',
['pop_vehicle'] = 'vlozit vozidlo k prodeji',
['rent_vehicle'] = 'autosalon - Vozidla k pujceni',
['return_provider_menu'] = 'autosalon - Vratit vozidlo zprostredkovateli',
['rental_amount'] = 'cena pujceni',
['sell_menu'] = 'stiskni [E] pro prodani %s za $%s',
['set_vehicle_owner_rent'] = 'pujcit vozidlo',
['set_vehicle_owner_sell'] = 'prodat vozidlo',
['shop_menu'] = 'stiskni [E] pro přístup do menu',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'vozidlo - Prodejce aut',
['vehicle_menu'] = 'stiskni [E] pro vraceni vozidla zpet',
['vehicle_purchased'] = 'zakoupil jsi vozidlo',
['vehicle_set_owned'] = 'vozidlo %s bylo prirazeno %s',
['vehicle_set_rented'] = 'vozidlo %s bylo pujceno za %s',
['vehicle_sold_for'] = '%s bylo prodano za $%s',
['vehicle_sold_to'] = 'vozidlo se znackou %s bylo prodano za %s',
['deposit_stock'] = 'vlozit do skladu',
['take_stock'] = 'vybraz ze skladu',
['dealership_stock'] = 'sklad Autosalonu',
['amount'] = 'castka',
['quantity_invalid'] = 'to je neplatne mnozstvi',
['inventory'] = 'inventar',
['dealership'] = 'autodealer',
['dealer_customers'] = 'zakaznici dealera',
['have_withdrawn'] = 'vybral jsi x%s %s',
['have_deposited'] = 'vlozil jsi x%s %s',
['boss_actions'] = 'akce šéfa',
['invalid_vehicle'] = 'neplatné vozidlo',
-- sold vehicles
['boss_sold'] = 'seznam prodaných vozidel',
['customer_client'] = 'jméno zákazníka',
['customer_model'] = 'model auta',
['customer_plate'] = 'značka auta',
['customer_soldby'] = 'prodáno zaměstnancem',
['customer_date'] = 'datum',
}

View File

@@ -0,0 +1,65 @@
Locales['da'] = {
-- global menus
['not_enough_in_society'] = 'der er ikke nok af ~r~dette item!',
['player_cannot_hold'] = 'du har ~r~ikke nok ledig plads i dit inventar!',
['vehicle_belongs'] = 'et køretøj med nummerpladen %s tilhører nu dig',
['broke_company'] = 'du ikke har penge nok på firmakontoen',
['license_missing'] = 'du har ikke et kørekort!',
['buy_vehicle_shop'] = 'vil du købe %s for DKK%s?',
['buy_vehicle'] = 'køb en bil',
['car_dealer'] = 'Bilforhandler',
['shop_awaiting_model'] = 'køretøjet læsser i øjeblikket, vent venligst',
['create_bill'] = 'opret faktura',
['dealer_boss'] = 'bilforhandler - Cheff',
['delivered'] = 'køretøjet er leveret til forhandleren',
['depop_vehicle'] = 'returner køretøjet til garagen',
['return_provider'] = 'returner køretøjet til udbyderen',
['get_rented_vehicles'] = 'køretøjer til leje',
['no_current_vehicle'] = 'du har i øjeblikket ikke et køretøj udstillet',
['invalid_amount'] = 'ugyldig mængde',
['invoice_amount'] = 'faktura mænge',
['no'] = 'nej',
['yes'] = 'ja',
['no_players'] = 'der er ingen spillere i nærheden af dig',
['not_enough_money'] = 'du har ikke nok penge',
['not_rental'] = 'dette er ikke et ~r~lejet køretøj',
['not_yours'] = 'dette køretøj tilhører ikke dig',
['paid_rental'] = 'du har betalt DKK%s for at leje et køretøj med nummerplade %s',
['paid_rental_evicted'] = 'du ikke havde råd til at betale DKK%s for dit lejede køretøj med nummerpladen %s, det er blevet returneret til forhandleren',
['pop_vehicle'] = 'sæt en bil til salg',
['rent_vehicle'] = 'bilforhandler - Biler til leje',
['return_provider_menu'] = 'bilforhandler - Returner køretøjet til udbyderen',
['rental_amount'] = 'leje mængde',
['sell_menu'] = 'tryk på [E] for at sælge din %s for DKK%s',
['set_vehicle_owner_rent'] = 'lej bil',
['set_vehicle_owner_sell'] = 'sælg bil',
['shop_menu'] = 'tryk [E] for at tilgå menuen',
['generic_shopitem'] = 'DKK%s',
['vehicle_dealer'] = 'bil - bilforhandler',
['vehicle_menu'] = 'tryk på [E] for at give det lejede køretøj tilbage',
['vehicle_purchased'] = 'du købte en bil',
['vehicle_set_owned'] = 'køretøj %s er blevet tildelt til %s',
['vehicle_set_rented'] = 'køretøj %s er blevet lejet til %s',
['vehicle_sold_for'] = '%s er blevet solgt for DKK%s',
['vehicle_sold_to'] = 'køretøjet med plade %s er blevet solgt til %s ',
['deposit_stock'] = 'indsæt antal',
['take_stock'] = 'høv antal',
['dealership_stock'] = 'bilforhandler Mængde',
['amount'] = 'mængde',
['quantity_invalid'] = 'det er en ugyldig mængde',
['inventory'] = 'inventar',
['dealership'] = 'bilforhandler',
['dealer_customers'] = 'kunder',
['have_withdrawn'] = 'du har trukket x%s %s tilbage',
['have_deposited'] = 'du har indsat x%s %s',
['boss_actions'] = 'chef menu',
['invalid_vehicle'] = 'Ugyldigt køretøj',
-- sold vehicles
['boss_sold'] = 'liste over solgte biler',
['customer_client'] = 'kunde navn',
['customer_model'] = 'bil model',
['customer_plate'] = 'bil nummerplads',
['customer_soldby'] = 'solgt af',
['customer_date'] = 'dato',
}

View File

@@ -0,0 +1,65 @@
Locales['de'] = {
-- global menus
['not_enough_in_society'] = 'Es gibt nicht genug von dem Item in der Firma!',
['player_cannot_hold'] = 'Du hast ~r~nicht~r~ genügend freien Platz im Inventar!',
['vehicle_belongs'] = 'Ein Fahrzeug mit dem Kennzeichen %s gehört nun dir!',
['broke_company'] = 'Du hast nicht genug geld im Firmenkonto!',
['license_missing'] = 'Du hast keinen Führerschein!',
['buy_vehicle_shop'] = 'Willst du %s kaufen für %sEUR?',
['buy_vehicle'] = 'Fahrzeug kaufen',
['car_dealer'] = 'Autohändler',
['shop_awaiting_model'] = 'Das Fahrzeug lädt grade, warte bitte!',
['create_bill'] = 'Rechnung Erstellen',
['dealer_boss'] = 'Autohändler - Chef',
['delivered'] = 'Das Fahrzeug wurde zum Händler geliefert',
['depop_vehicle'] = 'Fahrzeug zum Händler bringen',
['return_provider'] = 'Fahrzeug zum besitzer bringen',
['get_rented_vehicles'] = 'Fahrzeuge zum Mieten',
['no_current_vehicle'] = 'Du hast derzeit kein Fahrzeug auf dem Display',
['invalid_amount'] = 'Ungültige Anzahl',
['invoice_amount'] = 'Ungültige Anzahl',
['no'] = 'Nein',
['yes'] = 'Ja',
['no_players'] = 'Es gibt keinen Spieler in deiner Nähe!',
['not_enough_money'] = 'Du hast nicht genug Geld!',
['not_rental'] = 'Das ist kein ~r~miet Fahrzeug',
['not_yours'] = 'Dieses Fahrzeug gehört dir nicht!',
['paid_rental'] = 'Du bezahlst %sEUR um ein Fahrzeug mit dem Kennzeichen %s zu mieten.',
['paid_rental_evicted'] = 'Du kannst dir es nicht leisten %sEUR für deinen Mietwagen zu zahlen. Das Fahrzeug %s, wurde zum Händler zurückgebracht.',
['pop_vehicle'] = 'Fahrzeuge zum verkauf rausfahren',
['rent_vehicle'] = 'Autohändler - Fahrzeuge zum Vermieten',
['return_provider_menu'] = 'Autohändler - Fahrzeug zum Händler bringen',
['rental_amount'] = 'Mietpreis',
['sell_menu'] = 'Drücke [E] um dein %s für %sEUR zu verkaufen!',
['set_vehicle_owner_rent'] = 'Fahrzeug Mieten',
['set_vehicle_owner_sell'] = 'Fahrzeug verkaufen',
['shop_menu'] = 'Drücke [E] um auf das Menü zuzugreifen.',
['generic_shopitem'] = '%sEUR',
['vehicle_dealer'] = 'Fahrzeug - Autohändler',
['vehicle_menu'] = 'Drücke [E] um ein Mietwagen zurückzugeben',
['vehicle_purchased'] = 'Fahrzeug wird gekauft',
['vehicle_set_owned'] = 'Fahrzeug %s wurde an %s gegeben.',
['vehicle_set_rented'] = 'Fahrzeug %s wurde an %s vermietet.',
['vehicle_sold_for'] = 'Das Fahrzeug %s wurde für %sEUR verkauft.',
['vehicle_sold_to'] = 'Das Fahrzeug mit dem Kennzeichen %s wurde verkauft an %s',
['deposit_stock'] = 'Item einlagern',
['take_stock'] = 'Item entnehmen',
['dealership_stock'] = 'Autohändler - Lager',
['amount'] = 'Anzahl',
['quantity_invalid'] = 'Das ist eine Ungültige Anzahl!',
['inventory'] = 'Inventar',
['dealership'] = 'Autohändler',
['dealer_customers'] = 'Autohändler - Kunden',
['have_withdrawn'] = 'Du entnimmst x%s %s',
['have_deposited'] = 'Du lagerst ein x%s %s',
['boss_actions'] = 'Boss Aktionen',
['invalid_vehicle'] = 'Ungültiges Fahrzeug',
-- sold vehicles
['boss_sold'] = 'Liste von Verkauften Fahrzeugen',
['customer_client'] = 'Kundenname',
['customer_model'] = 'Auto Modell',
['customer_plate'] = 'Auto Kennzeichen',
['customer_soldby'] = 'Verkauft von',
['customer_date'] = 'Datum',
}

View File

@@ -0,0 +1,65 @@
Locales['en'] = {
-- global menus
['not_enough_in_society'] = 'there\'s not enough of ~r~that item in the society!',
['player_cannot_hold'] = 'you do ~r~not have enough free space in your inventory!',
['vehicle_belongs'] = 'a vehicle with plate %s now belongs to you',
['broke_company'] = 'you do not have enough money in the company account',
['license_missing'] = 'you don\'t have a driver\'s license!',
['buy_vehicle_shop'] = 'do you want to purchase %s for $%s?',
['buy_vehicle'] = 'buy vehicle',
['car_dealer'] = 'car Dealership',
['shop_awaiting_model'] = 'the vehicle is currently loading, please wait',
['create_bill'] = 'create bill',
['dealer_boss'] = 'car Dealer - Boss',
['delivered'] = 'the vehicle has been delivered to the dealer',
['depop_vehicle'] = 'return vehicle to garage',
['return_provider'] = 'return vehicle to provider',
['get_rented_vehicles'] = 'vehicles for rent',
['no_current_vehicle'] = 'you do not currently have a vehicle on display',
['invalid_amount'] = 'invalid amount',
['invoice_amount'] = 'invoice amount',
['no'] = 'no',
['yes'] = 'yes',
['no_players'] = 'there is no players near you',
['not_enough_money'] = 'you do not have enough money',
['not_rental'] = 'this is not a ~r~rental vehicle',
['not_yours'] = 'this vehicle does not belong to you',
['paid_rental'] = 'you have paid $%s for renting a vehicle with plate %s',
['paid_rental_evicted'] = 'you could not afford to pay $%s for your rented vehicle with plate %s, it has been returned to the dealership',
['pop_vehicle'] = 'put out vehicle for sale',
['rent_vehicle'] = 'car Dealer - Vehicles for rent',
['return_provider_menu'] = 'car Dealer - Return vehicle to provider',
['rental_amount'] = 'rental amount',
['sell_menu'] = 'press [E] to sell your %s for $%s',
['set_vehicle_owner_rent'] = 'rent vehicle',
['set_vehicle_owner_sell'] = 'sell vehicle',
['shop_menu'] = 'press [E] to access the menu',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'vehicle - Car Dealer',
['vehicle_menu'] = 'press [E] to give back the rented vehicle',
['vehicle_purchased'] = 'you bought a vehicle',
['vehicle_set_owned'] = 'vehicle %s has been assigned to %s',
['vehicle_set_rented'] = 'vehicle %s has been rented to %s',
['vehicle_sold_for'] = 'the %s has been sold for $%s',
['vehicle_sold_to'] = 'the vehicle with plate %s has been sold to %s',
['deposit_stock'] = 'deposit stock',
['take_stock'] = 'withdraw stock',
['dealership_stock'] = 'dealership Stock',
['amount'] = 'amount',
['quantity_invalid'] = 'that\'s an invalid quantity',
['inventory'] = 'inventory',
['dealership'] = 'car Dealer',
['dealer_customers'] = 'dealer customers',
['have_withdrawn'] = 'you have withdrawn x%s %s',
['have_deposited'] = 'you have deposited x%s %s',
['boss_actions'] = 'boss actions',
['invalid_vehicle'] = 'Invalid vehicle',
-- sold vehicles
['boss_sold'] = 'list of sold vehicles',
['customer_client'] = 'customer name',
['customer_model'] = 'car model',
['customer_plate'] = 'car plate',
['customer_soldby'] = 'sold by',
['customer_date'] = 'date',
}

View File

@@ -0,0 +1,65 @@
Locales['es'] = {
-- global menus
['not_enough_in_society'] = 'No hay mas de ese item en la sociedad!',
['player_cannot_hold'] = '~r~no tienes suficiente espacio en tu inventario!',
['vehicle_belongs'] = 'un vehiculo con matricula %s ahora es tuyo',
['broke_company'] = 'No hay dinero en la compañía',
['license_missing'] = 'no tenes licencia de conducir!',
['buy_vehicle_shop'] = 'queres comprar %s por $%s?',
['buy_vehicle'] = 'comprar vehiculo',
['car_dealer'] = 'Concesionario',
['shop_awaiting_model'] = 'El vehiculo esta cargando, por favor espera',
['create_bill'] = 'crear factura',
['dealer_boss'] = 'Vendedor de autos - Boss',
['delivered'] = 'el vehiculo fue entregado al vendedor',
['depop_vehicle'] = 'Devolver el vehiculo al garage',
['return_provider'] = 'Devolver el vehiculo al vendedor',
['get_rented_vehicles'] = 'Vehiculos para rentar',
['no_current_vehicle'] = 'No hay ningun vehiculo disponible',
['invalid_amount'] = 'Cantidad invalida',
['invoice_amount'] = 'Precio de factura',
['no'] = 'no',
['yes'] = 'si',
['no_players'] = 'No hay jugadores cerca',
['not_enough_money'] = 'no tenes suficiente dinero',
['not_rental'] = 'este no es un ~r~vehiculo rentado',
['not_yours'] = 'este vehiculo no te pertenece',
['paid_rental'] = 'pagaste $%s para rentar el vehiculo con matricula %s',
['paid_rental_evicted'] = 'no pudiste pagar $%s de la renta del vehiculo con matricula %s, Este fue devuelto al vendedor',
['pop_vehicle'] = 'Poner vehiculo a la venta',
['rent_vehicle'] = 'Vendedor de autos - Vehiculos para rentar',
['return_provider_menu'] = 'Vendedor de autos - Devolver a proveedor',
['rental_amount'] = 'Cantidad de renta',
['sell_menu'] = 'Presiona [E] para vender tu %s por $%s',
['set_vehicle_owner_rent'] = 'Alquilar vehiculo',
['set_vehicle_owner_sell'] = 'Vender vehiculo',
['shop_menu'] = 'Presiona [E] para entrar al menu',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'Vehiculo - Vendedor de autos',
['vehicle_menu'] = 'Presiona [E] to give back the rented vehicle',
['vehicle_purchased'] = 'has comprado un vehiculo',
['vehicle_set_owned'] = 'el vehiculo %s fue asignado a %s',
['vehicle_set_rented'] = 'el vehiculo %s fue rentado a %s',
['vehicle_sold_for'] = 'el %s fue vendido por $%s',
['vehicle_sold_to'] = 'el vehiculo con matricula %s fue vendido por %s',
['deposit_stock'] = 'Depositar stock',
['take_stock'] = 'Retirar stock',
['dealership_stock'] = 'Stock de vendedor',
['amount'] = 'Cantidad',
['quantity_invalid'] = 'Cantidad invalida',
['inventory'] = 'Inventario',
['dealership'] = 'Vendedor de autos',
['dealer_customers'] = 'Clientes del vendedor',
['have_withdrawn'] = 'Has retirado x%s %s',
['have_deposited'] = 'Has depositado x%s %s',
['boss_actions'] = 'Acciones de jefe',
['invalid_vehicle'] = 'Vehiculo invalido',
-- sold vehicles
['boss_sold'] = 'Lista de vehiculos vendidos',
['customer_client'] = 'Comprador',
['customer_model'] = 'Modelo',
['customer_plate'] = 'Matricula',
['customer_soldby'] = 'Vendido por',
['customer_date'] = 'Fecha',
}

View File

@@ -0,0 +1,65 @@
Locales['fi'] = {
-- global menus
['not_enough_in_society'] = 'Firmalla ei ole enempää tätä esinettä varastossa!',
['player_cannot_hold'] = 'Sinulla ei ole tarpeeksi vapaata tilaa repussasi!',
['vehicle_belongs'] = 'Ajoneuvo kilvellä %s on nyt sinun omistuksessasi',
['broke_company'] = 'Firman tilillä ei ole tarpeeksi rahaa',
['license_missing'] = 'Sinulla ei ole ajokorttia!',
['buy_vehicle_shop'] = 'Haluatko ostaa ajoneuvon %s hintaan $%s?',
['buy_vehicle'] = 'Osta ajoneuvo',
['car_dealer'] = 'Ajoneuvoliike',
['shop_awaiting_model'] = 'Ajoneuvo ladataan, odota hetki',
['create_bill'] = 'Kirjoita lasku',
['dealer_boss'] = 'Ajoneuvoliike - Pomo',
['delivered'] = 'Ajoneuvo on kuljetettu myyjälle',
['depop_vehicle'] = 'Palauta ajoneuvo',
['return_provider'] = 'Palauta ajoneuvo palveluntarjoajalle',
['get_rented_vehicles'] = 'Vuokrattavat ajoneuvot',
['no_current_vehicle'] = 'Sinulla ei ole tällä hetkellä mitään ajoneuvoa näytöllä',
['invalid_amount'] = 'Virheellinen summa',
['invoice_amount'] = 'Laskun summa',
['no'] = 'Ei',
['yes'] = 'Kyllä',
['no_players'] = 'Ei pelaajia lähettyvillä',
['not_enough_money'] = 'Sinulla ei ole tarpeeksi rahaa',
['not_rental'] = 'Tämä ei ole vuokra ajoneuvo',
['not_yours'] = 'Tämä ajoneuvo ei kuulu sinulle',
['paid_rental'] = 'Olet maksanut $%s vuokrasta ajoneuvolle, jonka kilpi on %s',
['paid_rental_evicted'] = 'Et voinut maksaa $%s vuokraa ajoneuvosta, jonka kilpi on %s. Se on palautettu ajoneuvoliikeeseen',
['pop_vehicle'] = 'Ota ajoneuvo ulos näkyville',
['rent_vehicle'] = 'Ajoneuvoliike - Vuokrattavat ajoneuvot',
['return_provider_menu'] = 'Ajoneuvoliike - Palauta ajoneuvo palveluntarjoajalle',
['rental_amount'] = 'Vuokran summa',
['sell_menu'] = 'Paina [E] myydäksesi %s hintaan: $%s',
['set_vehicle_owner_rent'] = 'Määritä ajoneuvon vuokra',
['set_vehicle_owner_sell'] = 'Myy ajoneuvo',
['shop_menu'] = 'Paina [E] avataksesi valikko',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'Ajoneuvo - Ajoneuvoliike',
['vehicle_menu'] = 'Paina [E] tehdäksesi tästä sinun ajoneuvo',
['vehicle_purchased'] = 'Sinä ostit ajoneuvon',
['vehicle_set_owned'] = 'Ajoneuvo %s on nyt määritetty henkilölle %s',
['vehicle_set_rented'] = 'Ajoneuvo %s on nyt vuokrattu henkilölle %s',
['vehicle_sold_for'] = '%s on myyty hintaan $%s',
['vehicle_sold_to'] = 'Ajoneuvo %s myyty henkilölle %s',
['deposit_stock'] = 'Laita varastoon',
['take_stock'] = 'Ota varastosta',
['dealership_stock'] = 'Ajoneuvoliikeen varasto',
['amount'] = 'Määrä',
['quantity_invalid'] = 'Virheellinen määrä',
['inventory'] = 'Reppu',
['dealership'] = 'Ajoneuvoliike',
['dealer_customers'] = 'Ajoneuvoliikeen asiakas',
['have_withdrawn'] = 'Sinä nostit x%s %s',
['have_deposited'] = 'Sinä talletit x%s %s',
['boss_actions'] = 'Pomo toiminnot',
['invalid_vehicle'] = 'Virheellinen ajoneuvo',
-- sold vehicles
['boss_sold'] = 'Lista myydyistä ajoneuvoista',
['customer_client'] = 'Asiakaan nimi',
['customer_model'] = 'Ajoneuvon malli',
['customer_plate'] = 'Ajoneuvon kilpi',
['customer_soldby'] = 'Myynyt',
['customer_date'] = 'Päiväys',
}

View File

@@ -0,0 +1,65 @@
Locales['fr'] = {
-- global menus
['not_enough_in_society'] = 'il n\'y à plus assez ~r~de cet objet dans la societé!',
['player_cannot_hold'] = 'vous n\'avez ~r~pas assez d\'espace dans votre inventaire!',
['vehicle_belongs'] = 'le véhicule avec la plaque %s est désormais à vous',
['broke_company'] = 'vous n\avez pas assez d\'argent sur le compte de la societé',
['license_missing'] = 'vous n\'avez pas de permis de conduire !',
['buy_vehicle_shop'] = 'acheter %s pour $%s?',
['buy_vehicle'] = 'acheter véhicule',
['car_dealer'] = 'concessionnaire',
['shop_awaiting_model'] = 'le véhicule est en train de charger, veuillez patienter...',
['create_bill'] = 'créer facture',
['dealer_boss'] = 'concessionnaire - Patron',
['delivered'] = 'véhicule rendu au concessionnaire',
['depop_vehicle'] = 'rentrer véhicule',
['return_provider'] = 'rendre le véhicule',
['get_rented_vehicles'] = 'véhicules en location',
['no_current_vehicle'] = 'vous n\'avez aucun véhicule d\'affiché pour le moment',
['invalid_amount'] = 'montant invalide',
['invoice_amount'] = 'montant de la facture',
['no'] = 'non',
['yes'] = 'oui',
['no_players'] = 'aucun joueur à proximité',
['not_enough_money'] = 'vous n\'avez pas assez d\'argent',
['not_rental'] = 'ce n\'est pas un ~r~véhicule de location',
['not_yours'] = 'ce véhicule ne vous appartient pas',
['paid_rental'] = 'vous avez payé $%s pour louer une voiture avec la plaque %s',
['paid_rental_evicted'] = 'vous ne pouviez pas vous permettre de payer $%s pour votre véhicule loué avec la plaque %s, il a été retourné au concessionnaire',
['pop_vehicle'] = 'sortir véhicule',
['rent_vehicle'] = 'concessionnaire - Véhicules en location',
['return_provider_menu'] = 'concessionnaire - Retour de véhicule',
['rental_amount'] = 'montant de la location',
['sell_menu'] = 'appuyez sur [E] pour vendre %s au prix de $%s',
['set_vehicle_owner_rent'] = 'attribuer véhicule [Location]',
['set_vehicle_owner_sell'] = 'attribuer véhicule [Vente]',
['shop_menu'] = 'appuyez sur [E] pour accéder au menu',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'concessionnaire - Véhicules',
['vehicle_menu'] = 'appuez sur [E] pour rendre votre véhicule',
['vehicle_purchased'] = 'vous avez acheté un véhicule',
['vehicle_set_owned'] = 'le véhicule %s a été attribué à %s',
['vehicle_set_rented'] = 'le véhicule %s a été loué à %s',
['vehicle_sold_for'] = 'le %s a été vendu pour $%s',
['vehicle_sold_to'] = 'véhicule %s vendu à %s',
['deposit_stock'] = 'déposer Stock',
['take_stock'] = 'prendre Stock',
['dealership_stock'] = 'concession Stock',
['amount'] = 'quantité',
['quantity_invalid'] = 'quantité invalide',
['inventory'] = 'inventaire',
['dealership'] = 'concession',
['dealer_customers'] = 'client concession',
['have_withdrawn'] = 'vous avez retiré x%s %s',
['have_deposited'] = 'vous avez deposé x%s %s',
['boss_actions'] = 'actions du chef',
['invalid_vehicle'] = 'Véhicule invalide',
-- sold vehicles
['boss_sold'] = 'liste des véhicule vendu',
['customer_client'] = 'nom du client',
['customer_model'] = 'modèle de voiture',
['customer_plate'] = 'plaque d\'immatriculation',
['customer_soldby'] = 'vendu par',
['customer_date'] = 'date',
}

View File

@@ -0,0 +1,66 @@
Locales['hu'] = {
-- global menus
['not_enough_in_society'] = 'nincs elég ~r~tárgyad a vállalkozásban!',
['player_cannot_hold'] = '~r~nincs elég helyed a leltárban!',
['vehicle_belongs'] = '%s rendszámú jármű már a tulajdonodban van.',
['broke_company'] = 'nincs elég pénz a vállalati számlán',
['license_missing'] = 'nincs jogosítványod tedd le!',
['purchase_type'] = 'a vásárlás típusa',
['society_type'] = 'vállalkozás',
['staff_type'] = 'személyes használat',
['buy_vehicle_shop'] = 'meg szeretnéd vásárolni %s ennyiért: %s $-ért?',
['buy_vehicle'] = 'vásárlás',
['car_dealer'] = 'Autókereskedés',
['shop_awaiting_model'] = 'az autó töltése folyamantban kérlek várj',
['create_bill'] = 'számla létrehozása',
['dealer_boss'] = 'Autó kereskedö - Fönök',
['delivered'] = 'az autó leszállítva a kereskedőnek',
['depop_vehicle'] = 'jármü visszaküldés',
['return_provider'] = 'jármü visszaküldése a szollgáltatónak',
['get_rented_vehicles'] = 'jármüvek bérlése',
['invalid_amount'] = 'érvénytelen összeg',
['invoice_amount'] = 'számla összeg',
['no'] = 'Nem',
['yes'] = 'Igen',
['no_players'] = 'nincs játékos a közeledben',
['not_enough_money'] = 'nincs elég pénzed',
['not_rental'] = 'ez nem ~r~bérelhetö autó',
['not_yours'] = 'ez az autó nem tartozik hozzád',
['paid_rental'] = 'fizettél a kölcsönzönek: %s $',
['pop_vehicle'] = 'tedd a jármüvet eladásra',
['rent_vehicle'] = 'Autókereskedö - Jármüvek bérlése',
['return_provider_menu'] = 'Autókereskedö - Jámrü vissza adás a szollgáltatónak',
['rental_amount'] = 'bérlési költség',
['sell_menu'] = 'nyomj [E] gombot hogy eladd a %s ennyiért %s $',
['set_vehicle_owner_rent'] = 'jármü kijelölése [Location]',
['set_vehicle_owner_sell'] = 'jármü eladása',
['set_vehicle_owner_sell_society'] = 'jármü kijelölése [Sale] [Society]',
['shop_menu'] = 'nyomj [E] gombot a vásárláshoz',
['generic_shopitem'] = '%s $',
['vehicle_dealer'] = 'jármü - Autókereskedö',
['vehicle_menu'] = 'nyomj [E] gombot hogy vissza add a bérelt jármüvet',
['vehicle_purchased'] = 'vásároltál egy jármüvet',
['vehicle_set_owned'] = 'jármü %s megvéve ennyiért: %s',
['vehicle_set_rented'] = 'jármü %s kibérelve ennyiért: %s',
['vehicle_sold_for'] = 'A %s jármü eladva ennyiért %s $',
['vehicle_sold_to'] = 'a jármü rendszámmal %s eladva neki: %s',
['deposit_stock'] = 'beteszek a készletbe',
['take_stock'] = 'kiveszek a készletböl',
['dealership_stock'] = 'kereskedés készlet',
['amount'] = 'összeg',
['quantity_invalid'] = 'ez érvénytelen mennyiség',
['inventory'] = 'leltár',
['dealership'] = 'Autókereskedő',
['dealer_customers'] = 'kereskedő ügyfelek',
['have_withdrawn'] = 'kivettél x%s %s',
['have_deposited'] = 'betettél x%s %s',
['boss_actions'] = 'fönök müveletek',
-- sold vehicles
['boss_sold'] = 'Az eladott járművek listája',
['customer_client'] = 'Ügyfél neve',
['customer_model'] = 'Autómodell',
['customer_plate'] = 'Rendszám',
['customer_soldby'] = 'Álltal értékesített',
['customer_date'] = 'Dátum',
}

View File

@@ -0,0 +1,65 @@
Locales['it'] = {
-- global menus
['not_enough_in_society'] = 'la società non n\'è ha abbastanza!',
['player_cannot_hold'] = '~r~non hai abbastanza spazio nel tuo inventario!',
['vehicle_belongs'] = 'un veicolo targato %s ora è tuo',
['broke_company'] = 'Non ci sono soldi in azienda',
['license_missing'] = 'Non hai la licenza!',
['buy_vehicle_shop'] = 'vuoi comprare %s per $%s?',
['buy_vehicle'] = 'acquistare veicolo',
['car_dealer'] = 'Concessionario',
['shop_awaiting_model'] = 'Il veicolo è in carica, attendere',
['create_bill'] = 'crea fattura',
['dealer_boss'] = 'Venditore di auto - Capo',
['delivered'] = 'il veicolo è stato consegnato al venditore',
['depop_vehicle'] = 'Riporta il veicolo in garage',
['return_provider'] = 'Restituire il veicolo al venditore',
['get_rented_vehicles'] = 'Veicoli a noleggio',
['no_current_vehicle'] = 'Non cè nessun veicolo disponibile',
['invalid_amount'] = 'importo non valido',
['invoice_amount'] = 'Prezzo fattura',
['no'] = 'no',
['yes'] = '',
['no_players'] = 'Non ci sono giocatori nelle vicinanze',
['not_enough_money'] = 'non hai abbastanza soldi',
['not_rental'] = 'questo non è un veicolo ~noleggiato',
['not_yours'] = 'questo veicolo non ti appartiene',
['paid_rental'] = 'hai pagato $%s per noleggiare il veicolo con targa %s',
['paid_rental_evicted'] = 'non hai potuto pagare $%s dell affitto del veicolo con targa %s, è stato restituito al venditore',
['pop_vehicle'] = 'Mettere in vendita il veicolo',
['rent_vehicle'] = 'Concessionaria auto - Veicoli a noleggio',
['return_provider_menu'] = 'Concessionaria auto - Restituzione al venditore',
['rental_amount'] = 'Importo dell affitto',
['sell_menu'] = 'Premi [E] per vendere le tue %s a $%s',
['set_vehicle_owner_rent'] = 'Noleggia un veicolo',
['set_vehicle_owner_sell'] = 'vendere veicolo',
['shop_menu'] = 'Premere [E] per accedere al menu',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'Veicolo - Concessionario auto',
['vehicle_menu'] = 'Premi [E] per restituire il veicolo noleggiato',
['vehicle_purchased'] = 'hai acquistato un veicolo',
['vehicle_set_owned'] = 'il veicolo %s è stato assegnato a %s',
['vehicle_set_rented'] = 'il veicolo %s è stato noleggiato a %s',
['vehicle_sold_for'] = 'il %s è stato venduto per $%s',
['vehicle_sold_to'] = 'il veicolo targato %s è stato venduto da %s',
['deposit_stock'] = 'deposito aziendale',
['take_stock'] = 'ritiro deposito aziendale',
['dealership_stock'] = 'Azione del venditore',
['amount'] = 'Quantità',
['quantity_invalid'] = 'Importo non valido',
['inventory'] = 'Inventario',
['dealership'] = 'Venditore di auto',
['dealer_customers'] = 'Clienti del venditore',
['have_withdrawn'] = 'Hai ritirato x%s %s',
['have_deposited'] = 'Hai depositato x%s %s',
['boss_actions'] = 'Azioni del capo',
['invalid_vehicle'] = 'Veicolo non valido',
-- sold vehicles
['boss_sold'] = 'Elenco dei veicoli venduti',
['customer_client'] = 'Acquirente',
['customer_model'] = 'Modello',
['customer_plate'] = 'targa',
['customer_soldby'] = 'Venduto da',
['customer_date'] = 'Data',
}

View File

@@ -0,0 +1,65 @@
Locales['nl'] = {
-- global menus
['not_enough_in_society'] = 'dit zit niet in de inventory van de cardealer !',
['player_cannot_hold'] = 'je hebt ~r~niet~s~ genoeg plaats in je inventaris!',
['vehicle_belongs'] = 'een voertuig met kenteken %s is nu van jou',
['broke_company'] = 'je bedrijf heeft niet genoeg geld in de bank',
['license_missing'] = 'je hebt geen rijbewijs!',
['buy_vehicle_shop'] = 'Wil je %s kopen voor €%s?',
['buy_vehicle'] = 'koop voertuig',
['car_dealer'] = 'Voertuig verkoop',
['shop_awaiting_model'] = 'het voertuig is aan het laden, even geduld',
['create_bill'] = 'creeër rekening',
['dealer_boss'] = 'Voertuig verkoop - Baas',
['delivered'] = 'het voertuig is afgeleverd',
['depop_vehicle'] = 'wil je het voertuig parkeren in de garage?',
['return_provider'] = 'wil je het voertuig terugsturen naar de eigenaar ?',
['get_rented_vehicles'] = 'voertuigen te huur',
['no_current_vehicle'] = 'je hebt momenteel geen voertuig uitstaan',
['invalid_amount'] = 'ongeldig bedrag',
['invoice_amount'] = 'factuur bedrag',
['no'] = 'nee',
['yes'] = 'ja',
['no_players'] = 'er zijn geen spelers in de buurt',
['not_enough_money'] = 'je hebt niet genoeg geld',
['not_rental'] = 'dit is geen ~r~huur voertuig',
['not_yours'] = 'dit voertuig is niet van jou',
['paid_rental'] = 'je hebt €%s betaald voor het huren van een voertuig met kenteken %s',
['paid_rental_evicted'] = 'je hebt niet genoeg om €%s te betalen voor je gehuurde voertuig met kenteken %s, hij is teruggebracht.',
['pop_vehicle'] = 'zet voertuig uit voor verkoop',
['rent_vehicle'] = 'Auto verkoop - Voertuigen te huur',
['return_provider_menu'] = 'Auto verkoop - Breng voertuig terug',
['rental_amount'] = 'huur bedrag',
['sell_menu'] = 'klik op [E] om %s te verkopen voor €%s',
['set_vehicle_owner_rent'] = 'verhuur voertuig',
['set_vehicle_owner_sell'] = 'verkoop vuurtuig',
['shop_menu'] = 'klik op [E] om het menu te gebruiken',
['generic_shopitem'] = '€%s',
['vehicle_dealer'] = 'voertuig - Auto verkoop',
['vehicle_menu'] = 'klik op [E] om je gehuurde voertuig terug te brengen',
['vehicle_purchased'] = 'je hebt een voertuig gekocht',
['vehicle_set_owned'] = 'voertuig %s is toegewezen aan %s',
['vehicle_set_rented'] = 'voertuig %s is gehuurd door %s',
['vehicle_sold_for'] = 'de %s is verkocht voor €%s',
['vehicle_sold_to'] = 'het voertuig met kenteken %s is verkocht aan %s',
['deposit_stock'] = 'sla voorraad op',
['take_stock'] = 'pak voorraad',
['dealership_stock'] = 'verkoop voorraad',
['amount'] = 'bedrag',
['quantity_invalid'] = 'ongeldig bedrag',
['inventory'] = 'inventaris',
['dealership'] = 'Auto verkoop',
['dealer_customers'] = 'Klanten',
['have_withdrawn'] = 'je hebt x%s %s gepakt',
['have_deposited'] = 'je hebt x%s %s opgeslagen',
['boss_actions'] = 'baas acties',
['invalid_vehicle'] = 'Onjuist voertuig',
-- sold vehicles
['boss_sold'] = 'lijst van verkochte voertuigen',
['customer_client'] = 'klant naam',
['customer_model'] = 'voertuig model',
['customer_plate'] = 'kenteken voertuig',
['customer_soldby'] = 'verkocht door',
['customer_date'] = 'datum',
}

View File

@@ -0,0 +1,65 @@
Locales['pl'] = {
-- global menus
['not_enough_in_society'] = 'brak tego ~r~przedmiotu w firmie!',
['player_cannot_hold'] = '~r~Nie masz wystarczająco wolnego miejsca w ekwipunku!',
['vehicle_belongs'] = 'pojazd z rejestracją %s teraz należy do ciebie',
['broke_company'] = 'twoja firma nie ma wystarczająco pieniedzy',
['license_missing'] = 'you don\'t have a driver\'s license!',
['buy_vehicle_shop'] = 'czy chcesz kupić %s za $%s?',
['buy_vehicle'] = 'kup pojazd',
['car_dealer'] = 'sprzedawca Aut',
['shop_awaiting_model'] = 'the vehicle is currently loading, please wait',
['create_bill'] = 'stwórz fakture',
['dealer_boss'] = 'salon samochodowy - Szef',
['delivered'] = 'pojazd został dostarczony do salonu',
['depop_vehicle'] = 'oddaj pojazd',
['return_provider'] = 'return vehicle to provider',
['get_rented_vehicles'] = 'pojazdy do wynajęcia',
['no_current_vehicle'] = 'you do not currently have an vehicle displayed',
['invalid_amount'] = 'nieprawidłowa ilość',
['invoice_amount'] = 'suma faktury',
['no'] = 'nie',
['yes'] = 'tak',
['no_players'] = 'brak graczy w pobliżu',
['not_enough_money'] = 'nie masz wystarczająco pieniędzy',
['not_rental'] = 'to nie jest ~r~wypożyczone auto',
['not_yours'] = 'ten pojazd nie należy do ciebie',
['paid_rental'] = 'you have paid $%s for renting an vehicle with plate %s',
['paid_rental_evicted'] = 'you could not afford to pay $%s for your rented vehicle with plate %s, it has been returned to the dealership',
['pop_vehicle'] = 'wyciągnij auto do sprzedaży',
['rent_vehicle'] = 'salon samochodowy - Pojazdy do wynajęcia',
['return_provider_menu'] = 'car Dealer - Return vehicle to provider',
['rental_amount'] = 'suma wynajęcia',
['sell_menu'] = 'wcisnij [E] aby sprzedać %s za $%s',
['set_vehicle_owner_rent'] = 'zarejestruj pojazd [Wynajem]',
['set_vehicle_owner_sell'] = 'zarejestruj pojazd [Kupno]',
['shop_menu'] = 'wcisnij [E] aby wejść do menu',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'pojazdy - Sprzedawca aut',
['vehicle_menu'] = 'wcisnij [E] aby wyjąć pojazd',
['vehicle_purchased'] = 'kupujesz pojazd',
['vehicle_set_owned'] = 'pojazd %s został zarejestrowany na %s',
['vehicle_set_rented'] = 'pojazd %s został wynajęty przez %s',
['vehicle_sold_for'] = 'the %s has been sold for $%s',
['vehicle_sold_to'] = 'pojazd %s został sprzedany do %s',
['deposit_stock'] = 'deponuj przedmioty',
['take_stock'] = 'wyciągnij przedmioty',
['dealership_stock'] = 'zaopatrzenie salonu',
['amount'] = 'suma',
['quantity_invalid'] = 'nieprawidłowa ilość',
['inventory'] = 'ekwipunek',
['dealership'] = 'sprzedawca Aut',
['dealer_customers'] = 'klienci salonu',
['have_withdrawn'] = 'wyciągasz x%s %s',
['have_deposited'] = 'deponujesz x%s %s',
['boss_actions'] = 'akcje szefa',
['invalid_vehicle'] = 'nieprawidłowy pojazd',
-- sold vehicles
['boss_sold'] = 'list of sold vehicles',
['customer_client'] = 'customer name',
['customer_model'] = 'car model',
['customer_plate'] = 'car plate',
['customer_soldby'] = 'sold by',
['customer_date'] = 'date',
}

View File

@@ -0,0 +1,66 @@
Locales['sr'] = {
-- global menus
['not_enough_in_society'] = 'Nema dovoljno u kompaniji!',
['player_cannot_hold'] = 'Nemate dovoljno prostora u inventaru!',
['vehicle_belongs'] = 'Vozilo sa tablicama %s je sada vaše',
['broke_company'] = 'Nemate dovoljno novca na računu kompanije!',
['license_missing'] = 'Vi nemate vozačku dozvolu!',
['buy_vehicle_shop'] = 'Da li želite da kupite %s za $%s?',
['buy_vehicle'] = 'Kupi Vozilo',
['car_dealer'] = 'AutoSalon',
['shop_awaiting_model'] = 'Model vozila se učitava, molimo sačekajte.',
['create_bill'] = 'Napravi Račun',
['dealer_boss'] = 'AutoSalon - Boss',
['delivered'] = 'Vozilo je dostavljeno dileru',
['depop_vehicle'] = 'Vrati vozilo u garažu',
['return_provider'] = 'Vrati vozilo prodavcu',
['get_rented_vehicles'] = 'Vozila za iznajmljivanje',
['no_current_vehicle'] = 'Trenutno nema izloženih vozila!',
['invalid_amount'] = 'Nevažeći iznos',
['invoice_amount'] = 'Iznos Računa',
['no'] = 'Ne',
['yes'] = 'Da',
['no_players'] = 'Nema osobe u blizini',
['not_enough_money'] = 'Nemaš dovoljno novca',
['not_rental'] = 'Ovo nije ~r~iznajmljeno vozilo',
['not_yours'] = 'Ovo vozilo nije tvoje!',
['paid_rental'] = 'Platili ste $%s za iznajmljivanje vozila sa tablicama %s',
['paid_rental_evicted'] = 'Nemaš dovoljno novca da platiš $%s za iznajmljeno vozilo sa tablicama %s, vozilo ti je oduzeto i vraćeno autosalonu',
['pop_vehicle'] = 'Izbaci vozilo na prodaju',
['rent_vehicle'] = 'AutoSalon - Vozilo za iznajmljivanje',
['return_provider_menu'] = 'AutoSalon - Vrati vozilo',
['rental_amount'] = 'Iznos Rente',
['sell_menu'] = 'Pritisni [E] da prodaš tvoj %s za $%s',
['set_vehicle_owner_rent'] = 'Iznajmi vozilo',
['set_vehicle_owner_sell'] = 'Prodaj vozilo',
['shop_menu'] = 'Pritisni [E] da pristupiš meniju',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = 'Vozilo - AutoSalon',
['vehicle_menu'] = 'Pritisni [E] da vratiš iznajmljeno vozilo',
['vehicle_purchased'] = 'Kupili ste vozilo',
['vehicle_set_owned'] = 'Vozilo %s je prepisano osobi %s',
['vehicle_set_rented'] = 'Vozilo %s je iznajmljeno za %s',
['vehicle_sold_for'] = '%s je prodat za $%s',
['vehicle_sold_to'] = 'Vozilo sa tablicama %s prodato je osobi %s',
['deposit_stock'] = 'Ostavi',
['take_stock'] = 'Uzmi',
['dealership_stock'] = 'Autosalon Ostava',
['amount'] = 'Količina',
['quantity_invalid'] = 'Nevažeća količina!',
['inventory'] = 'Inventar',
['dealership'] = 'Diler Vozila',
['dealer_customers'] = 'Kupci',
['have_withdrawn'] = 'Podigli ste x%s %s',
['have_deposited'] = 'Ostavili ste x%s %s',
['boss_actions'] = 'Boss Akcije',
['invalid_vehicle'] = 'Pogrešno Vozilo',
-- sold vehicles
['boss_sold'] = 'Lista prodatih vozila',
['customer_client'] = 'Ime Kupca',
['customer_model'] = 'Model',
['customer_plate'] = 'Tablice',
['customer_soldby'] = 'Prodato od strane',
['customer_date'] = 'Datum',
}

View File

@@ -0,0 +1,65 @@
Locales['zh-cn'] = {
-- global menus
['not_enough_in_society'] = '很抱歉!暂无足够的~r~物品~s~项目!',
['player_cannot_hold'] = '很抱歉!您的背包~r~尚无足够~s~空间!',
['vehicle_belongs'] = '车牌号为%s的载具现已注册您的名下',
['broke_company'] = '当前公司对外账户暂无足够的资金!',
['license_missing'] = '由于您尚未获取到驾驶执照,无法于此处购买车辆!',
['buy_vehicle_shop'] = '确认购买车辆%s -支付$%s?',
['buy_vehicle'] = '购买车辆',
['car_dealer'] = '车辆商店',
['shop_awaiting_model'] = '当前车辆数据正在加载, 请耐心等待',
['create_bill'] = '创建账单',
['dealer_boss'] = '汽车经销商 - 老板',
['delivered'] = '该车辆已交付给经销商',
['depop_vehicle'] = '将车辆返回车库',
['return_provider'] = '将车辆归还给供应商',
['get_rented_vehicles'] = '出租载具',
['no_current_vehicle'] = '您目前没有展示车辆',
['invalid_amount'] = '无效金额',
['invoice_amount'] = '账单金额',
['no'] = '',
['yes'] = '',
['no_players'] = '附近暂无其他市民!',
['not_enough_money'] = '当前账户暂无足够资金!',
['not_rental'] = '此载具目前不对外~r~出租~s~!',
['not_yours'] = '此载具并未注册于您的名下',
['paid_rental'] = '已支付$%s用于租用载具%s',
['paid_rental_evicted'] = '无法支付:$%s-检测到您名下号牌为:%s租用车辆您已无法继续租用, 它已退还给经销商',
['pop_vehicle'] = '出售车辆',
['rent_vehicle'] = '汽车经销商 - 出租车辆',
['return_provider_menu'] = '汽车经销商 - 将车辆返回给供应商',
['rental_amount'] = '租金金额',
['sell_menu'] = '键下 [E] 出售载具 %s - $%s',
['set_vehicle_owner_rent'] = '设为租用',
['set_vehicle_owner_sell'] = '设为出售',
['shop_menu'] = '键下 [E] 访问选单',
['generic_shopitem'] = '$%s',
['vehicle_dealer'] = '载具 - 汽车经销商',
['vehicle_menu'] = '键下 [E] 归还载具',
['vehicle_purchased'] = '成功购买一辆载具',
['vehicle_set_owned'] = '载具: %s 已注册至%s名下',
['vehicle_set_rented'] = '载具: %s 已租用给 %s',
['vehicle_sold_for'] = '载具: %s 以 $%s 的价格出售!',
['vehicle_sold_to'] = '号牌为:%s 的载具已被出售给%s',
['deposit_stock'] = '存入物品',
['take_stock'] = '取出物品',
['dealership_stock'] = '经销商仓库',
['amount'] = '具体数量',
['quantity_invalid'] = '错误的数量输入!',
['inventory'] = '库存',
['dealership'] = '汽车经销商',
['dealer_customers'] = '客户',
['have_withdrawn'] = '已提取 %sx%s',
['have_deposited'] = '已存放 %sx%s',
['boss_actions'] = '人事管理',
['invalid_vehicle'] = '无效的车辆数据',
-- sold vehicles
['boss_sold'] = '已售车辆',
['customer_client'] = '客户',
['customer_model'] = '车辆模型',
['customer_plate'] = '车牌',
['customer_soldby'] = '销售者',
['customer_date'] = '日期',
}

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Autohändler',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Autohändler',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Autohändler')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','Rekrut',10,'{}','{}'),
('cardealer',1,'novice','Neuling',25,'{}','{}'),
('cardealer',2,'experienced','Erfahren',40,'{}','{}'),
('cardealer',3,'boss','Boss',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Kompaktwagen'),
('coupes','Coupes'),
('sedans','Limousinen'),
('sports','Sportwagen'),
('sportsclassics','Sportwagen Klassik'),
('super','Supersportwagen'),
('muscle','Musclewagen'),
('offroad','Off-Road'),
('suvs','SUVs'),
('vans','Vans'),
('motorcycles','Motorräder')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',1200000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Cardealer',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Cardealer',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Cardealer')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','Recruit',10,'{}','{}'),
('cardealer',1,'novice','Novice',25,'{}','{}'),
('cardealer',2,'experienced','Experienced',40,'{}','{}'),
('cardealer',3,'boss','Boss',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compacts'),
('coupes','Coupes'),
('sedans','Sedans'),
('sports','Sports'),
('sportsclassics','Sports Classics'),
('super','Super'),
('muscle','Muscle'),
('offroad','Off Road'),
('suvs','SUVs'),
('vans','Vans'),
('motorcycles','Motos')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Concesionario',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Concesionario',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Concesionario')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','Recluta',10,'{}','{}'),
('cardealer',1,'novice','Novato',25,'{}','{}'),
('cardealer',2,'experienced','Experimentado',40,'{}','{}'),
('cardealer',3,'boss','Jefe',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compactos'),
('coupes','Cupés'),
('sedans','Sedanes'),
('sports','Deportivos'),
('sportsclassics','Deportivos clásicos'),
('super','Super'),
('muscle','Muscle'),
('offroad','Todoterreno'),
('suvs','Monovolúmenes'),
('vans','Furgonetas'),
('motorcycles','Motos')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Autokauppa',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Autokauppa',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Autokauppa')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','Harjoittelija',10,'{}','{}'),
('cardealer',1,'novice','Aloittelija',25,'{}','{}'),
('cardealer',2,'experienced','Kokenut',40,'{}','{}'),
('cardealer',3,'boss','Pomo',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compacts'),
('coupes','Coupés'),
('sedans','Sedans'),
('sports','Sports'),
('sportsclassics','Sports Classics'),
('super','Super'),
('muscle','Muscle'),
('offroad','Off Road'),
('suvs','SUVs'),
('vans','Vans'),
('motorcycles','Motos')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Concessionnaire',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Concessionnaire',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Concessionnaire')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','Recrue',10,'{}','{}'),
('cardealer',1,'novice','Novice',25,'{}','{}'),
('cardealer',2,'experienced','Expérimenté',40,'{}','{}'),
('cardealer',3,'boss','Patron',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compacts'),
('coupes','Coupés'),
('sedans','Berlines'),
('sports','Sportives'),
('sportsclassics','Sportives classiques'),
('super','Supersportives'),
('muscle','Muscle'),
('offroad','Tout-terrains'),
('suvs','SUVs'),
('vans','Fourgonnettes'),
('motorcycles','Motos')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Concessionario',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Concessionario',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Concessionario')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'Recluta','Recruit',10,'{}','{}'),
('cardealer',1,'Impiegato','Novice',25,'{}','{}'),
('cardealer',2,'Responsabile','Experienced',40,'{}','{}'),
('cardealer',3,'Direttore','Boss',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compatte'),
('coupes','Coupe'),
('sedans','Sedan'),
('sports','Sportive'),
('sportsclassics','Sportive Classiche'),
('super','Super'),
('muscle','Muscle'),
('offroad','Off Road'),
('suvs','SUV'),
('vans','Furgoni'),
('motorcycles','Moto')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Auto Dealer',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Auto Dealer',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Auto Dealer')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','In opleiding',10,'{}','{}'),
('cardealer',1,'novice','Verkoper',25,'{}','{}'),
('cardealer',2,'experienced','Ervaren Verkoper',40,'{}','{}'),
('cardealer',3,'boss','Baas',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compacts'),
('coupes','Coupes'),
('sedans','Sedans'),
('sports','Sports'),
('sportsclassics','Sports Classics'),
('super','Super'),
('muscle','Muscle'),
('offroad','Off Road'),
('suvs','SUVs'),
('vans','Vans'),
('motorcycles','Motos')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,338 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Sprzedawca aut',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Sprzedawca aut',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Sprzedawca aut')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','Praktykant',10,'{}','{}'),
('cardealer',1,'novice','Doświadczony',25,'{}','{}'),
('cardealer',2,'experienced','Kierownik',40,'{}','{}'),
('cardealer',3,'boss','Szef',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compacts'),
('coupes','Coupés'),
('sedans','Sedans'),
('sports','Sports'),
('sportsclassics','Sports Classics'),
('super','Supercars'),
('muscle','Muscle'),
('offroad','Off Road'),
('suvs','SUVs'),
('vans','Vans'),
('motorcycles','Motorcycles')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,337 @@
INSERT INTO `addon_account` (name, label, shared) VALUES
('society_cardealer','Prodavac automobila',1)
;
INSERT INTO `addon_inventory` (name, label, shared) VALUES
('society_cardealer','Prodavac automobila',1)
;
INSERT INTO `jobs` (name, label) VALUES
('cardealer','Prodavac automobila')
;
INSERT INTO `job_grades` (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
('cardealer',0,'recruit','Početnik',10,'{}','{}'),
('cardealer',1,'novice','Radnik',25,'{}','{}'),
('cardealer',2,'experienced','Iskusni radnik',40,'{}','{}'),
('cardealer',3,'boss','Vlasnik',0,'{}','{}')
;
CREATE TABLE `cardealer_vehicles` (
`id` int NOT NULL AUTO_INCREMENT,
`vehicle` varchar(255) NOT NULL,
`price` int NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_sold` (
`client` VARCHAR(50) NOT NULL,
`model` VARCHAR(50) NOT NULL,
`plate` VARCHAR(50) NOT NULL,
`soldby` VARCHAR(50) NOT NULL,
`date` VARCHAR(50) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `owned_vehicles` (
`owner` VARCHAR(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`vehicle` longtext,
`type` VARCHAR(20) NOT NULL DEFAULT 'car',
`job` VARCHAR(20) NULL DEFAULT NULL,
`stored` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `rented_vehicles` (
`vehicle` varchar(60) NOT NULL,
`plate` varchar(12) NOT NULL,
`player_name` varchar(255) NOT NULL,
`base_price` int NOT NULL,
`rent_price` int NOT NULL,
`owner` VARCHAR(60) NOT NULL,
PRIMARY KEY (`plate`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `vehicle_categories` (
`name` varchar(60) NOT NULL,
`label` varchar(60) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicle_categories` (name, label) VALUES
('compacts','Compacts'),
('coupes','Coupes'),
('sedans','Sedans'),
('sports','Sports'),
('sportsclassics','Sports Classics'),
('super','Super'),
('muscle','Muscle'),
('offroad','Off Road'),
('suvs','SUVs'),
('vans','Vans'),
('motorcycles','Motos')
;
CREATE TABLE `vehicles` (
`name` varchar(60) NOT NULL,
`model` varchar(60) NOT NULL,
`price` int NOT NULL,
`category` varchar(60) DEFAULT NULL,
PRIMARY KEY (`model`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
INSERT INTO `vehicles` (name, model, price, category) VALUES
('Blade','blade',15000,'muscle'),
('Buccaneer','buccaneer',18000,'muscle'),
('Buccaneer Rider','buccaneer2',24000,'muscle'),
('Chino','chino',15000,'muscle'),
('Chino Luxe','chino2',19000,'muscle'),
('Coquette BlackFin','coquette3',55000,'muscle'),
('Dominator','dominator',35000,'muscle'),
('Dukes','dukes',28000,'muscle'),
('Gauntlet','gauntlet',30000,'muscle'),
('Hotknife','hotknife',125000,'muscle'),
('Faction','faction',20000,'muscle'),
('Faction Rider','faction2',30000,'muscle'),
('Faction XL','faction3',40000,'muscle'),
('Nightshade','nightshade',65000,'muscle'),
('Phoenix','phoenix',12500,'muscle'),
('Picador','picador',18000,'muscle'),
('Sabre Turbo','sabregt',20000,'muscle'),
('Sabre GT','sabregt2',25000,'muscle'),
('Slam Van','slamvan3',11500,'muscle'),
('Tampa','tampa',16000,'muscle'),
('Virgo','virgo',14000,'muscle'),
('Vigero','vigero',12500,'muscle'),
('Voodoo','voodoo',7200,'muscle'),
('Blista','blista',8000,'compacts'),
('Brioso R/A','brioso',18000,'compacts'),
('Issi','issi2',10000,'compacts'),
('Panto','panto',10000,'compacts'),
('Prairie','prairie',12000,'compacts'),
('Bison','bison',45000,'vans'),
('Bobcat XL','bobcatxl',32000,'vans'),
('Burrito','burrito3',19000,'vans'),
('Burrito','gburrito2',29000,'vans'),
('Camper','camper',42000,'vans'),
('Gang Burrito','gburrito',45000,'vans'),
('Journey','journey',6500,'vans'),
('Minivan','minivan',13000,'vans'),
('Moonbeam','moonbeam',18000,'vans'),
('Moonbeam Rider','moonbeam2',35000,'vans'),
('Paradise','paradise',19000,'vans'),
('Rumpo','rumpo',15000,'vans'),
('Rumpo Trail','rumpo3',19500,'vans'),
('Surfer','surfer',12000,'vans'),
('Youga','youga',10800,'vans'),
('Youga Luxuary','youga2',14500,'vans'),
('Asea','asea',5500,'sedans'),
('Cognoscenti','cognoscenti',55000,'sedans'),
('Emperor','emperor',8500,'sedans'),
('Fugitive','fugitive',12000,'sedans'),
('Glendale','glendale',6500,'sedans'),
('Intruder','intruder',7500,'sedans'),
('Premier','premier',8000,'sedans'),
('Primo Custom','primo2',14000,'sedans'),
('Regina','regina',5000,'sedans'),
('Schafter','schafter2',25000,'sedans'),
('Stretch','stretch',90000,'sedans'),
('Super Diamond','superd',130000,'sedans'),
('Tailgater','tailgater',30000,'sedans'),
('Warrener','warrener',4000,'sedans'),
('Washington','washington',9000,'sedans'),
('Baller','baller2',40000,'suvs'),
('Baller Sport','baller3',60000,'suvs'),
('Cavalcade','cavalcade2',55000,'suvs'),
('Contender','contender',70000,'suvs'),
('Dubsta','dubsta',45000,'suvs'),
('Dubsta Luxuary','dubsta2',60000,'suvs'),
('Fhantom','fq2',17000,'suvs'),
('Grabger','granger',50000,'suvs'),
('Gresley','gresley',47500,'suvs'),
('Huntley S','huntley',40000,'suvs'),
('Landstalker','landstalker',35000,'suvs'),
('Mesa','mesa',16000,'suvs'),
('Mesa Trail','mesa3',40000,'suvs'),
('Patriot','patriot',55000,'suvs'),
('Radius','radi',29000,'suvs'),
('Rocoto','rocoto',45000,'suvs'),
('Seminole','seminole',25000,'suvs'),
('XLS','xls',32000,'suvs'),
('Btype','btype',62000,'sportsclassics'),
('Btype Luxe','btype3',85000,'sportsclassics'),
('Btype Hotroad','btype2',155000,'sportsclassics'),
('Casco','casco',30000,'sportsclassics'),
('Coquette Classic','coquette2',40000,'sportsclassics'),
('Manana','manana',12800,'sportsclassics'),
('Monroe','monroe',55000,'sportsclassics'),
('Pigalle','pigalle',20000,'sportsclassics'),
('Stinger','stinger',80000,'sportsclassics'),
('Stinger GT','stingergt',75000,'sportsclassics'),
('Stirling GT','feltzer3',65000,'sportsclassics'),
('Z-Type','ztype',220000,'sportsclassics'),
('Bifta','bifta',12000,'offroad'),
('Bf Injection','bfinjection',16000,'offroad'),
('Blazer','blazer',6500,'offroad'),
('Blazer Sport','blazer4',8500,'offroad'),
('Brawler','brawler',45000,'offroad'),
('Bubsta 6x6','dubsta3',120000,'offroad'),
('Dune Buggy','dune',8000,'offroad'),
('Guardian','guardian',45000,'offroad'),
('Rebel','rebel2',35000,'offroad'),
('Sandking','sandking',55000,'offroad'),
('The Liberator','monster',210000,'offroad'),
('Trophy Truck','trophytruck',60000,'offroad'),
('Trophy Truck Limited','trophytruck2',80000,'offroad'),
('Cognoscenti Cabrio','cogcabrio',55000,'coupes'),
('Exemplar','exemplar',32000,'coupes'),
('F620','f620',40000,'coupes'),
('Felon','felon',42000,'coupes'),
('Felon GT','felon2',55000,'coupes'),
('Jackal','jackal',38000,'coupes'),
('Oracle XS','oracle2',35000,'coupes'),
('Sentinel','sentinel',32000,'coupes'),
('Sentinel XS','sentinel2',40000,'coupes'),
('Windsor','windsor',95000,'coupes'),
('Windsor Drop','windsor2',125000,'coupes'),
('Zion','zion',36000,'coupes'),
('Zion Cabrio','zion2',45000,'coupes'),
('9F','ninef',65000,'sports'),
('9F Cabrio','ninef2',80000,'sports'),
('Alpha','alpha',60000,'sports'),
('Banshee','banshee',70000,'sports'),
('Bestia GTS','bestiagts',55000,'sports'),
('Buffalo','buffalo',12000,'sports'),
('Buffalo S','buffalo2',20000,'sports'),
('Carbonizzare','carbonizzare',75000,'sports'),
('Comet','comet2',65000,'sports'),
('Coquette','coquette',65000,'sports'),
('Drift Tampa','tampa2',80000,'sports'),
('Elegy','elegy2',38500,'sports'),
('Feltzer','feltzer2',55000,'sports'),
('Furore GT','furoregt',45000,'sports'),
('Fusilade','fusilade',40000,'sports'),
('Jester','jester',65000,'sports'),
('Jester(Racecar)','jester2',135000,'sports'),
('Khamelion','khamelion',38000,'sports'),
('Kuruma','kuruma',30000,'sports'),
('Lynx','lynx',40000,'sports'),
('Mamba','mamba',70000,'sports'),
('Massacro','massacro',65000,'sports'),
('Massacro(Racecar)','massacro2',130000,'sports'),
('Omnis','omnis',35000,'sports'),
('Penumbra','penumbra',28000,'sports'),
('Rapid GT','rapidgt',35000,'sports'),
('Rapid GT Convertible','rapidgt2',45000,'sports'),
('Schafter V12','schafter3',50000,'sports'),
('Seven 70','seven70',39500,'sports'),
('Sultan','sultan',15000,'sports'),
('Surano','surano',50000,'sports'),
('Tropos','tropos',40000,'sports'),
('Verlierer','verlierer2',70000,'sports'),
('Adder','adder',900000,'super'),
('Banshee 900R','banshee2',255000,'super'),
('Bullet','bullet',90000,'super'),
('Cheetah','cheetah',375000,'super'),
('Entity XF','entityxf',425000,'super'),
('ETR1','sheava',220000,'super'),
('FMJ','fmj',185000,'super'),
('Infernus','infernus',180000,'super'),
('Osiris','osiris',160000,'super'),
('Pfister','pfister811',85000,'super'),
('RE-7B','le7b',325000,'super'),
('Reaper','reaper',150000,'super'),
('Sultan RS','sultanrs',65000,'super'),
('T20','t20',300000,'super'),
('Turismo R','turismor',350000,'super'),
('Tyrus','tyrus',600000,'super'),
('Vacca','vacca',120000,'super'),
('Voltic','voltic',90000,'super'),
('X80 Proto','prototipo',2500000,'super'),
('Zentorno','zentorno',1500000,'super'),
('Akuma','AKUMA',7500,'motorcycles'),
('Avarus','avarus',18000,'motorcycles'),
('Bagger','bagger',13500,'motorcycles'),
('Bati 801','bati',12000,'motorcycles'),
('Bati 801RR','bati2',19000,'motorcycles'),
('BF400','bf400',6500,'motorcycles'),
('BMX (velo)','bmx',160,'motorcycles'),
('Carbon RS','carbonrs',18000,'motorcycles'),
('Chimera','chimera',38000,'motorcycles'),
('Cliffhanger','cliffhanger',9500,'motorcycles'),
('Cruiser (velo)','cruiser',510,'motorcycles'),
('Daemon','daemon',11500,'motorcycles'),
('Daemon High','daemon2',13500,'motorcycles'),
('Defiler','defiler',9800,'motorcycles'),
('Double T','double',28000,'motorcycles'),
('Enduro','enduro',5500,'motorcycles'),
('Esskey','esskey',4200,'motorcycles'),
('Faggio','faggio',1900,'motorcycles'),
('Vespa','faggio2',2800,'motorcycles'),
('Fixter (velo)','fixter',225,'motorcycles'),
('Gargoyle','gargoyle',16500,'motorcycles'),
('Hakuchou','hakuchou',31000,'motorcycles'),
('Hakuchou Sport','hakuchou2',55000,'motorcycles'),
('Hexer','hexer',12000,'motorcycles'),
('Innovation','innovation',23500,'motorcycles'),
('Manchez','manchez',5300,'motorcycles'),
('Nemesis','nemesis',5800,'motorcycles'),
('Nightblade','nightblade',35000,'motorcycles'),
('PCJ-600','pcj',6200,'motorcycles'),
('Ruffian','ruffian',6800,'motorcycles'),
('Sanchez','sanchez',5300,'motorcycles'),
('Sanchez Sport','sanchez2',5300,'motorcycles'),
('Sanctus','sanctus',25000,'motorcycles'),
('Scorcher (velo)','scorcher',280,'motorcycles'),
('Sovereign','sovereign',22000,'motorcycles'),
('Shotaro Concept','shotaro',320000,'motorcycles'),
('Thrust','thrust',24000,'motorcycles'),
('Tri bike (velo)','tribike3',520,'motorcycles'),
('Vader','vader',7200,'motorcycles'),
('Vortex','vortex',9800,'motorcycles'),
('Woflsbane','wolfsbane',9000,'motorcycles'),
('Zombie','zombiea',9500,'motorcycles'),
('Zombie Luxuary','zombieb',12000,'motorcycles'),
('blazer5', 'blazer5', 1755600, 'offroad'),
('Ruiner 2', 'ruiner2', 5745600, 'muscle'),
('Voltic 2', 'voltic2', 3830400, 'super'),
('Ardent', 'ardent', 1150000, 'sportsclassics'),
('Oppressor', 'oppressor', 3524500, 'super'),
('Visione', 'visione', 2250000, 'super'),
('Retinue', 'retinue', 615000, 'sportsclassics'),
('Cyclone', 'cyclone', 1890000, 'super'),
('Rapid GT3', 'rapidgt3', 885000, 'sportsclassics'),
('raiden', 'raiden', 1375000, 'sports'),
('Yosemite', 'yosemite', 485000, 'muscle'),
('Deluxo', 'deluxo', 4721500, 'sportsclassics'),
('Pariah', 'pariah', 1420000, 'sports'),
('Stromberg', 'stromberg', 3185350, 'sports'),
('SC 1', 'sc1', 1603000, 'super'),
('riata', 'riata', 380000, 'offroad'),
('Hermes', 'hermes', 535000, 'muscle'),
('Savestra', 'savestra', 990000, 'sportsclassics'),
('Streiter', 'streiter', 500000, 'sports'),
('Kamacho', 'kamacho', 345000, 'offroad'),
('GT 500', 'gt500', 785000, 'sportsclassics'),
('Z190', 'z190', 900000, 'sportsclassics'),
('Viseris', 'viseris', 875000, 'sportsclassics'),
('Autarch', 'autarch', 1955000, 'super'),
('Comet 5', 'comet5', 1145000, 'sports'),
('Neon', 'neon', 1500000, 'sports'),
('Revolter', 'revolter', 1610000, 'sports'),
('Sentinel3', 'sentinel3', 650000, 'sports'),
('Hustler', 'hustler', 625000, 'muscle')
;

View File

@@ -0,0 +1,447 @@
local categories, vehicles = {}, {}
local vehiclesByModel = {}
CreateThread(function()
exports["esx_society"]:registerSociety('cardealer', TranslateCap('car_dealer'), 'society_cardealer', 'society_cardealer', 'society_cardealer', {type = 'private'})
end)
CreateThread(function()
local char = Config.PlateLetters
char = char + Config.PlateNumbers
if Config.PlateUseSpace then char = char + 1 end
if char > 8 then
print(('[^3WARNING^7] Character Limit Exceeded, ^5%s/8^7!'):format(char))
end
end)
function RemoveOwnedVehicle(plate)
MySQL.update('DELETE FROM owned_vehicles WHERE plate = ?', {plate})
end
AddEventHandler('onResourceStart', function(resourceName)
if resourceName == GetCurrentResourceName() then
SQLVehiclesAndCategories()
end
end)
function SQLVehiclesAndCategories()
categories = MySQL.query.await('SELECT * FROM vehicle_categories')
vehicles = MySQL.query.await('SELECT vehicles.*, vehicle_categories.label AS categoryLabel FROM vehicles JOIN vehicle_categories ON vehicles.category = vehicle_categories.name')
for _, vehicle in pairs(vehicles) do
vehiclesByModel[vehicle.model] = vehicle
end
TriggerClientEvent("esx_vehicleshop:updateVehiclesAndCategories", -1, vehicles, categories, vehiclesByModel)
end
function getVehicleFromModel(model)
return vehiclesByModel[model]
end
RegisterNetEvent("esx_vehicleshop:getVehiclesAndCategories", function()
TriggerClientEvent("esx_vehicleshop:updateVehiclesAndCategories", source, vehicles, categories, vehiclesByModel)
end)
RegisterNetEvent('esx_vehicleshop:setVehicleOwnedPlayerId')
AddEventHandler('esx_vehicleshop:setVehicleOwnedPlayerId', function(playerId, vehicleProps, model, label)
local xPlayer, xTarget = ESX.Player(source), ESX.Player(playerId)
if xPlayer.getJob().name ~= 'cardealer' or not xTarget then
return
end
local xTargetName = xTarget.getName()
MySQL.scalar('SELECT id FROM cardealer_vehicles WHERE vehicle = ?', {model},
function(id)
if not id then
return
end
MySQL.update('DELETE FROM cardealer_vehicles WHERE id = ?', {id},
function(rowsChanged)
if rowsChanged == 1 then
MySQL.insert('INSERT INTO owned_vehicles (owner, plate, vehicle) VALUES (?, ?, ?)', {xTarget.getIdentifier(), vehicleProps.plate, json.encode(vehicleProps)},
function(id)
xPlayer.showNotification(TranslateCap('vehicle_set_owned', vehicleProps.plate, xTargetName))
xTarget.showNotification(TranslateCap('vehicle_belongs', vehicleProps.plate))
end)
MySQL.insert('INSERT INTO vehicle_sold (client, model, plate, soldby, date) VALUES (?, ?, ?, ?, ?)', {xTargetName, label, vehicleProps.plate, xPlayer.getName(), os.date('%Y-%m-%d %H:%M')})
end
end)
end)
end)
ESX.RegisterServerCallback('esx_vehicleshop:getSoldVehicles', function(source, cb)
MySQL.query('SELECT client, model, plate, soldby, date FROM vehicle_sold ORDER BY DATE DESC', function(result)
cb(result)
end)
end)
RegisterNetEvent('esx_vehicleshop:rentVehicle')
AddEventHandler('esx_vehicleshop:rentVehicle', function(vehicle, plate, rentPrice, playerId)
local xPlayer, xTarget = ESX.Player(source), ESX.Player(playerId)
if xPlayer.getJob().name ~= 'cardealer' or not xTarget then
return
end
local xTargetName = xTarget.getName()
MySQL.single('SELECT id, price FROM cardealer_vehicles WHERE vehicle = ?', {vehicle},
function(result)
if not result then
return
end
MySQL.update('DELETE FROM cardealer_vehicles WHERE id = ?', {result.id},
function(rowsChanged)
if rowsChanged ~= 1 then
return
end
MySQL.insert('INSERT INTO rented_vehicles (vehicle, plate, player_name, base_price, rent_price, owner) VALUES (?, ?, ?, ?, ?, ?)', {vehicle, plate, xTargetName, result.price, rentPrice, xTarget.getIdentifier()},
function(id)
xPlayer.showNotification(TranslateCap('vehicle_set_rented', plate, xTargetName))
end)
end)
end)
end)
RegisterNetEvent('esx_vehicleshop:getStockItem')
AddEventHandler('esx_vehicleshop:getStockItem', function(itemName, count)
local source = source
local xPlayer = ESX.Player(source)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_cardealer', function(inventory)
local item = inventory.getItem(itemName)
-- is there enough in the society?
if count > 0 and item.count >= count then
-- can the player carry the said amount of x item?
if not xPlayer.canCarryItem(itemName, count) then
return xPlayer.showNotification(TranslateCap('player_cannot_hold'))
end
inventory.removeItem(itemName, count)
xPlayer.addInventoryItem(itemName, count)
xPlayer.showNotification(TranslateCap('have_withdrawn', count, item.label))
else
xPlayer.showNotification(TranslateCap('not_enough_in_society'))
end
end)
end)
RegisterNetEvent('esx_vehicleshop:putStockItems')
AddEventHandler('esx_vehicleshop:putStockItems', function(itemName, count)
local source = source
local xPlayer = ESX.Player(source)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_cardealer', function(inventory)
local item = inventory.getItem(itemName)
if item.count >= 0 then
xPlayer.removeInventoryItem(itemName, count)
inventory.addItem(itemName, count)
xPlayer.showNotification(TranslateCap('have_deposited', count, item.label))
else
xPlayer.showNotification(TranslateCap('invalid_amount'))
end
end)
end)
ESX.RegisterServerCallback('esx_vehicleshop:buyVehicle', function(source, cb, model, plate)
local xPlayer = ESX.Player(source)
local modelPrice = getVehicleFromModel(model).price
if modelPrice and xPlayer.getMoney() >= modelPrice then
xPlayer.removeMoney(modelPrice, "Vehicle Purchase")
MySQL.insert('INSERT INTO owned_vehicles (owner, plate, vehicle) VALUES (?, ?, ?)', {xPlayer.getIdentifier(), plate, json.encode({model = joaat(model), plate = plate})
}, function(rowsChanged)
xPlayer.showNotification(TranslateCap('vehicle_belongs', plate))
ESX.OneSync.SpawnVehicle(joaat(model), Config.Zones.ShopOutside.Pos, Config.Zones.ShopOutside.Heading,{plate = plate}, function(vehicle)
Wait(100)
local vehicle = NetworkGetEntityFromNetworkId(vehicle)
Wait(300)
TaskWarpPedIntoVehicle(GetPlayerPed(source), vehicle, -1)
end)
cb(true)
end)
else
cb(false)
end
end)
ESX.RegisterServerCallback('esx_vehicleshop:getCommercialVehicles', function(source, cb)
MySQL.query('SELECT price, vehicle FROM cardealer_vehicles ORDER BY vehicle ASC', function(result)
cb(result)
end)
end)
ESX.RegisterServerCallback('esx_vehicleshop:buyCarDealerVehicle', function(source, cb, model)
local xPlayer = ESX.Player(source)
if xPlayer.getJob().name ~= 'cardealer' then
return cb(false)
end
local modelPrice = getVehicleFromModel(model).price
if not modelPrice then
return cb(false)
end
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_cardealer', function(account)
if account.money < modelPrice then
return cb(false)
end
account.removeMoney(modelPrice)
MySQL.insert('INSERT INTO cardealer_vehicles (vehicle, price) VALUES (?, ?)', {model, modelPrice},
function(rowsChanged)
cb(true)
end)
end)
end)
RegisterNetEvent('esx_vehicleshop:returnProvider')
AddEventHandler('esx_vehicleshop:returnProvider', function(vehicleModel)
local xPlayer = ESX.Player(source)
if xPlayer.getJob().name ~= 'cardealer' then
return
end
MySQL.single('SELECT id, price FROM cardealer_vehicles WHERE vehicle = ?', {vehicleModel},
function(result)
if not result then
return print(('[^3WARNING^7] Player ^5%s^7 Attempted To Sell Invalid Vehicle - ^5%s^7!'):format(source, vehicleModel))
end
local id = result.id
MySQL.update('DELETE FROM cardealer_vehicles WHERE id = ?', {id},
function(rowsChanged)
if rowsChanged ~= 1 then
return
end
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_cardealer', function(account)
local price = ESX.Math.Round(result.price * 0.75)
local vehicleLabel = getVehicleFromModel(vehicleModel).name
account.addMoney(price)
xPlayer.showNotification(TranslateCap('vehicle_sold_for', vehicleLabel, ESX.Math.GroupDigits(price)))
end)
end)
end)
end)
ESX.RegisterServerCallback('esx_vehicleshop:getRentedVehicles', function(source, cb)
MySQL.query('SELECT * FROM rented_vehicles ORDER BY player_name ASC', function(result)
local vehicles = {}
for i = 1, #result do
local vehicle = result[i]
vehicles[#vehicles + 1] = {
name = vehicle.vehicle,
plate = vehicle.plate,
playerName = vehicle.player_name
}
end
cb(vehicles)
end)
end)
ESX.RegisterServerCallback('esx_vehicleshop:giveBackVehicle', function(source, cb, plate)
MySQL.single('SELECT base_price, vehicle FROM rented_vehicles WHERE plate = ?', {plate},
function(result)
if not result then
return cb(false)
end
MySQL.update('DELETE FROM rented_vehicles WHERE plate = ?', {plate},
function()
MySQL.insert('INSERT INTO cardealer_vehicles (vehicle, price) VALUES (?, ?)', {result.vehicle, result.base_price})
RemoveOwnedVehicle(plate)
cb(true)
end)
end)
end)
ESX.RegisterServerCallback('esx_vehicleshop:resellVehicle', function(source, cb, plate, model)
local xPlayer, resellPrice = ESX.Player(source)
if xPlayer.getJob().name == 'cardealer' or not Config.EnablePlayerManagement then
-- calculate the resell price
for i=1, #vehicles, 1 do
if joaat(vehicles[i].model) == model then
resellPrice = ESX.Math.Round(vehicles[i].price / 100 * Config.ResellPercentage)
break
end
end
if not resellPrice then
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Resell Invalid Vehicle - ^5%s^7!'):format(source, model))
return cb(false)
end
MySQL.single('SELECT * FROM rented_vehicles WHERE plate = ?', {plate},
function(result)
if result then -- is it a rented vehicle?
return cb(false) -- it is, don't let the player sell it since he doesn't own it
end
MySQL.single('SELECT * FROM owned_vehicles WHERE owner = ? AND plate = ?', {xPlayer.getIdentifier(), plate},
function(result)
if not result then -- does the owner match?
return
end
local vehicle = json.decode(result.vehicle)
if vehicle.model ~= model then
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Resell Vehicle With Invalid Model - ^5%s^7!'):format(source, model))
return cb(false)
end
if vehicle.plate ~= plate then
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Resell Vehicle With Invalid Plate - ^5%s^7!'):format(source, plate))
return cb(false)
end
xPlayer.addMoney(resellPrice, "Sold Vehicle")
RemoveOwnedVehicle(plate)
cb(true)
end)
end)
end
end)
ESX.RegisterServerCallback('esx_vehicleshop:getStockItems', function(source, cb)
TriggerEvent('esx_addoninventory:getSharedInventory', 'society_cardealer', function(inventory)
cb(inventory.items)
end)
end)
ESX.RegisterServerCallback('esx_vehicleshop:getPlayerInventory', function(source, cb)
local xPlayer = ESX.Player(source)
local items = xPlayer.getInventory(true)
cb({items = items})
end)
ESX.RegisterServerCallback('esx_vehicleshop:isPlateTaken', function(source, cb, plate)
MySQL.scalar('SELECT plate FROM owned_vehicles WHERE plate = ?', {plate},
function(result)
cb(result ~= nil)
end)
end)
ESX.RegisterServerCallback('esx_vehicleshop:retrieveJobVehicles', function(source, cb, type)
local xPlayer = ESX.Player(source)
MySQL.query('SELECT * FROM owned_vehicles WHERE owner = ? AND type = ? AND job = ?', {xPlayer.getIdentifier(), type, xPlayer.getJob().name},
function(result)
cb(result)
end)
end)
RegisterNetEvent('esx_vehicleshop:setJobVehicleState')
AddEventHandler('esx_vehicleshop:setJobVehicleState', function(plate, state)
local xPlayer = ESX.Player(source)
MySQL.update('UPDATE owned_vehicles SET `stored` = ? WHERE plate = ? AND job = ?', {state, plate, xPlayer.getJob().name},
function(rowsChanged)
if rowsChanged == 0 then
print(('[^3WARNING^7] Player ^5%s^7 Attempted To Exploit the Garage!'):format(source, plate))
end
end)
end)
function PayRent()
local timeStart = os.clock()
print('[^2INFO^7] ^5Rent Payments^7 Initiated')
MySQL.query('SELECT rented_vehicles.owner, rented_vehicles.rent_price, rented_vehicles.plate, users.accounts FROM rented_vehicles LEFT JOIN users ON rented_vehicles.owner = users.identifier', {},
function(rentals)
local owners = {}
for i = 1, #rentals do
local rental = rentals[i]
if not owners[rental.owner] then
owners[rental.owner] = {rental}
else
owners[rental.owner][#owners[rental.owner] + 1] = rental
end
end
local total = 0
local unrentals = {}
local users = {}
for k, v in pairs(owners) do
local sum = 0
for i = 1, #v do
sum = sum + v[i].rent_price
end
local xPlayer = ESX.Player(k)
if xPlayer then
local bank = xPlayer.getAccount('bank').money
if bank >= sum and #v > 1 then
total = total + sum
xPlayer.removeAccountMoney('bank', sum, "Vehicle Rental")
xPlayer.showNotification(('You have paid $%s for all of your rentals'):format(ESX.Math.GroupDigits(sum)))
else
for i = 1, #v do
local rental = v[i]
if xPlayer.getAccount('bank').money >= rental.rent_price then
total = total + rental.rent_price
xPlayer.removeAccountMoney('bank', rental.rent_price, "Vehicle Rental")
xPlayer.showNotification(TranslateCap('paid_rental', ESX.Math.GroupDigits(rental.rent_price), rental.plate))
else
xPlayer.showNotification(TranslateCap('paid_rental_evicted', ESX.Math.GroupDigits(rental.rent_price), rental.plate))
unrentals[#unrentals + 1] = {rental.owner, rental.plate}
end
end
end
else
local accounts = json.decode(v[1].accounts)
if accounts.bank < sum then
sum = 0
local limit = false
for i = 1, #v do
local rental = v[i]
if not limit then
sum = sum + rental.rent_price
if sum > accounts.bank then
sum = sum - rental.rent_price
limit = true
end
else
unrentals[#unrentals + 1] = {rental.owner, rental.plate}
end
end
end
if sum > 0 then
total = total + sum
accounts.bank = accounts.bank - sum
users[#users + 1] = {json.encode(accounts), k}
end
end
end
if total > 0 then
TriggerEvent('esx_addonaccount:getSharedAccount', 'society_cardealer', function(account)
account.addMoney(total)
end)
end
if next(users) then
MySQL.prepare.await('UPDATE users SET accounts = ? WHERE identifier = ?', users)
end
if next(unrentals) then
MySQL.prepare.await('DELETE FROM rented_vehicles WHERE owner = ? AND plate = ?', unrentals)
end
print(('[^2INFO^7] ^5Rent Payments^7 took ^5%s^7 ms to execute'):format(ESX.Math.Round((os.time() - timeStart) / 1000000, 2)))
end)
end
TriggerEvent('cron:runAt', 22, 00, PayRent)