fixing mods
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<CHandlingDataMgr>
|
||||
<HandlingData>
|
||||
<Item type="CHandlingData">
|
||||
<handlingName>24DURANGO</handlingName>
|
||||
<handlingName>21DURANGO</handlingName>
|
||||
<fMass value="2100.000000" />
|
||||
<fInitialDragCoeff value="8.000000" />
|
||||
<fPercentSubmerged value="85.000000" />
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<Item>
|
||||
<modelName>24sodur_ht</modelName>
|
||||
<txdName>24sodur_ht</txdName>
|
||||
<handlingId>24DURANGO</handlingId>
|
||||
<handlingId>21DURANGO</handlingId>
|
||||
<gameName>24sodur_ht</gameName>
|
||||
<vehicleMakeName>21DODGE</vehicleMakeName>
|
||||
<expressionDictName>null</expressionDictName>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 6.6 MiB |
@@ -0,0 +1,5 @@
|
||||
This Product is Escrowed Via Keymaster please vist Keymaster - https://keymaster.fivem.net/asset-grants
|
||||
|
||||
Create a [EUP] folder in your main resources folder, this is ready to go just add it to the [EUP] folder and keep it in the folder it comes with.
|
||||
|
||||
For any assistants please vist our discord - https://discord.gg/BJQmpq2eSK
|
||||
@@ -0,0 +1,18 @@
|
||||
fx_version 'cerulean'
|
||||
game 'gta5'
|
||||
author 'ElPancho Designs'
|
||||
description 'Modular Helmet'
|
||||
version '1.0.0'
|
||||
this_is_a_map 'no'
|
||||
|
||||
escrow_ignore {
|
||||
'stream/**/*.ytd',
|
||||
}
|
||||
|
||||
files {
|
||||
"mp_m_freemode_01_clothes_shop.meta"
|
||||
}
|
||||
|
||||
data_file "SHOP_PED_APPAREL_META_FILE" "mp_m_freemode_01_clothes_shop.meta"
|
||||
dependency '/assetpacks'
|
||||
dependency '/assetpacks'
|
||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,41 +0,0 @@
|
||||
# Compiled Lua sources
|
||||
luac.out
|
||||
|
||||
# luarocks build files
|
||||
*.src.rock
|
||||
*.zip
|
||||
*.tar.gz
|
||||
|
||||
# Object files
|
||||
*.o
|
||||
*.os
|
||||
*.ko
|
||||
*.obj
|
||||
*.elf
|
||||
|
||||
# Precompiled Headers
|
||||
*.gch
|
||||
*.pch
|
||||
|
||||
# Libraries
|
||||
*.lib
|
||||
*.a
|
||||
*.la
|
||||
*.lo
|
||||
*.def
|
||||
*.exp
|
||||
|
||||
# Shared objects (inc. Windows DLLs)
|
||||
*.dll
|
||||
*.so
|
||||
*.so.*
|
||||
*.dylib
|
||||
|
||||
# Executables
|
||||
*.exe
|
||||
*.out
|
||||
*.app
|
||||
*.i*86
|
||||
*.x86_64
|
||||
*.hex
|
||||
|
||||
@@ -1,674 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 <https://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:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
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
|
||||
<https://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
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -1,30 +0,0 @@
|
||||
[](https://semdevelopment.com/discord)
|
||||
|
||||
# SEM_InteractionMenu
|
||||
*Multi Purpose FiveM Interaction Menu*
|
||||
|
||||
This resource is a menu with actions for LEO, Fire and Civ including Vehicle Controls and Emotes!
|
||||
|
||||
Each section has features that would be used by each of the professions, for example the LEO Menu has Cuff, Drag, Seat, etc.
|
||||
Some menu features also have commands out of ease during RP.
|
||||
|
||||
SEM_InteractionMenu was created using NativeUI [LUA]
|
||||
|
||||
|
||||
### Information:
|
||||
Current Version: **v1.7.1**
|
||||
|
||||
Changes: **• Fixes menu item skipping**
|
||||
|
||||
**THIS UPDATE *ONLY* AFFECTS THE DEPENDENCY NATIVEUI - YOU CAN JUST UPDATE THAT FILE *(NO OTHER FILES WERE CHANGED!)***
|
||||
|
||||
|
||||
### Links:
|
||||
|
||||
Support/Discord: [Click Here](https://semdevelopment.com/discord)
|
||||
|
||||
Information: [Click Here](https://semdevelopment.com/releases/interactionmenu)
|
||||
|
||||
Instruction/Docs: [Click here](https://semdevelopment.com/releases/interactionmenu/docs)
|
||||
|
||||
*For full changes checkout [here](https://semdevelopment.com/releases/interactionmenu/docs/changelog)*
|
||||
@@ -1,898 +0,0 @@
|
||||
--[[
|
||||
──────────────────────────────────────────────────────────────
|
||||
|
||||
SEM_InteractionMenu (client.lua) - Created by Scott M
|
||||
Current Version: v1.7.1 (Sep 2021)
|
||||
|
||||
Support: https://semdevelopment.com/discord
|
||||
|
||||
!!! Change vaules in the 'config.lua' !!!
|
||||
DO NOT EDIT THIS IF YOU DON'T KNOW WHAT YOU ARE DOING
|
||||
|
||||
──────────────────────────────────────────────────────────────
|
||||
]]
|
||||
|
||||
|
||||
|
||||
--Cuffing Event
|
||||
local isCuffed = false
|
||||
RegisterNetEvent('SEM_InteractionMenu:Cuff')
|
||||
AddEventHandler('SEM_InteractionMenu:Cuff', function()
|
||||
local Ped = PlayerPedId()
|
||||
if (DoesEntityExist(Ped)) then
|
||||
Citizen.CreateThread(function()
|
||||
RequestAnimDict('mp_arresting')
|
||||
while not HasAnimDictLoaded('mp_arresting') do
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
|
||||
if isCuffed then
|
||||
isCuffed = false
|
||||
Citizen.Wait(500)
|
||||
SetEnableHandcuffs(Ped, false)
|
||||
ClearPedTasksImmediately(Ped)
|
||||
else
|
||||
isCuffed = true
|
||||
SetEnableHandcuffs(Ped, true)
|
||||
TaskPlayAnim(Ped, 'mp_arresting', 'idle', 8.0, -8, -1, 49, 0, 0, 0, 0)
|
||||
end
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
--Cuff Animation & Restructions
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(1)
|
||||
|
||||
if isCuffed then
|
||||
if not IsEntityPlayingAnim(GetPlayerPed(PlayerId()), 'mp_arresting', 'idle', 3) then
|
||||
TaskPlayAnim(GetPlayerPed(PlayerId()), 'mp_arresting', 'idle', 8.0, -8, -1, 49, 0, 0, 0, 0)
|
||||
end
|
||||
|
||||
SetCurrentPedWeapon(PlayerPedId(), 'weapon_unarmed', true)
|
||||
|
||||
if not Config.VehEnterCuffed then
|
||||
DisableControlAction(1, 23, true) --F | Enter Vehicle
|
||||
DisableControlAction(1, 75, true) --F | Exit Vehicle
|
||||
end
|
||||
DisableControlAction(1, 140, true) --R
|
||||
DisableControlAction(1, 141, true) --Q
|
||||
DisableControlAction(1, 142, true) --LMB
|
||||
SetPedPathCanUseLadders(GetPlayerPed(PlayerId()), false)
|
||||
if IsPedInAnyVehicle(GetPlayerPed(PlayerId()), false) then
|
||||
DisableControlAction(0, 59, true) --Vehicle Driving
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Dragging Event
|
||||
local Drag = false
|
||||
local OfficerDrag = -1
|
||||
RegisterNetEvent('SEM_InteractionMenu:Drag')
|
||||
AddEventHandler('SEM_InteractionMenu:Drag', function(ID)
|
||||
Drag = not Drag
|
||||
OfficerDrag = ID
|
||||
|
||||
if not Drag then
|
||||
DetachEntity(PlayerPedId(), true, false)
|
||||
end
|
||||
end)
|
||||
|
||||
--Drag Attachment
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(1)
|
||||
|
||||
if Drag then
|
||||
local Ped = GetPlayerPed(GetPlayerFromServerId(OfficerDrag))
|
||||
local Ped2 = PlayerPedId()
|
||||
AttachEntityToEntity(Ped2, Ped, 4103, 0.35, 0.38, 0.0, 0.0, 0.0, 0.0, false, false, false, false, 2, true)
|
||||
DisableControlAction(1, 140, true) --R
|
||||
DisableControlAction(1, 141, true) --Q
|
||||
DisableControlAction(1, 142, true) --LMB
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Force Seat Player Event
|
||||
RegisterNetEvent('SEM_InteractionMenu:Seat')
|
||||
AddEventHandler('SEM_InteractionMenu:Seat', function(Veh)
|
||||
local Pos = GetEntityCoords(PlayerPedId())
|
||||
local EntityWorld = GetOffsetFromEntityInWorldCoords(PlayerPedId(), 0.0, 20.0, 0.0)
|
||||
local RayHandle = CastRayPointToPoint(Pos.x, Pos.y, Pos.z, EntityWorld.x, EntityWorld.y, EntityWorld.z, 10, PlayerPedId(), 0)
|
||||
local _, _, _, _, VehicleHandle = GetRaycastResult(RayHandle)
|
||||
if VehicleHandle ~= nil then
|
||||
SetPedIntoVehicle(PlayerPedId(), VehicleHandle, 1)
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Force Unseat Player Event
|
||||
RegisterNetEvent('SEM_InteractionMenu:Unseat')
|
||||
AddEventHandler('SEM_InteractionMenu:Unseat', function(ID)
|
||||
local Ped = GetPlayerPed(ID)
|
||||
ClearPedTasksImmediately(Ped)
|
||||
PlayerPos = GetEntityCoords(PlayerPedId(), true)
|
||||
local X = PlayerPos.x - 0
|
||||
local Y = PlayerPos.y - 0
|
||||
|
||||
SetEntityCoords(PlayerPedId(), X, Y, PlayerPos.z)
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Spike Strip Spawn Event
|
||||
local SpawnedSpikes = {}
|
||||
RegisterNetEvent('SEM_InteractionMenu:Spikes-SpawnSpikes')
|
||||
AddEventHandler('SEM_InteractionMenu:Spikes-SpawnSpikes', function(Length)
|
||||
if IsPedInAnyVehicle(PlayerPedId(), false) then
|
||||
Notify('~r~You can\'t set spikes while in a vehicle!')
|
||||
return
|
||||
end
|
||||
|
||||
local SpawnCoords = GetOffsetFromEntityInWorldCoords(GetPlayerPed(PlayerId()) , 0.0, 2.0, 0.0)
|
||||
for a = 1, Length do
|
||||
local Spike = CreateObject(GetHashKey('P_ld_stinger_s'), SpawnCoords.x, SpawnCoords.y, SpawnCoords.z, 1, 1, 1)
|
||||
local NetID = NetworkGetNetworkIdFromEntity(Spike)
|
||||
SetNetworkIdExistsOnAllMachines(NetID, true)
|
||||
SetNetworkIdCanMigrate(NetID, false)
|
||||
SetEntityHeading(Spike, GetEntityHeading(GetPlayerPed(PlayerId()) ))
|
||||
PlaceObjectOnGroundProperly(Spike)
|
||||
FreezeEntityPosition(Spike, true)
|
||||
SpawnCoords = GetOffsetFromEntityInWorldCoords(Spike, 0.0, 4.0, 0.0)
|
||||
table.insert(SpawnedSpikes, NetID)
|
||||
end
|
||||
end)
|
||||
|
||||
--Spike Strip Delete Event
|
||||
RegisterNetEvent('SEM_InteractionMenu:Spikes-DeleteSpikes')
|
||||
AddEventHandler('SEM_InteractionMenu:Spikes-DeleteSpikes', function()
|
||||
for a = 1, #SpawnedSpikes do
|
||||
local Spike = NetworkGetEntityFromNetworkId(SpawnedSpikes[a])
|
||||
DeleteEntity(Spike)
|
||||
end
|
||||
Notify('~r~Spikes Strips Removed!')
|
||||
SpawnedSpikes = {}
|
||||
end)
|
||||
|
||||
--Spike Strip Tire Popping
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(25)
|
||||
|
||||
if IsPedInAnyVehicle(PlayerPedId() , false) then
|
||||
local Vehicle = GetVehiclePedIsIn(PlayerPedId() , false)
|
||||
|
||||
if GetPedInVehicleSeat(Vehicle, -1) == PlayerPedId() then
|
||||
local VehiclePos = GetEntityCoords(Vehicle, false)
|
||||
local Spike = GetClosestObjectOfType(VehiclePos.x, VehiclePos.y, VehiclePos.z, 2.0, GetHashKey('P_ld_stinger_s'), 1, 1, 1)
|
||||
|
||||
if Spike ~= 0 then
|
||||
local Tires = {
|
||||
{bone = 'wheel_lf', index = 0},
|
||||
{bone = 'wheel_rf', index = 1},
|
||||
{bone = 'wheel_lm', index = 2},
|
||||
{bone = 'wheel_rm', index = 3},
|
||||
{bone = 'wheel_lr', index = 4},
|
||||
{bone = 'wheel_rr', index = 5}
|
||||
}
|
||||
|
||||
for a = 1, #Tires do
|
||||
local TirePos = GetWorldPositionOfEntityBone(Vehicle, GetEntityBoneIndexByName(Vehicle, Tires[a].bone))
|
||||
local Spike = GetClosestObjectOfType(TirePos.x, TirePos.y, TirePos.z, 2.0, GetHashKey('P_ld_stinger_s'), 1, 1, 1)
|
||||
local SpikePos = GetEntityCoords(Spike, false)
|
||||
local Distance = Vdist(TirePos.x, TirePos.y, TirePos.z, SpikePos.x, SpikePos.y, SpikePos.z)
|
||||
|
||||
if Distance < 1.8 then
|
||||
if not IsVehicleTyreBurst(Vehicle, Tires[a].index, true) or IsVehicleTyreBurst(Vehicle, Tires[a].index, false) then
|
||||
SetVehicleTyreBurst(Vehicle, Tires[a].index, false, 1000.0)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Backup
|
||||
RegisterNetEvent('SEM_InteractionMenu:CallBackup')
|
||||
AddEventHandler('SEM_InteractionMenu:CallBackup', function(Code, StreetName, Coords)
|
||||
if LEORestrict() then
|
||||
local BackupBlip = nil
|
||||
local BackupBlips = {}
|
||||
|
||||
local function CreateBlip(x, y, z, Name, Sprite, Size, Colour)
|
||||
BackupBlip = AddBlipForCoord(x, y, z)
|
||||
SetBlipSprite(BackupBlip, Sprite)
|
||||
SetBlipDisplay(BackupBlip, 4)
|
||||
SetBlipScale(BackupBlip, Size)
|
||||
SetBlipColour(BackupBlip, Colour)
|
||||
SetBlipAsShortRange(BackupBlip, true)
|
||||
|
||||
BeginTextCommandSetBlipName('STRING')
|
||||
AddTextComponentString(Name)
|
||||
EndTextCommandSetBlipName(BackupBlip)
|
||||
table.insert(BackupBlips, BackupBlip)
|
||||
Citizen.Wait(Config.BackupBlipTimeout * 60000)
|
||||
for _, Blip in pairs(BackupBlips) do
|
||||
RemoveBlip(Blip)
|
||||
end
|
||||
end
|
||||
|
||||
if Code == 1 then
|
||||
Notify('An officer is requesting ~g~Code 1 ~w~backup at ~b~' .. StreetName)
|
||||
CreateBlip(Coords.x, Coords.y, Coords.z, 'Code 1 Backup Requested', 56, 0.8, 2)
|
||||
elseif Code == 2 then
|
||||
Notify('An officer is requesting ~y~Code 2 ~w~backup at ~b~' .. StreetName)
|
||||
CreateBlip(Coords.x, Coords.y, Coords.z, 'Code 2 Backup Requested', 56, 0.8, 17)
|
||||
elseif Code == 3 then
|
||||
Notify('An officer is requesting ~r~Code 3 ~w~backup at ~b~' .. StreetName)
|
||||
CreateBlip(Coords.x, Coords.y, Coords.z, 'Code 3 Backup Requested', 56, 1.0, 49)
|
||||
elseif Code == 99 then
|
||||
Notify('An officer is requesting ~r~Code 99 ~w~backup at ~b~' .. StreetName)
|
||||
CreateBlip(Coords.x, Coords.y, Coords.z, 'Code 99 Backup Requested', 56, 1.2, 49)
|
||||
elseif Code == 'panic' then
|
||||
Notify('An officer has pressed their ~r~Panic Button ~w~at ~b~' .. StreetName)
|
||||
CreateBlip(Coords.x, Coords.y, Coords.z, 'Panic Button Pressed', 103, 1.2, 49)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Jail
|
||||
CurrentlyJailed = false
|
||||
EarlyRelease = false
|
||||
OriginalJailTime = 0
|
||||
RegisterNetEvent('SEM_InteractionMenu:JailPlayer')
|
||||
AddEventHandler('SEM_InteractionMenu:JailPlayer', function(JailTime)
|
||||
if CurrentlyJailed then
|
||||
return
|
||||
end
|
||||
if CurrentlyHospitaled then
|
||||
return
|
||||
end
|
||||
|
||||
OriginalJailTime = JailTime
|
||||
|
||||
local Ped = PlayerPedId()
|
||||
if DoesEntityExist(Ped) then
|
||||
Citizen.CreateThread(function()
|
||||
SetEntityCoords(Ped, Config.JailLocation.Jail.x, Config.JailLocation.Jail.y, Config.JailLocation.Jail.z)
|
||||
SetEntityHeading(Ped, Config.JailLocation.Jail.h)
|
||||
CurrentlyJailed = true
|
||||
|
||||
while JailTime >= 0 and not EarlyRelease do
|
||||
SetEntityInvincible(Ped, true)
|
||||
if IsPedInAnyVehicle(Ped, false) then
|
||||
ClearPedTasksImmediately(Ped)
|
||||
end
|
||||
|
||||
if JailTime % 30 == 0 and JailTime ~= 0 then
|
||||
TriggerEvent('chat:addMessage', {
|
||||
multiline = true,
|
||||
color = {86, 96, 252},
|
||||
args = {'Judge', JailTime .. ' months until release.'},
|
||||
})
|
||||
end
|
||||
|
||||
Citizen.Wait(1000)
|
||||
|
||||
local Location = GetEntityCoords(Ped, true)
|
||||
local Distance = Vdist(Config.JailLocation.Jail.x, Config.JailLocation.Jail.y, Config.JailLocation.Jail.z, Location['x'], Location['y'], Location['z'])
|
||||
if Distance > 100 then
|
||||
SetEntityCoords(Ped, Config.JailLocation.Jail.x, Config.JailLocation.Jail.y, Config.JailLocation.Jail.z)
|
||||
SetEntityHeading(Ped, Config.JailLocation.Jail.h)
|
||||
TriggerEvent('chat:addMessage', {
|
||||
multiline = true,
|
||||
color = {86, 96, 252},
|
||||
args = {'Judge', 'Don\'t try escape, its impossible'},
|
||||
})
|
||||
end
|
||||
|
||||
JailTime = JailTime - 1
|
||||
end
|
||||
|
||||
if EarlyRelease then
|
||||
TriggerServerEvent('SEM_InteractionMenu:GlobalChat', {86, 96, 252}, 'Judge', GetPlayerName(PlayerId()) .. ' was released from Jail on Parole')
|
||||
else
|
||||
TriggerServerEvent('SEM_InteractionMenu:GlobalChat', {86, 96, 252}, 'Judge', GetPlayerName(PlayerId()) .. ' was released from Jail after ' .. OriginalJailTime .. ' months(s).')
|
||||
end
|
||||
SetEntityCoords(Ped, Config.JailLocation.Release.x, Config.JailLocation.Release.y, Config.JailLocation.Release.z)
|
||||
SetEntityHeading(Ped, Config.JailLocation.Release.h)
|
||||
CurrentlyJailed = false
|
||||
EarlyRelease = false
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterNetEvent('SEM_InteractionMenu:UnjailPlayer')
|
||||
AddEventHandler('SEM_InteractionMenu:UnjailPlayer', function()
|
||||
EarlyRelease = true
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Toggle LEO Weapons
|
||||
CarbineEquipped = false
|
||||
ShotgunEquipped = false
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(50)
|
||||
|
||||
if Config.UnrackWeapons == 1 then
|
||||
local Ped = PlayerPedId()
|
||||
local CurrentWeapon = GetSelectedPedWeapon(Ped)
|
||||
|
||||
if CarbineEquipped then
|
||||
SetCurrentPedWeapon(Ped, 'weapon_carbinerifle', true)
|
||||
else
|
||||
if tostring(CurrentWeapon) == '-2084633992' then
|
||||
Notify('~o~You need to unrack your rifle before you can use it')
|
||||
SetCurrentPedWeapon(Ped, 'weapon_unarmed', true)
|
||||
end
|
||||
end
|
||||
|
||||
if ShotgunEquipped then
|
||||
SetCurrentPedWeapon(Ped, 'weapon_pumpshotgun', true)
|
||||
else
|
||||
if tostring(CurrentWeapon) == '487013001' then
|
||||
Notify('~o~You need to unrack your shotgun before you can use it')
|
||||
SetCurrentPedWeapon(Ped, 'weapon_unarmed', true)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Civilian Adverts
|
||||
RegisterNetEvent('SEM_InteractionMenu:SyncAds')
|
||||
AddEventHandler('SEM_InteractionMenu:SyncAds',function(Text, Name, Loc, File, ID)
|
||||
Ad(Text, Name, Loc, File, ID)
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Inventory
|
||||
RegisterNetEvent('SEM_InteractionMenu:InventoryResult')
|
||||
AddEventHandler('SEM_InteractionMenu:InventoryResult', function(Inventory)
|
||||
Citizen.Wait(5000)
|
||||
|
||||
if Inventory == nil then
|
||||
Inventory = 'Empty'
|
||||
end
|
||||
|
||||
Notify('~b~Inventory Items: ~g~' .. Inventory)
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--BAC
|
||||
RegisterNetEvent('SEM_InteractionMenu:BACResult')
|
||||
AddEventHandler('SEM_InteractionMenu:BACResult', function(BACLevel)
|
||||
Citizen.Wait(5000)
|
||||
|
||||
if BACLevel == nil then
|
||||
BACLevel = 0.00
|
||||
end
|
||||
|
||||
if tonumber(BACLevel) < 0.08 then
|
||||
Notify('~b~BAC Level: ~g~' .. tostring(BACLevel))
|
||||
else
|
||||
Notify('~b~BAC Level: ~r~' .. tostring(BACLevel))
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
|
||||
--Hospital
|
||||
CurrentlyHospitalized = false
|
||||
EarlyDischarge = false
|
||||
OriginalHospitalTime = 0
|
||||
RegisterNetEvent('SEM_InteractionMenu:HospitalizePlayer')
|
||||
AddEventHandler('SEM_InteractionMenu:HospitalizePlayer', function(HospitalTime, HospitalLocation)
|
||||
if CurrentlyHospitaled then
|
||||
return
|
||||
end
|
||||
if CurrentlyJailed then
|
||||
return
|
||||
end
|
||||
|
||||
OriginalHospitalTime = HospitalTime
|
||||
|
||||
local Ped = PlayerPedId()
|
||||
if DoesEntityExist(Ped) then
|
||||
Citizen.CreateThread(function()
|
||||
SetEntityCoords(Ped, HospitalLocation.Hospital.x, HospitalLocation.Hospital.y, HospitalLocation.Hospital.z)
|
||||
SetEntityHeading(Ped, HospitalLocation.Hospital.h)
|
||||
CurrentlyHospitaled = true
|
||||
|
||||
while HospitalTime >= 0 and not EarlyDischarge do
|
||||
SetEntityInvincible(Ped, true)
|
||||
if IsPedInAnyVehicle(Ped, false) then
|
||||
ClearPedTasksImmediately(Ped)
|
||||
end
|
||||
|
||||
if HospitalTime % 30 == 0 and HospitalTime ~= 0 then
|
||||
TriggerEvent('chat:addMessage', {
|
||||
multiline = true,
|
||||
color = {86, 96, 252},
|
||||
args = {'Doctor', HospitalTime .. ' months until release.'},
|
||||
})
|
||||
end
|
||||
|
||||
Citizen.Wait(1000)
|
||||
|
||||
local Location = GetEntityCoords(Ped, true)
|
||||
local Distance = Vdist(HospitalLocation.Hospital.x, HospitalLocation.Hospital.y, HospitalLocation.Hospital.z, Location['x'], Location['y'], Location['z'])
|
||||
if Distance > 30 then
|
||||
SetEntityCoords(Ped, HospitalLocation.Hospital.x, HospitalLocation.Hospital.y, HospitalLocation.Hospital.z)
|
||||
SetEntityHeading(Ped, HospitalLocation.Hospital.h)
|
||||
TriggerEvent('chat:addMessage', {
|
||||
multiline = true,
|
||||
color = {86, 96, 252},
|
||||
args = {'Doctor', 'You cannot discharge yourself!'},
|
||||
})
|
||||
end
|
||||
|
||||
HospitalTime = HospitalTime - 1
|
||||
end
|
||||
|
||||
if EarlyDischarge then
|
||||
TriggerServerEvent('SEM_InteractionMenu:GlobalChat', {86, 96, 252}, 'Doctor', GetPlayerName(PlayerId()) .. ' was discharged from Hospital early')
|
||||
else
|
||||
TriggerServerEvent('SEM_InteractionMenu:GlobalChat', {86, 96, 252}, 'Doctor', GetPlayerName(PlayerId()) .. ' was discharged from Hospital after ' .. OriginalHospitalTime .. ' months(s).')
|
||||
end
|
||||
SetEntityCoords(Ped, HospitalLocation.Release.x, HospitalLocation.Release.y, HospitalLocation.Release.z)
|
||||
SetEntityHeading(Ped, HospitalLocation.Release.h)
|
||||
CurrentlyHospitaled = false
|
||||
EarlyDischarge = false
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterNetEvent('SEM_InteractionMenu:UnhospitalizePlayer')
|
||||
AddEventHandler('SEM_InteractionMenu:UnhospitalizePlayer', function()
|
||||
EarlyDischarge = true
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Station Blips
|
||||
Citizen.CreateThread(function()
|
||||
if Config.DisplayStationBlips then
|
||||
local function CreateBlip(x, y, z, Name, Colour, Sprite)
|
||||
StationBlip = AddBlipForCoord(x, y, z)
|
||||
SetBlipSprite(StationBlip, Sprite)
|
||||
if Config.StationBlipsDispalyed == 1 then
|
||||
SetBlipDisplay(StationBlip, 3)
|
||||
elseif Config.StationBlipsDispalyed == 2 then
|
||||
SetBlipDisplay(StationBlip, 5)
|
||||
else
|
||||
SetBlipDisplay(StationBlip, 2)
|
||||
end
|
||||
SetBlipScale(StationBlip, 1.0)
|
||||
SetBlipColour(StationBlip, Colour)
|
||||
SetBlipAsShortRange(StationBlip, true)
|
||||
|
||||
BeginTextCommandSetBlipName('STRING')
|
||||
AddTextComponentString(Name)
|
||||
EndTextCommandSetBlipName(StationBlip)
|
||||
end
|
||||
|
||||
for _, Station in pairs(Config.LEOStations) do
|
||||
CreateBlip(Station.coords.x, Station.coords.y, Station.coords.z, 'Police Station', 38, 60)
|
||||
end
|
||||
for _, Station in pairs(Config.FireStations) do
|
||||
CreateBlip(Station.coords.x, Station.coords.y, Station.coords.z, 'Fire Station', 1, 60)
|
||||
end
|
||||
for _, Station in pairs(Config.HospitalStations) do
|
||||
CreateBlip(Station.coords.x, Station.coords.y, Station.coords.z, 'Hospital', 2, 61)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Permissions
|
||||
LEOAce = false
|
||||
TriggerServerEvent('SEM_InteractionMenu:LEOPerms')
|
||||
RegisterNetEvent('SEM_InteractionMenu:LEOPermsResult')
|
||||
AddEventHandler('SEM_InteractionMenu:LEOPermsResult', function(Allowed)
|
||||
if Allowed then
|
||||
LEOAce = true
|
||||
else
|
||||
LEOAce = false
|
||||
end
|
||||
end)
|
||||
|
||||
FireAce = false
|
||||
TriggerServerEvent('SEM_InteractionMenu:FirePerms')
|
||||
RegisterNetEvent('SEM_InteractionMenu:FirePermsResult')
|
||||
AddEventHandler('SEM_InteractionMenu:FirePermsResult', function(Allowed)
|
||||
if Allowed then
|
||||
FireAce = true
|
||||
else
|
||||
FireAce = false
|
||||
end
|
||||
end)
|
||||
|
||||
UnjailAllowed = false
|
||||
TriggerServerEvent('SEM_InteractionMenu:UnjailPerms')
|
||||
RegisterNetEvent('SEM_InteractionMenu:UnjailPermsResult')
|
||||
AddEventHandler('SEM_InteractionMenu:UnjailPermsResult', function(Allowed)
|
||||
if Allowed then
|
||||
UnjailAllowed = true
|
||||
else
|
||||
UnjailAllowed = false
|
||||
end
|
||||
end)
|
||||
|
||||
UnhospitalAllowed = false
|
||||
TriggerServerEvent('SEM_InteractionMenu:UnhospitalPerms')
|
||||
RegisterNetEvent('SEM_InteractionMenu:UnhospitalPermsResult')
|
||||
AddEventHandler('SEM_InteractionMenu:UnhospitalPermsResult', function(Allowed)
|
||||
if Allowed then
|
||||
UnhospitalAllowed = true
|
||||
else
|
||||
UnhospitalAllowed = false
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Emote
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(1)
|
||||
|
||||
if EmotePlaying then
|
||||
if Config.EmoteHelp then
|
||||
NotifyHelp('You are playing an Emote, ~b~Move to Cancel')
|
||||
end
|
||||
|
||||
-- Spacebar W S A D
|
||||
if (IsControlPressed(0, 22) or IsControlPressed(0, 32) or IsControlPressed(0, 33) or IsControlPressed(0, 34) or IsControlPressed(0, 35)) then
|
||||
CancelEmote()
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
|
||||
--Commands
|
||||
Citizen.CreateThread(function()
|
||||
if EmoteRestrict() then
|
||||
local Index = 0
|
||||
local Emotes = ''
|
||||
for _, Emote in pairs(Config.EmotesList) do
|
||||
Index = Index + 1
|
||||
if Index == 1 then
|
||||
Emotes = Emotes .. Emote.name
|
||||
else
|
||||
Emotes = Emotes .. ', ' .. Emote.name
|
||||
end
|
||||
end
|
||||
|
||||
TriggerEvent('chat:addSuggestion', '/emotes', 'List of Current Avaliable Emotes')
|
||||
TriggerEvent('chat:addSuggestion', '/emote', 'Play Emote', {{name = 'Emote Name', help = 'Emotes: ' .. Emotes}})
|
||||
else
|
||||
TriggerEvent('chat:removeSuggestion', '/emotes')
|
||||
TriggerEvent('chat:removeSuggestion', '/emote')
|
||||
end
|
||||
|
||||
TriggerEvent('chat:addSuggestion', '/eng', 'Toggles Engine')
|
||||
TriggerEvent('chat:addSuggestion', '/hood', 'Toggles Vehicle\'s Hood')
|
||||
TriggerEvent('chat:addSuggestion', '/trunk', 'Toggles Vehicle\'s Trunk')
|
||||
TriggerEvent('chat:addSuggestion', '/clear', 'Clears all Weapons')
|
||||
TriggerEvent('chat:addSuggestion', '/cuff', 'Cuff Player', {{name = 'ID', help = 'Players Server ID'}})
|
||||
TriggerEvent('chat:addSuggestion', '/drag', 'Drag Player', {{name = 'ID', help = 'Players Server ID'}})
|
||||
TriggerEvent('chat:addSuggestion', '/dropweapon', 'Drops Weapon in Hand')
|
||||
TriggerEvent('chat:addSuggestion', '/loadout', 'Equips LEO Weapon Loadout')
|
||||
TriggerEvent('chat:addSuggestion', '/coords', 'Shows Current Player Coords and Heading')
|
||||
|
||||
if Config.Radar ~= 0 then
|
||||
TriggerEvent('chat:addSuggestion', '/radar', 'Toggle Radar Menu')
|
||||
end
|
||||
|
||||
if Config.LEOAccess == 3 or Config.FireAccess == 3 then
|
||||
if Config.OndutyPSWDActive then
|
||||
TriggerEvent('chat:addSuggestion', '/onduty', 'Enable LEO/Fire Menu', {{name = 'Department', help = 'LEO or Fire'}, {name = 'Password', help = 'Onduty Password'}})
|
||||
else
|
||||
TriggerEvent('chat:addSuggestion', '/onduty', 'Enable LEO/Fire Menu', {{name = 'Department', help = 'LEO or Fire'}})
|
||||
end
|
||||
else
|
||||
TriggerEvent('chat:removeSuggestion', '/onduty')
|
||||
end
|
||||
end)
|
||||
|
||||
LEOOnduty = false
|
||||
FireOnduty = false
|
||||
RegisterCommand('onduty', function(source, args, rawCommand)
|
||||
if Config.LEOAccess == 3 or Config.FireAccess == 3 then
|
||||
if Config.OndutyPSWDActive then
|
||||
if args[2] == Config.OndutyPSWD then
|
||||
local Department = args[1]:lower()
|
||||
if Department == 'leo' then
|
||||
LEOOnduty = not LEOOnduty
|
||||
if LEOOnduty then
|
||||
Notify('~g~You are onduty as an LEO')
|
||||
else
|
||||
Notify('~o~You are no longer onduty as an LEO')
|
||||
end
|
||||
elseif Department == 'fire' then
|
||||
FireOnduty = not FireOnduty
|
||||
if FireOnduty == true then
|
||||
Notify('~g~You are onduty as an Firefighter')
|
||||
else
|
||||
Notify('~o~You are no longer onduty as an Firefighter')
|
||||
end
|
||||
else
|
||||
Notify('~r~Invalid Department!')
|
||||
end
|
||||
else
|
||||
Notify('~r~Incorrect Password')
|
||||
end
|
||||
else
|
||||
local Department = args[1]:lower()
|
||||
if Department == 'leo' then
|
||||
LEOOnduty = not LEOOnduty
|
||||
if LEOOnduty then
|
||||
Notify('~g~You are onduty as an LEO')
|
||||
else
|
||||
Notify('~o~You are no longer onduty as an LEO')
|
||||
end
|
||||
elseif Department == 'fire' then
|
||||
FireOnduty = not FireOnduty
|
||||
if FireOnduty == true then
|
||||
Notify('~g~You are onduty as an Firefighter')
|
||||
else
|
||||
Notify('~o~You are no longer onduty as an Firefighter')
|
||||
end
|
||||
else
|
||||
Notify('~r~Invalid Department!')
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
function IsOndutyLEO()
|
||||
return LEOOnduty
|
||||
end
|
||||
function IsOndutyFire()
|
||||
return FireOnduty
|
||||
end
|
||||
|
||||
RegisterCommand('cuff', function(source, args, rawCommand)
|
||||
if LEORestrict() or FireRestrict() then
|
||||
if args[1] ~= nil then
|
||||
local ID = tonumber(args[1])
|
||||
if Config.CommandDistanceChecked then
|
||||
if GetDistance(source) < Config.CommandDistance then
|
||||
TriggerServerEvent('SEM_InteractionMenu:CuffNear', ID)
|
||||
else
|
||||
Notify('~r~That player is too far away')
|
||||
end
|
||||
else
|
||||
TriggerServerEvent('SEM_InteractionMenu:CuffNear', ID)
|
||||
end
|
||||
else
|
||||
TriggerServerEvent('SEM_InteractionMenu:CuffNear', GetClosestPlayer())
|
||||
end
|
||||
else
|
||||
Notify('~r~Insufficient Permissions')
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('drag', function(source, args, rawCommand)
|
||||
if LEORestrict() or FireRestrict() then
|
||||
if args[1] ~= nil then
|
||||
local ID = tonumber(args[1])
|
||||
if Config.CommandDistanceChecked then
|
||||
if GetDistance(source) < Config.CommandDistance then
|
||||
TriggerServerEvent('SEM_InteractionMenu:DragNear', ID)
|
||||
else
|
||||
Notify('~r~That player is too far away')
|
||||
end
|
||||
else
|
||||
TriggerServerEvent('SEM_InteractionMenu:DragNear', ID)
|
||||
end
|
||||
else
|
||||
TriggerServerEvent('SEM_InteractionMenu:DragNear', GetClosestPlayer())
|
||||
end
|
||||
else
|
||||
Notify('~r~Insufficient Permissions')
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('radar', function(source, args, rawCommand)
|
||||
if Config.Radar ~= 0 then
|
||||
if LEORestrict() or FireRestrict() then
|
||||
ToggleRadar()
|
||||
else
|
||||
Notify('~r~Insufficient Permissions')
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('loadout', function(source, args, rawCommand)
|
||||
if LEORestrict() then
|
||||
if args[1] then
|
||||
local RequestedLoadout = args[1]
|
||||
|
||||
for Name, Loadout in pairs(Config.LEOLoadouts) do
|
||||
if Name:lower() == RequestedLoadout:lower() then
|
||||
SetEntityHealth(GetPlayerPed(-1), 200)
|
||||
RemoveAllPedWeapons(GetPlayerPed(-1), true)
|
||||
AddArmourToPed(GetPlayerPed(-1), 100)
|
||||
|
||||
for _, Weapon in pairs(Loadout) do
|
||||
GiveWeapon(Weapon.weapon)
|
||||
|
||||
for _, Component in pairs(Weapon.components) do
|
||||
AddWeaponComponent(Weapon.weapon, Component)
|
||||
end
|
||||
end
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
Notify('~r~Invalid Loadout')
|
||||
else
|
||||
SetEntityHealth(PlayerPedId(), 200)
|
||||
RemoveAllPedWeapons(PlayerPedId(), true)
|
||||
AddArmourToPed(PlayerPedId(), 100)
|
||||
GiveWeapon('weapon_nightstick')
|
||||
GiveWeapon('weapon_flashlight')
|
||||
GiveWeapon('weapon_fireextinguisher')
|
||||
GiveWeapon('weapon_flare')
|
||||
GiveWeapon('weapon_stungun')
|
||||
GiveWeapon('weapon_combatpistol')
|
||||
AddWeaponComponent('weapon_combatpistol', 'component_at_pi_flsh')
|
||||
Notify('~g~Loadout Spawned')
|
||||
end
|
||||
else
|
||||
Notify('~r~You aren\'t an LEO')
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('hu', function(source, args, rawCommand)
|
||||
local Ped = PlayerPedId()
|
||||
if DoesEntityExist(Ped) and not HandCuffed then
|
||||
Citizen.CreateThread(function()
|
||||
LoadAnimation('random@mugging3')
|
||||
if IsEntityPlayingAnim(Ped, 'random@mugging3', 'handsup_standing_base', 3) or HandCuffed then
|
||||
ClearPedSecondaryTask(Ped)
|
||||
SetEnableHandcuffs(Ped, false)
|
||||
elseif not IsEntityPlayingAnim(Ped, 'random@mugging3', 'handsup_standing_base', 3) or not HandCuffed then
|
||||
TaskPlayAnim(Ped, 'random@mugging3', 'handsup_standing_base', 8.0, -8, -1, 49, 0, 0, 0, 0)
|
||||
SetEnableHandcuffs(Ped, true)
|
||||
end
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('huk', function(source, args, rawCommand)
|
||||
local Ped = PlayerPedId()
|
||||
if (DoesEntityExist(Ped) and not IsEntityDead(Ped)) and not HandCuffed then
|
||||
Citizen.CreateThread(function()
|
||||
LoadAnimation('random@arrests')
|
||||
if (IsEntityPlayingAnim(Ped, 'random@arrests', 'kneeling_arrest_idle', 3)) then
|
||||
TaskPlayAnim(Ped, 'random@arrests', 'kneeling_arrest_get_up', 8.0, 1.0, -1, 128, 0, 0, 0, 0)
|
||||
else
|
||||
TaskPlayAnim(Ped, 'random@arrests', 'idle_2_hands_up', 8.0, 1.0, -1, 2, 0, 0, 0, 0)
|
||||
Wait (4000)
|
||||
TaskPlayAnim(Ped, 'random@arrests', 'kneeling_arrest_idle', 8.0, 1.0, -1, 2, 0, 0, 0, 0)
|
||||
end
|
||||
end)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('dropweapon', function(source, args, rawCommand)
|
||||
local CurrentWeapon = GetSelectedPedWeapon(PlayerPedId())
|
||||
SetPedDropsInventoryWeapon(PlayerPedId(), CurrentWeapon, -2.0, 0.0, 0.5, 30)
|
||||
Notify('~r~Weapon Dropped!')
|
||||
end)
|
||||
|
||||
RegisterCommand('clear', function(source, args, rawCommand)
|
||||
SetEntityHealth(PlayerPedId(), 200)
|
||||
RemoveAllPedWeapons(PlayerPedId(), true)
|
||||
Notify('~r~All Weapons Cleared!')
|
||||
end)
|
||||
|
||||
RegisterCommand('eng', function(source, args, rawCommand)
|
||||
local Veh = GetVehiclePedIsIn(PlayerPedId(), false)
|
||||
if Veh ~= nil and Veh ~= 0 and GetPedInVehicleSeat(Veh, 0) then
|
||||
SetVehicleEngineOn(Veh, (not GetIsVehicleEngineRunning(Veh)), false, true)
|
||||
Notify('~g~Engine Toggled!')
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('hood', function(source, args, rawCommand)
|
||||
local Veh = GetVehiclePedIsIn(PlayerPedId(), false)
|
||||
|
||||
if Veh ~= nil and Veh ~= 0 and Veh ~= 1 then
|
||||
if GetVehicleDoorAngleRatio(Veh, 4) > 0 then
|
||||
SetVehicleDoorShut(Veh, 4, false)
|
||||
else
|
||||
SetVehicleDoorOpen(Veh, 4, false, false)
|
||||
end
|
||||
end
|
||||
|
||||
Notify('~g~Hood Toggled!')
|
||||
end)
|
||||
|
||||
RegisterCommand('trunk', function(source, args, rawCommand)
|
||||
local Veh = GetVehiclePedIsIn(PlayerPedId(), false)
|
||||
|
||||
if Veh ~= nil and Veh ~= 0 and Veh ~= 1 then
|
||||
if GetVehicleDoorAngleRatio(Veh, 5) > 0 then
|
||||
SetVehicleDoorShut(Veh, 5, false)
|
||||
else
|
||||
SetVehicleDoorOpen(Veh, 5, false, false)
|
||||
end
|
||||
end
|
||||
|
||||
Notify('~g~Trunk Toggled!')
|
||||
end)
|
||||
|
||||
RegisterCommand('emotes', function(source, args, rawCommand)
|
||||
if EmoteRestrict() then
|
||||
local Index = 0
|
||||
local Emotes = ''
|
||||
for _, Emote in pairs(Config.EmotesList) do
|
||||
Index = Index + 1
|
||||
if Index == 1 then
|
||||
Emotes = Emotes .. Emote.name
|
||||
else
|
||||
Emotes = Emotes .. ', ' .. Emote.name
|
||||
end
|
||||
end
|
||||
|
||||
TriggerEvent('chat:addMessage', {
|
||||
multiline = true,
|
||||
color = {255, 0 ,0},
|
||||
args = {'Emotes', '\n^r^7' .. Emotes},
|
||||
})
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('emote', function(source, args, rawCommand)
|
||||
if EmoteRestrict() then
|
||||
local SelectedEmote = args[1]
|
||||
|
||||
for _, Emote in pairs(Config.EmotesList) do
|
||||
if Emote.name == SelectedEmote then
|
||||
PlayEmote(Emote.emote, Emote.name)
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
TriggerEvent('chat:addMessage', {
|
||||
multiline = true,
|
||||
color = {255, 0, 0},
|
||||
args = {'Emotes', 'Invalid Emote!'},
|
||||
})
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterCommand('coords', function(source, args, rawCommand)
|
||||
local Coords = GetEntityCoords(PlayerPedId())
|
||||
local Heading = GetEntityHeading(PlayerPedId())
|
||||
|
||||
TriggerEvent('chatMessage', 'Coords', {255, 255, 0}, '\nX: ' .. Coords.x .. '\nY: ' .. Coords.y .. '\nZ: ' .. Coords.z .. '\nHeading: ' .. Heading)
|
||||
end)
|
||||
@@ -1,803 +0,0 @@
|
||||
--[[
|
||||
───────────────────────────────────────────────────────────────
|
||||
|
||||
SEM_InteractionMenu (config.lua) - Created by Scott M
|
||||
Current Version: v1.7.1 (Sep 2021)
|
||||
|
||||
Support: https://semdevelopment.com/discord
|
||||
|
||||
───────────────────────────────────────────────────────────────
|
||||
]]
|
||||
|
||||
|
||||
|
||||
Config = {}
|
||||
|
||||
|
||||
|
||||
---------------------------------------------------------------
|
||||
-- --
|
||||
-- Menu Features --
|
||||
-- --
|
||||
---------------------------------------------------------------
|
||||
|
||||
--This is how the version check will be displayed in the server console
|
||||
--Full = 0 [Default] | Simple = 1 | Disabled = 2
|
||||
Config.VersionChecker = 1
|
||||
|
||||
--This is how you open the menu either via a command or button
|
||||
--Button = 0 [Default] | Command = 1
|
||||
Config.OpenMenu = 0
|
||||
|
||||
--This is the button that will open the menu (If chosen at Config.OpenMenu)
|
||||
--Default = 244 [M] | To change the button check out https://docs.fivem.net/game-references/controls/
|
||||
--Controller Support for this resource is DISABLED!
|
||||
Config.MenuButton = 166
|
||||
|
||||
--This is the command that will open the menu (If chosen at Config.OpenMenu)
|
||||
Config.Command = 'policemenu'
|
||||
|
||||
--This is the width of the menu when open
|
||||
--Default = 80
|
||||
Config.MenuWidth = 80
|
||||
|
||||
--This is the position of the menu when open
|
||||
--Left = 0 [Default] | Right = 1
|
||||
Config.MenuOrientation = 0
|
||||
|
||||
--This is the title of the menu dispalyed
|
||||
--Default = The default title of the menu is 'Interaction Menu'
|
||||
--Player Name = This is the name of the player
|
||||
--Custom = This is a custom title set by you at Config.MenuTitleCustom
|
||||
--Default = 0 [Default] | Player Name = 1 | Custom = 2
|
||||
Config.MenuTitle = 0
|
||||
|
||||
--This is the custom title you can set for the menu (If chosen at Config.MenuTitle)
|
||||
Config.MenuTitleCustom = 'Custom Menu Title'
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---------------------------------------------------------------
|
||||
-- --
|
||||
-- General/Shared Features --
|
||||
-- --
|
||||
---------------------------------------------------------------
|
||||
|
||||
--This determines if the onduty password is active, if false the password will NOT be required when doing the command
|
||||
Config.OndutyPSWDActive = false
|
||||
|
||||
--This is the onduty password, only people with the password can access the menu if chosen at Config.LEOAccess/Config.FireAccess
|
||||
Config.OndutyPSWD = 'OndutyPSWD'
|
||||
|
||||
--This determines if the distance between the player using the command and the person being cuffed/dragged is checked
|
||||
Config.CommandDistanceChecked = true
|
||||
|
||||
--This determines how close you need to be to cuff/drag someone using their ID
|
||||
--Default = 50
|
||||
Config.CommandDistance = 50
|
||||
|
||||
--This determines if the stations section of the LEO & Fire menu will be visible
|
||||
--Station Locations can be set at Config.LEOStations & Config.FireStations
|
||||
Config.ShowStations = true
|
||||
|
||||
--This determines if the stations menu will have a teleport section, if set to false ONLY the waypoint option will be visible
|
||||
Config.AllowStationTeleport = true
|
||||
|
||||
--This determines if the stations set in the Config.LEOStations & Config.FireStations have blips on the map
|
||||
Config.DisplayStationBlips = true
|
||||
|
||||
--This sets where the station blips will be displayed (Mini Map / Main Map)
|
||||
--On Mini Map & Main Map = 0 [Default] | Only on Main Map = 1 | Only on Mini Map = 2
|
||||
Config.StationBlipsDispalyed = 0
|
||||
|
||||
--These are the props avaliable via the LEO & Fire menus
|
||||
Config.Props = {
|
||||
--[[
|
||||
EXAMPLE:
|
||||
{name = 'a', spawncode = 'b'},
|
||||
────────────────────────────────────────────────────────────────
|
||||
'a' is the title that shows in the menu
|
||||
'b' is the spawn code for prop that will be spawned
|
||||
]]
|
||||
{name = 'Police Barrier', spawncode = 'prop_barrier_work05'},
|
||||
{name = 'Barrier', spawncode = 'prop_barrier_work06a'},
|
||||
{name = 'Traffic Cone', spawncode = 'prop_roadcone01a'},
|
||||
{name = 'Cone', spawncode = 'prop_roadcone02b'},
|
||||
{name = 'Work Barrier', spawncode = 'prop_mp_barrier_02b'},
|
||||
{name = 'Work Barrier 2', spawncode = 'prop_barrier_work01a'},
|
||||
{name = 'Lighting', spawncode = 'prop_worklight_03b'},
|
||||
{name = 'Tent', spawncode = 'prop_gazebo_02'},
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---------------------------------------------------------------
|
||||
-- --
|
||||
-- LEO Features --
|
||||
-- --
|
||||
---------------------------------------------------------------
|
||||
|
||||
--This sets who can access the LEO menu
|
||||
--!!! NOTE: If LEO Peds is selected then onlys peds from the Config.LEOUniforms will have access to the menu
|
||||
--Disabled = 0 | Everyone = 1 [Default] | LEO Peds = 2 | Onduty Command = 3 | Ace Permissions = 4
|
||||
Config.LEOAccess = 1
|
||||
|
||||
--This determines if the radar button will be displayed
|
||||
--NOTE: Wraith Radar is the ONLY radar script that works with the menu at the moment (This also includes any editied version) - Both his old and new radar are compatiable, link below
|
||||
--[[
|
||||
Links:
|
||||
WraithRS | Advanced Radar System: https://forum.cfx.re/t/release-wraithrs-advanced-radar-system-1-0-2/48543
|
||||
Ascaped Plate Reader Edit: https://forum.cfx.re/t/release-edit-wraithrs-new-plate-reader/147269
|
||||
|
||||
Wraith ARS 2X Radar & Plate Reader: https://forum.cfx.re/t/release-wraith-ars-2x-police-radar-and-plate-reader-v1-2-4/1058277
|
||||
|
||||
**Other modified version of these resoruce should work**
|
||||
]]
|
||||
--Disabled = 0 [Default] | Wraith ARS 2x = 1 | WraithRS = 2
|
||||
Config.Radar = 0
|
||||
|
||||
--This determines when someone if cuffed if they can enter or exit a vehicle
|
||||
Config.VehEnterCuffed = false
|
||||
|
||||
--This determines if you need to unrack the carbine rifle of pumpshotun from a vehicle to obtain it
|
||||
--Disabled = 0 | Constant = 1 | Free-hand = 2 [Default]
|
||||
--Constant = Once unracked it is unable to be removed from hand until racked again in a vehicle
|
||||
--Free-hand = Once unracked it is able to be removed from hand
|
||||
Config.UnrackWeapons = 2
|
||||
|
||||
--This sets if the Jail functions will be visible in the menu
|
||||
Config.LEOJail = true
|
||||
|
||||
--This is the max time that someone can be jailed for (Seconds)
|
||||
Config.MaxJailTime = 300
|
||||
|
||||
--These is the location of the jail and release point
|
||||
Config.JailLocation = {
|
||||
Jail = {x = 1675.28, y = 2648.55, z = 45.56, h = 49.50},
|
||||
Release = {x = 1851.24, y = 2585.77, z = 45.67, h = 271.44},
|
||||
}
|
||||
|
||||
--This determines if the backup section of the LEO menu will be visible
|
||||
Config.DisplayBackup = true
|
||||
|
||||
--This sets the time between the blip being created and removed (Minutes)
|
||||
--Default = 5
|
||||
Config.BackupBlipTimeout = 5
|
||||
|
||||
--This determines if the LEO props menu will be available
|
||||
Config.DisplayProps = true
|
||||
|
||||
--These are the station available via the station menu
|
||||
Config.LEOStations = {
|
||||
{name = 'Sandy Shores', coords = {x = 1850.04, y = 3679.36, z = 34.26 , h = 208.84}},
|
||||
{name = 'Paleto Bay', coords = {x = -438.51, y = 6017.93, z = 31.49 , h = 352.90}},
|
||||
|
||||
{name = 'Mission Row', coords = {x = 432.08, y = -985.25, z = 30.71 , h = 44.02}},
|
||||
{name = 'Davis', coords = {x = 373.99, y = -1607.59, z = 29.29 , h = 192.15}},
|
||||
{name = 'Vinewood', coords = {x = 638.03, y = -1.85, z = 82.78 , h = 290.18}},
|
||||
{name = 'Vespucci', coords = {x = -1090.87, y = -807.29, z = 19.26 , h = 64.92}},
|
||||
|
||||
{name = 'NOOSE Headquarters', coords = {x = 2504.29, y = -384.11, z = 94.12, h = 264.01}},
|
||||
}
|
||||
|
||||
--This determines if the LEO Unfiroms section will be visible
|
||||
Config.DisplayLEOUniforms = true
|
||||
|
||||
--These are the LEO uniforms that are available via the loadouts - these will also be the uniforms which will give access to the LEO menu if that option if chosen at Config.LEOAccess
|
||||
Config.LEOUniforms = {
|
||||
--[[
|
||||
EXAMPLE:
|
||||
{name = 'a', spawncode = 'b'},
|
||||
────────────────────────────────────────────────────────────────
|
||||
'a' is the title that shows in the menu
|
||||
'b' is the spawn code for uniform that will be spawned
|
||||
]]
|
||||
{name = 'LSPD', spawncode = 's_m_y_cop_01'},
|
||||
{name = 'BCSO', spawncode = 's_m_y_sheriff_01'},
|
||||
{name = 'SAHP', spawncode = 's_m_y_hwaycop_01'},
|
||||
{name = 'SWAT', spawncode = 's_m_y_swat_01'},
|
||||
{name = 'Undercover', spawncode = 's_m_m_ciasec_01'},
|
||||
}
|
||||
|
||||
--This determines if the LEO Loadouts section will be visible
|
||||
Config.DisplayLEOLoadouts = true
|
||||
|
||||
--These are the weapon loadouts available via the loadouts
|
||||
Config.LEOLoadouts = {
|
||||
--[[
|
||||
EXAMPLE:
|
||||
a = {
|
||||
{weapon = 'b', components = 'c', 'c'},
|
||||
},
|
||||
────────────────────────────────────────────────────────────────
|
||||
'a' is the title of the Loadout
|
||||
'b' is the weapon which you want to be added [A link to weapon names can be found below]
|
||||
'c' is the components which you want to be added to the weapon [A link to available weapon components can be found below]
|
||||
|
||||
Weapon Names https://forum.fivem.net/t/list-of-weapon-spawn-names-after-hours/90750
|
||||
Weapon Components https://wiki.rage.mp/index.php?title=Weapons_Components
|
||||
]]
|
||||
['Standard'] = {
|
||||
{weapon = 'weapon_flashlight', components = {''}},
|
||||
{weapon = 'weapon_combatpistol', components = {'component_at_pi_flsh'}},
|
||||
{weapon = 'weapon_stungun', components = {''}},
|
||||
{weapon = 'weapon_carbinerifle', components = {'component_at_ar_flsh', 'component_at_scope_medium', 'component_at_ar_afgrip'}},
|
||||
{weapon = 'weapon_pumpshotgun', components = {'component_at_ar_flsh'}},
|
||||
{weapon = 'weapon_fireextinguisher', components = {''}},
|
||||
{weapon = 'weapon_flare', components = {''}},
|
||||
},
|
||||
|
||||
['SWAT'] = {
|
||||
{weapon = 'weapon_flashlight', components = {''}},
|
||||
{weapon = 'weapon_combatpistol', components = {'component_at_pi_flsh'}},
|
||||
{weapon = 'weapon_stungun', components = {''}},
|
||||
{weapon = 'weapon_smg', components = {'component_at_ar_flsh', 'component_ar_scope_macro_02'}},
|
||||
{weapon = 'weapon_carbinerifle', components = {'component_at_ar_flsh', 'component_at_scope_medium', 'component_at_ar_afgrip'}},
|
||||
{weapon = 'weapon_pumpshotgun', components = {'component_at_ar_flsh'}},
|
||||
{weapon = 'weapon_sniperrifle', components = {'comonent_at_scope_max'}},
|
||||
{weapon = 'weapon_bzgas', components = {''}},
|
||||
{weapon = 'weapon_fireextinguisher', components = {''}},
|
||||
{weapon = 'weapon_flare', components = {''}},
|
||||
}
|
||||
}
|
||||
|
||||
--This determines if the LEO vehicles section if available
|
||||
Config.ShowLEOVehicles = true
|
||||
|
||||
--This determines if the vehicle spawn codes are displayed next to the name
|
||||
Config.ShowLEOSpawnCode = true
|
||||
|
||||
--These are the LEO vehicles which are avaiable via the menu
|
||||
Config.LEOVehiclesCategories = {
|
||||
--[[
|
||||
EXAMPLE:
|
||||
['a'] = {
|
||||
{name = 'b', spawncode = 'c', livery = d, extras = {e, e}},
|
||||
}
|
||||
────────────────────────────────────────────────────────────────
|
||||
'a' is the title of the Category
|
||||
'b' is the title of the vehicle that shows in the menu
|
||||
'c' is the spawn code for vehicle that will be spawned
|
||||
d is the number of the livery which you want it to spawn with
|
||||
e is the number(s) of extra(s) which you want it to spawn with
|
||||
|
||||
**NOTE: Sometimes the sections do NOT display if the order in the config below**
|
||||
]]
|
||||
|
||||
['lapd'] = {
|
||||
{name = 'LAPD', spawncode = 'lapd09charger1'},
|
||||
{name = 'LAPD', spawncode = 'lapd09charger2'},
|
||||
{name = 'LAPD', spawncode = 'lapd09dual'},
|
||||
{name = 'LAPD', spawncode = 'lapd14charger'},
|
||||
{name = 'LAPD', spawncode = 'lapd14chargertd'},
|
||||
{name = 'LAPD', spawncode = 'metrocharger'},
|
||||
{name = 'LAPD', spawncode = 'lapdcvpialpr'},
|
||||
{name = 'LAPD', spawncode = 'lapdcvpithermal'},
|
||||
{name = 'LAPD', spawncode = '2005LAPDCVPI_Hybrid1'},
|
||||
{name = 'LAPD', spawncode = '2005LAPDCVPI_Hybrid2'},
|
||||
{name = 'LAPD', spawncode = '2005LAPDCVPI_HybridH'},
|
||||
{name = 'LAPD', spawncode = '2008LAPDCVPI_77th1'},
|
||||
{name = 'LAPD', spawncode = '2008LAPDCVPI_77th2'},
|
||||
{name = 'LAPD', spawncode = '2008LAPDCVPI_Hardtop1'},
|
||||
{name = 'LAPD', spawncode = '2008LAPDCVPI_Hardtop2'},
|
||||
{name = 'LAPD', spawncode = '2008LAPDCVPI_Hybrid1'},
|
||||
{name = 'LAPD', spawncode = '2008LAPDCVPI_Hybrid2'},
|
||||
{name = 'LAPD', spawncode = '2008LAPDCVPI_HybridT'},
|
||||
{name = 'LAPD', spawncode = '2008LAPDCVPI_Traffic1'},
|
||||
{name = 'LAPD', spawncode = '08hybridcvpi1'},
|
||||
{name = 'LAPD', spawncode = '08hybridcvpi2'},
|
||||
{name = 'LAPD', spawncode = '08lapdcvpi1'},
|
||||
{name = 'LAPD', spawncode = '08lapdcvpi2'},
|
||||
{name = 'LAPD', spawncode = '08lapdcvpighost'},
|
||||
{name = 'LAPD', spawncode = '08lapdcvpiharbor'},
|
||||
{name = 'LAPD', spawncode = '08lapdcvpisecsd'},
|
||||
{name = 'LAPD', spawncode = '08lapdsap'},
|
||||
{name = 'LAPD', spawncode = 'lapdtahoe08'},
|
||||
{name = 'LAPD', spawncode = 'lapd16fpiu'},
|
||||
{name = 'LAPD', spawncode = 'lapd16fpiu2'},
|
||||
{name = 'LAPD', spawncode = 'lapd16fpiusecsd'},
|
||||
{name = 'LAPD', spawncode = 'lapd16fpiutraffic'},
|
||||
{name = 'LAPD', spawncode = 'lapd16fpiutraffic2'},
|
||||
{name = 'LAPD', spawncode = 'metro16fpiu'},
|
||||
{name = 'LAPD', spawncode = 'metro16fpiu2'},
|
||||
{name = 'LAPD', spawncode = 'metro16fpiu3'},
|
||||
{name = 'LAPD', spawncode = 'lapdfpis'},
|
||||
{name = 'LAPD', spawncode = 'lapdfpis2'},
|
||||
{name = 'LAPD', spawncode = 'lapdfpis3'},
|
||||
{name = 'LAPD', spawncode = 'LAPD12000'},
|
||||
{name = 'LAPD', spawncode = '17colorado'},
|
||||
{name = 'LAPD', spawncode = 'hybrid20fpiu'},
|
||||
{name = 'LAPD', spawncode = 'lapd20fpiu'},
|
||||
{name = 'LAPD', spawncode = 'lapd20fpiu2'},
|
||||
{name = 'LAPD', spawncode = 'lapd20fpiutraffic'},
|
||||
{name = 'LAPD', spawncode = 'lapd20fpiutraffic2'},
|
||||
{name = 'LAPD', spawncode = 'SHOP00000'},
|
||||
{name = 'LAPD', spawncode = 'SHOP80693'},
|
||||
{name = 'LAPD', spawncode = 'SHOP81622'},
|
||||
{name = 'LAPD', spawncode = 'SHOP83039'},
|
||||
{name = 'LAPD', spawncode = 'SHOP89471'},
|
||||
{name = 'LAPD', spawncode = 'SHOPFPIS'},
|
||||
{name = 'LAPD', spawncode = 'BombSquadF450'},
|
||||
{name = 'LAPD', spawncode = 'lapdurango'},
|
||||
},
|
||||
|
||||
['LASD'] = {
|
||||
{name = 'LASD', spawncode = 'lasd1990caprice'},
|
||||
{name = 'LASD', spawncode = 'lasd1991caprice'},
|
||||
{name = 'LASD', spawncode = 'lasd1992'},
|
||||
{name = 'LASD', spawncode = 'lasd1993caprice'},
|
||||
{name = 'LASD', spawncode = 'lasd1993capricemerger'},
|
||||
{name = 'LASD', spawncode = 'lasd1993capriceparamount'},
|
||||
{name = 'LASD', spawncode = 'lasd1996caprice'},
|
||||
{name = 'LASD', spawncode = 'lasd1996capriceamber'},
|
||||
{name = 'LASD', spawncode = 'lasd1996capricefull'},
|
||||
{name = 'LASD', spawncode = 'LASDSEDANSford'},
|
||||
{name = 'LASD', spawncode = 'lasdtaurus'},
|
||||
{name = 'LASD', spawncode = 'lacpvic'},
|
||||
{name = 'LASD', spawncode = 'lasdcrownvic'},
|
||||
{name = 'LASD', spawncode = 'lasdlithium'},
|
||||
{name = 'LASD', spawncode = 'lasdparamount'},
|
||||
{name = 'LASD', spawncode = 'lasdsd7100'},
|
||||
{name = 'LASD', spawncode = 'lasd05cvpi'},
|
||||
{name = 'LASD', spawncode = 'lasd06cvpi'},
|
||||
{name = 'LASD', spawncode = 'lasd06cvpicarson'},
|
||||
{name = 'LASD', spawncode = 'lasd06cvpisd7100'},
|
||||
{name = 'LASD', spawncode = 'lasd08cvpi'},
|
||||
{name = 'LASD', spawncode = 'lasd08cvpilomita'},
|
||||
{name = 'LASD', spawncode = 'lasd08cvpitransit'},
|
||||
{name = 'LASD', spawncode = 'lasd1997'},
|
||||
{name = 'LASD', spawncode = 'lasd1997amber'},
|
||||
{name = 'LASD', spawncode = 'lasd1997paramount'},
|
||||
{name = 'LASD', spawncode = 'lasd1998'},
|
||||
{name = 'LASD', spawncode = 'lasd1998compton'},
|
||||
{name = 'LASD', spawncode = 'lasd1998hg'},
|
||||
{name = 'LASD', spawncode = 'lasd1998hub'},
|
||||
{name = 'LASD', spawncode = 'lasd1998temple'},
|
||||
{name = 'LASD', spawncode = 'lasd1999'},
|
||||
{name = 'LASD', spawncode = 'lasd2000'},
|
||||
{name = 'LASD', spawncode = 'lasd2000stage'},
|
||||
{name = 'LASD', spawncode = 'lasd2000two'},
|
||||
{name = 'LASD', spawncode = 'lasd2001'},
|
||||
{name = 'LASD', spawncode = 'lasd2002'},
|
||||
{name = 'LASD', spawncode = 'lasd2003'},
|
||||
{name = 'LASD', spawncode = 'LASDSEDANSdodge'},
|
||||
{name = 'LASD', spawncode = 'lasdchrg14'},
|
||||
{name = 'LASD', spawncode = 'lasd18chrg'},
|
||||
{name = 'LASD', spawncode = 'LASDSEDANSdodge'},
|
||||
{name = 'LASD', spawncode = 'fordexplorerLASDS'},
|
||||
{name = 'LASD', spawncode = 'lasd13fasap'},
|
||||
{name = 'LASD', spawncode = 'lasd13fpiu1'},
|
||||
{name = 'LASD', spawncode = 'lasd13fpiu2'},
|
||||
{name = 'LASD', spawncode = 'lasd13fpiu3'},
|
||||
{name = 'LASD', spawncode = 'lasd13fpiu4'},
|
||||
{name = 'LASD', spawncode = 'lasd13fpiu5'},
|
||||
{name = 'LASD', spawncode = 'lasd13fsfpiu'},
|
||||
{name = 'LASD', spawncode = 'lasd13funm'},
|
||||
{name = 'LASD', spawncode = 'lasd13funm2'},
|
||||
{name = 'LASD', spawncode = 'lasd13funm3'},
|
||||
{name = 'LASD', spawncode = 'lasd13funm4'},
|
||||
{name = 'LASD', spawncode = 'lasd16asap'},
|
||||
{name = 'LASD', spawncode = 'lasd16asapb'},
|
||||
{name = 'LASD', spawncode = 'lasd16asapc'},
|
||||
{name = 'LASD', spawncode = 'lasd16asapd'},
|
||||
{name = 'LASD', spawncode = 'lasd16fpiu'},
|
||||
{name = 'LASD', spawncode = 'lasd16fpiub'},
|
||||
{name = 'LASD', spawncode = 'lasd16rfr'},
|
||||
{name = 'LASD', spawncode = 'lasd16rfrb'},
|
||||
{name = 'LASD', spawncode = 'chevytahoe'},
|
||||
{name = 'LASD', spawncode = 'lasd08tahoe'},
|
||||
{name = 'LASD', spawncode = 'lasd08tahoe2'},
|
||||
{name = 'LASD', spawncode = 'lasd14tahoe'},
|
||||
{name = 'LASD', spawncode = 'lasd15tahoe'},
|
||||
{name = 'LASD', spawncode = 'lasd15tahoeb'},
|
||||
{name = 'LASD', spawncode = 'lasd15k9'},
|
||||
{name = 'LASD', spawncode = 'lasd15k9b'},
|
||||
{name = 'LASD', spawncode = 'lasd20tahoe'},
|
||||
{name = 'LASD', spawncode = 'lasd20tfs'},
|
||||
{name = 'LASD', spawncode = 'lasd20k9'},
|
||||
{name = 'LASD', spawncode = 'lasd20lp'},
|
||||
{name = 'LASD', spawncode = 'lasd23tahoe'},
|
||||
{name = 'LASD', spawncode = 'lasd23k9t'},
|
||||
{name = 'LASD', spawncode = 'lasd22tunm'},
|
||||
{name = 'LASD', spawncode = '19Yukonrb'},
|
||||
{name = 'LASD', spawncode = '19yukonslick'},
|
||||
{name = 'LASD', spawncode = 'lasd1999tahoe'},
|
||||
{name = 'LASD', spawncode = 'chevytahoe'},
|
||||
{name = 'LASD', spawncode = 'LASDTRUCKS'},
|
||||
{name = 'LASD', spawncode = '23gmcleo'},
|
||||
{name = 'LASD', spawncode = '23gmcleoslick'},
|
||||
{name = 'LASD', spawncode = '21f150'},
|
||||
{name = 'LASD', spawncode = '22f150rb'},
|
||||
{name = 'LASD', spawncode = '23f150pr'},
|
||||
{name = 'LASD', spawncode = '24tactrd'},
|
||||
{name = 'LASD', spawncode = 'f350bubba'},
|
||||
{name = 'LASD', spawncode = '14F250'},
|
||||
{name = 'LASD', spawncode = '23f150st'},
|
||||
{name = 'LASD', spawncode = 'Commandcenter'},
|
||||
{name = 'LASD', spawncode = 'commandtruck'},
|
||||
{name = 'LASD', spawncode = 'LASDTRUCKS'},
|
||||
{name = 'LASD', spawncode = 'LASDUNMARK'},
|
||||
{name = 'LASD', spawncode = 'lasdurango'},
|
||||
{name = 'LASD', spawncode = 'sebcharger'},
|
||||
{name = 'LASD', spawncode = 'sebexp'},
|
||||
{name = 'LASD', spawncode = 'sebexp2'},
|
||||
{name = 'LASD', spawncode = 'sebtahoe2'},
|
||||
{name = 'LASD', spawncode = 'lasdcharger'},
|
||||
{name = 'LASD', spawncode = 'lasdfpiu'},
|
||||
{name = 'LASD', spawncode = 'lasdsap'},
|
||||
{name = 'LASD', spawncode = 'lasdtaurus'},
|
||||
{name = 'LASD', spawncode = 'sebtahoe'},
|
||||
{name = 'LASD', spawncode = '24tactrd'},
|
||||
{name = 'LASD', spawncode = 'LASDUNMARK'},
|
||||
},
|
||||
|
||||
['CHP'] = {
|
||||
{name = 'CHP', spawncode = 'chp23charg'},
|
||||
{name = 'CHP', spawncode = 'chp23charggr'},
|
||||
{name = 'CHP', spawncode = 'chp20fpiup'},
|
||||
{name = 'CHP', spawncode = 'chp21tahoe'},
|
||||
{name = 'CHP', spawncode = 'chp211tahoe'},
|
||||
{name = 'CHP', spawncode = 'chpfpiuk9'},
|
||||
{name = 'CHP', spawncode = 'chp23durango'},
|
||||
{name = 'CHP', spawncode = 'chp23durangop'},
|
||||
{name = 'CHP', spawncode = 'chp18charger'},
|
||||
{name = 'CHP', spawncode = 'chp1200rt'},
|
||||
{name = 'CHP', spawncode = 'chp13harley'},
|
||||
{name = 'CHP', spawncode = 'chp20fpiuS'},
|
||||
{name = 'CHP', spawncode = 'chp20tahoe'},
|
||||
{name = 'CHP', spawncode = 'chp16fpiu'},
|
||||
{name = 'CHP', spawncode = 'chp181charger'},
|
||||
{name = 'CHP', spawncode = 'chp11cvpiS'},
|
||||
{name = 'CHP', spawncode = 'chp11cvpi'},
|
||||
{name = 'CHP', spawncode = 'chp18chargerS'},
|
||||
{name = 'CHP', spawncode = 'chp13fpiuS'},
|
||||
{name = 'CHP', spawncode = 'chp13fpiu'},
|
||||
{name = 'CHP', spawncode = 'chp18chargerS'},
|
||||
{name = 'CHP', spawncode = 'chp20tahoeS'},
|
||||
{name = 'CHP', spawncode = 'chp20tahoe'},
|
||||
},
|
||||
}
|
||||
|
||||
--This determines if the ai traffic manager will can accessible
|
||||
Config.DisplayTrafficManager = true
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---------------------------------------------------------------
|
||||
-- --
|
||||
-- Fire Features --
|
||||
-- --
|
||||
---------------------------------------------------------------
|
||||
|
||||
--This sets who can access the Fire menu
|
||||
--!!! NOTE: If Fire Peds is selected then onlys peds from the Config.FireUniforms will have access to the menu
|
||||
--Disabled = 0 | Everyone = 1 [Default] | Fire Peds = 2 | Onduty Command = 3 | Ace Permissions = 4
|
||||
Config.FireAccess = 1
|
||||
|
||||
--This sets if the Hospitalize functions will be visible in the menu
|
||||
Config.FireHospital = true
|
||||
|
||||
--This is the max time that someone can be hospitalized for (Seconds)
|
||||
Config.MaxHospitalTime = 300
|
||||
|
||||
--These is the location of the hospital and release point
|
||||
--I would recommend using a MLO Interior/Ymap for the hospital
|
||||
Config.HospitalLocation = {
|
||||
['Pillbox Hill'] = {
|
||||
Hospital = {x = 358.34, y = -589.98, z = 28.79, h = 257.19},
|
||||
Release = {x = 372.78, y = -595.04, z = 28.84, h = 248.29},
|
||||
},
|
||||
['Paleto Bay'] = {
|
||||
Hospital = {x = -247.34, y = 6332.39, z = 32.42 , h = 226.90},
|
||||
Release = {x = -247.34, y = 6332.39, z = 32.42 , h = 226.90},
|
||||
}
|
||||
}
|
||||
|
||||
--These are the station available via the station menu
|
||||
Config.FireStations = {
|
||||
{name = 'Sandy Shores', coords = {x = 1693.57, y = 3582.68, z = 35.62 , h = 227.29}},
|
||||
{name = 'Paleto Bay', coords = {x = -382.50, y = 6116.76, z = 31.47 , h = 7.29}},
|
||||
|
||||
{name = 'Davis', coords = {x = 201.16, y = -1631.67, z = 29.75, h = 296.67}},
|
||||
{name = 'Rockford Hill', coords = {x = -636.47, y = -117.02, z = 38.02, h = 79.64}},
|
||||
{name = 'El Burro Heights', coords = {x = 1191.83, y = -1461.74, z = 34.88, h = 329.54}},
|
||||
}
|
||||
|
||||
--These are the locations of hospitals avaiable via the hospital menu
|
||||
Config.HospitalStations = {
|
||||
{name = 'Sandy Shores', coords = {x = 1839.13, y = 3673.26, z = 34.27 , h = 210.83}},
|
||||
{name = 'Paleto Bay', coords = {x = -247.34, y = 6332.39, z = 32.42 , h = 226.90}},
|
||||
|
||||
{name = 'Pillbox', coords = {x = 357.19, y = -593.46, z = 28.78, h = 260.70}},
|
||||
{name = 'Davis', coords = {x = 294.59, y = -1448.17, z = 29.96, h = 320.92}},
|
||||
}
|
||||
|
||||
--This determines if the LEO Unfiroms section will be visible
|
||||
Config.DisplayFireUniforms = true
|
||||
|
||||
--These are the Fire uniforms that are available via the loadouts - these will also be the uniforms which will give access to the Fire menu if that option if chosen at Config.FireAccess
|
||||
Config.FireUniforms = {
|
||||
--[[
|
||||
EXAMPLE:
|
||||
{name = 'a', spawncode = 'b'},
|
||||
────────────────────────────────────────────────────────────────
|
||||
'a' is the title that shows in the menu
|
||||
'b' is the spawn code for uniform that will be spawned
|
||||
]]
|
||||
{name = 'Firefighter', spawncode = 's_m_y_fireman_01'},
|
||||
{name = 'Paramedic', spawncode = 's_m_m_paramedic_01'},
|
||||
}
|
||||
|
||||
--This determines if the LEO Loadouts section will be visible
|
||||
Config.DisplayFireLoadouts = true
|
||||
|
||||
--This determines if the Fire vehicles section if available
|
||||
Config.ShowFireVehicles = true
|
||||
|
||||
--This determines if the vehicle spawn codes are displayed next to the name
|
||||
Config.ShowFireSpawnCode = true
|
||||
|
||||
--These are the Fire vehicles which are avaiable via the menu
|
||||
Config.FireVehicles = {
|
||||
--[[
|
||||
EXAMPLE:
|
||||
{name = 'a', spawncode = 'b', livery = c, extras = {d, d}},
|
||||
────────────────────────────────────────────────────────────────
|
||||
'a' is the title of the vehicle that shows in the menu
|
||||
'b' is the spawn code for vehicle that will be spawned
|
||||
'c' is the number of the livery which you want it to spawn with
|
||||
'd' is the number(s) of extra(s) which you want it to spawn with
|
||||
|
||||
**NOTE: Sometimes the sections do NOT display if the order in the config below**
|
||||
]]
|
||||
|
||||
--These are the Vehicles that will show in the Category and there spawn codes
|
||||
{name = 'Ambulance', spawncode = 'rambulance'},
|
||||
{name = 'Ambulance', spawncode = 'ALSrescue1'},
|
||||
{name = 'Ambulance', spawncode = 'f250ambo'},
|
||||
{name = 'Ambulance', spawncode = 'CAMBO'},
|
||||
{name = 'Ambulance', spawncode = 'medic22'},
|
||||
{name = 'Ambulance', spawncode = 'amrvan'},
|
||||
{name = 'Ambulance', spawncode = '24ramambo'},
|
||||
{name = 'Ambulance', spawncode = 'e350vanb'},
|
||||
{name = 'Ambulance', spawncode = 'e450ambo'},
|
||||
{name = 'Ambulance', spawncode = '20ramambo'},
|
||||
{name = 'Fire Engine', spawncode = 'firetruk'},
|
||||
{name = 'Ambulance', spawncode = 'ambulance'},
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---------------------------------------------------------------
|
||||
-- --
|
||||
-- Civilian Features --
|
||||
-- --
|
||||
---------------------------------------------------------------
|
||||
|
||||
--This sets who can access the Civlian menu
|
||||
--!!! NOTE: If Fire Peds is selected then onlys peds from the Config.FireUniforms will have access to the menu
|
||||
--Disabled = 0 | Everyone = 1 [Default]
|
||||
Config.CivAccess = 1
|
||||
|
||||
--This determines if the Civilian vehicles section if available
|
||||
Config.ShowCivVehicles = true
|
||||
|
||||
--This determines if the vehicle spawn codes are displayed next to the name
|
||||
Config.ShowCivSpawnCode = true
|
||||
|
||||
--These are the Civilian vehicles which are avaiable via the menu
|
||||
Config.CivVehicles = {
|
||||
--[[
|
||||
EXAMPLE:
|
||||
{name = 'a', spawncode = 'b'},
|
||||
────────────────────────────────────────────────────────────────
|
||||
'a' is the title of the vehicle that shows in the menu
|
||||
'b' is the spawn code for vehicle that will be spawned
|
||||
]]
|
||||
|
||||
--These are the Vehicles that will show in the Category and there spawn codes
|
||||
{name = 'Adder', spawncode = 'adder'},
|
||||
{name = 'Baller', spawncode = 'baller'},
|
||||
}
|
||||
|
||||
--This determines if the civilian adverts sections of the menu if visible
|
||||
--NOTE: When someone sends an advert it will display the company name and then "Advertisement ##", this is the Server ID of the person that sent the advert
|
||||
Config.ShowCivAdverts = true
|
||||
|
||||
--These are the adverts that are avaiable via the ads menu
|
||||
--NOTE: You can add additional adverts from https://wiki.gtanet.work/index.php?title=Notification_Pictures
|
||||
Config.CivAdverts = {
|
||||
--[[
|
||||
EXAMPLE:
|
||||
{name = 'a', loc = 'b', file = 'c'},
|
||||
────────────────────────────────────────────────────────────────
|
||||
'a' is the title of the Adverts
|
||||
'b' is the location for the Advert's Image
|
||||
'c' is the file name for the Advert's Image
|
||||
]]
|
||||
|
||||
|
||||
|
||||
-- !!!!! Wouldn't Recommend Changing These Unless You Know What You're Doing !!!!!
|
||||
-- !!!!! Wouldn't Recommend Changing These Unless You Know What You're Doing !!!!!
|
||||
-- !!!!! Wouldn't Recommend Changing These Unless You Know What You're Doing !!!!!
|
||||
|
||||
{name = '24/7', loc = 'CHAR_FLOYD', file = '247'},
|
||||
{name = 'Ammunation', loc = 'CHAR_AMMUNATION', file = 'CHAR_AMMUNATION'},
|
||||
{name = 'Bugstars', loc = 'CHAR_BUGSTARS', file = 'CHAR_BUGSTARS'},
|
||||
{name = 'Cluckin\' Bell', loc = 'CHAR_FLOYD', file = 'BELL'},
|
||||
{name = 'Downtown Cab Co.', loc = 'CHAR_TAXI', file = 'CHAR_TAXI'},
|
||||
{name = 'Dynasty 8', loc = 'CHAR_FLOYD', file = 'D8'},
|
||||
{name = 'Fleeca Bank', loc = 'CHAR_BANK_FLEECA', file = 'CHAR_BANK_FLEECA'},
|
||||
{name = 'Gruppe6', loc = 'CHAR_FLOYD', file = 'GRUPPE6'},
|
||||
{name = 'Merry Weather', loc = 'CHAR_MP_MERRYWEATHER', file = 'CHAR_MP_MERRYWEATHER'},
|
||||
{name = 'Limited Gasoline', loc = 'CHAR_FLOYD', file = 'LTD'},
|
||||
{name = 'Liquor Ace', loc = 'CHAR_FLOYD', file = 'ACE'},
|
||||
{name = 'Smoke on the Water', loc = 'CHAR_FLOYD', file = 'SOTW'},
|
||||
{name = 'Pegasus', loc = 'CHAR_PEGASUS_DELIVERY', file = 'CHAR_PEGASUS_DELIVERY'},
|
||||
{name = 'Los Santos Customs', loc = 'CHAR_LS_CUSTOMS', file = 'CHAR_LS_CUSTOMS'},
|
||||
{name = 'Los Santos Traffic Info', loc = 'CHAR_LS_TOURIST_BOARD', file = 'CHAR_LS_TOURIST_BOARD'},
|
||||
{name = 'Los Santos Water and Power', loc = 'CHAR_FLOYD', file = 'LSWP'},
|
||||
{name = 'Mors Mutual Insurance', loc = 'CHAR_MP_MORS_MUTUAL', file = 'CHAR_MP_MORS_MUTUAL'},
|
||||
{name = 'PostOP', loc = 'CHAR_FLOYD', file = 'OP'},
|
||||
{name = 'Vanilla Unicorn', loc = 'CHAR_MP_STRIPCLUB_PR', file = 'CHAR_MP_STRIPCLUB_PR'},
|
||||
{name = 'Weazel News', loc = 'CHAR_FLOYD', file = 'NEWS'},
|
||||
{name = 'Facebook', loc = 'CHAR_FACEBOOK', file = 'CHAR_FACEBOOK'},
|
||||
{name = 'Life Invader', loc = 'CHAR_LIFEINVADER', file = 'CHAR_LIFEINVADER'},
|
||||
{name = 'YouTube', loc = 'CHAR_YOUTUBE', file = 'CHAR_YOUTUBE'},
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---------------------------------------------------------------
|
||||
-- --
|
||||
-- Vehicle Features --
|
||||
-- --
|
||||
---------------------------------------------------------------
|
||||
|
||||
--This sets when players can access the vehicle menu
|
||||
--Disabled = 0 | All the Time = 1 [Default] | When in Vehicle = 2
|
||||
Config.VehicleAccess = 1
|
||||
|
||||
--This determines if the vehicle options are avaiable, these include: Fix, Clean, Delete
|
||||
Config.VehicleOptions = true
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
---------------------------------------------------------------
|
||||
-- --
|
||||
-- Emote Features --
|
||||
-- --
|
||||
---------------------------------------------------------------
|
||||
|
||||
--This sets which players can access the emote menu
|
||||
--Disabled = 0 | Everyone = 1 [Default]
|
||||
Config.EmoteAccess = 1
|
||||
|
||||
--This sets if a help message is displayed when playing an emote
|
||||
Config.EmoteHelp = true
|
||||
|
||||
--These are the emotes avaiable via the menu and the '/emotes' & '/emote [Emote]' commands
|
||||
Config.EmotesList = {
|
||||
{name = 'binoculars', emote = 'WORLD_HUMAN_BINOCULARS'},
|
||||
{name = 'camera', emote = 'WORLD_HUMAN_PAPARAZZI'},
|
||||
{name = 'clean', emote = 'WORLD_HUMAN_MAID_CLEAN'},
|
||||
{name = 'clipboard', emote = 'WORLD_HUMAN_CLIPBOARD'},
|
||||
{name = 'coffee', emote = 'WORLD_HUMAN_AA_COFFEE'},
|
||||
{name = 'cheer', emote = 'WORLD_HUMAN_CHEERING'},
|
||||
{name = 'cop', emote = 'WORLD_HUMAN_COP_IDLES'},
|
||||
{name = 'film', emote = 'WORLD_HUMAN_MOBILE_FILM_SHOCKING'},
|
||||
{name = 'fish', emote = 'WORLD_HUMAN_STAND_FISHING'},
|
||||
{name = 'flex', emote = 'WORLD_HUMAN_MUSCLE_FLEX'},
|
||||
{name = 'guard', emote = 'WORLD_HUMAN_GUARD_STAND'},
|
||||
{name = 'hammer', emote = 'WORLD_HUMAN_HAMMERING'},
|
||||
{name = 'homeless', emote = 'WORLD_HUMAN_BUM_FREEWAY'},
|
||||
{name = 'impatient', emote = 'WORLD_HUMAN_STAND_IMPATIENT'},
|
||||
{name = 'jog', emote = 'WORLD_HUMAN_JOG_STANDING'},
|
||||
{name = 'kneel', emote = 'CODE_HUMAN_MEDIC_KNEEL'},
|
||||
{name = 'lean', emote = 'WORLD_HUMAN_LEANING'},
|
||||
{name = 'mechanic', emote = 'WORLD_HUMAN_VEHICLE_MECHANIC'},
|
||||
{name = 'medic', emote = 'CODE_HUMAN_MEDIC_TEND_TO_DEAD'},
|
||||
{name = 'music', emote = 'WORLD_HUMAN_MUSICIAN'},
|
||||
{name = 'notepad', emote = 'CODE_HUMAN_MEDIC_TIME_OF_DEATH'},
|
||||
{name = 'party', emote = 'WORLD_HUMAN_PARTYING'},
|
||||
{name = 'phone', emote = 'WORLD_HUMAN_STAND_MOBILE'},
|
||||
{name = 'phonecall', emote = 'WORLD_HUMAN_STAND_MOBILE_UPRIGHT'},
|
||||
{name = 'selfie', emote = 'WORLD_HUMAN_TOURIST_MOBILE'},
|
||||
{name = 'sit', emote = 'WORLD_HUMAN_PICNIC'},
|
||||
{name = 'sleep', emote = 'WORLD_HUMAN_BUM_SLUMPED'},
|
||||
{name = 'smoke', emote = 'WORLD_HUMAN_SMOKING'},
|
||||
{name = 'statue', emote = 'WORLD_HUMAN_HUMAN_STATUE'},
|
||||
{name = 'stupor', emote = 'WORLD_HUMAN_STUPOR'},
|
||||
{name = 'sunbathe', emote = 'WORLD_HUMAN_SUNBATHE'},
|
||||
{name = 'sunbathe2', emote = 'WORLD_HUMAN_SUNBATHE_BACK'},
|
||||
{name = 'traffic', emote = 'WORLD_HUMAN_CAR_PARK_ATTENDANT'},
|
||||
{name = 'weed', emote = 'WORLD_HUMAN_SMOKING_POT'},
|
||||
{name = 'weights', emote = 'WORLD_HUMAN_MUSCLE_FREE_WEIGHTS'},
|
||||
{name = 'weld', emote = 'WORLD_HUMAN_WELDING'},
|
||||
{name = 'yoga', emote = 'WORLD_HUMAN_YOGA'},
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,478 +0,0 @@
|
||||
--[[
|
||||
─────────────────────────────────────────────────────────────────
|
||||
|
||||
SEM_InteractionMenu (functions.lua) - Created by Scott M
|
||||
Current Version: v1.7.1 (Sep 2021)
|
||||
|
||||
Support: https://semdevelopment.com/discord
|
||||
|
||||
!!! Change vaules in the 'config.lua' !!!
|
||||
DO NOT EDIT THIS IF YOU DON'T KNOW WHAT YOU ARE DOING
|
||||
|
||||
─────────────────────────────────────────────────────────────────
|
||||
]]
|
||||
|
||||
|
||||
|
||||
--General Functions
|
||||
function Notify(Text)
|
||||
SetNotificationTextEntry('STRING')
|
||||
AddTextComponentString(Text)
|
||||
DrawNotification(true, true)
|
||||
end
|
||||
|
||||
function NotifyHelp(Text)
|
||||
SetTextComponentFormat('STRING')
|
||||
AddTextComponentString(Text)
|
||||
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
|
||||
end
|
||||
|
||||
function LoadAnimation(Dict)
|
||||
while not HasAnimDictLoaded(Dict) do
|
||||
RequestAnimDict(Dict)
|
||||
Citizen.Wait(5)
|
||||
end
|
||||
end
|
||||
|
||||
function KeyboardInput(TextEntry, MaxStringLenght)
|
||||
AddTextEntry('FMMC_KEY_TIP1', TextEntry)
|
||||
DisplayOnscreenKeyboard(1, 'FMMC_KEY_TIP1', '', '', '', '', '', MaxStringLenght)
|
||||
BlockInput = true
|
||||
|
||||
while UpdateOnscreenKeyboard() ~= 1 and UpdateOnscreenKeyboard() ~= 2 do
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
|
||||
if UpdateOnscreenKeyboard() ~= 2 then
|
||||
local Result = GetOnscreenKeyboardResult()
|
||||
Citizen.Wait(500)
|
||||
BlockInput = false
|
||||
return Result
|
||||
else
|
||||
Citizen.Wait(500)
|
||||
BlockInput = false
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
function GetClosestPlayer()
|
||||
local Ped = PlayerPedId()
|
||||
|
||||
for _, Player in ipairs(GetActivePlayers()) do
|
||||
if GetPlayerPed(Player) ~= GetPlayerPed(-1) then
|
||||
local Ped2 = GetPlayerPed(Player)
|
||||
local x, y, z = table.unpack(GetEntityCoords(Ped))
|
||||
if (GetDistanceBetweenCoords(GetEntityCoords(Ped2), x, y, z) < 2) then
|
||||
return GetPlayerServerId(Player)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Notify('~r~No Player Nearby!')
|
||||
return false
|
||||
end
|
||||
|
||||
function GetDistance(ID)
|
||||
local Ped = GetPlayerPed(-1)
|
||||
local Ped2 = GetPlayerPed(ID)
|
||||
local x, y, z = table.unpack(GetEntityCoords(Ped))
|
||||
return GetDistanceBetweenCoords(GetEntityCoords(Ped2), x, y, z)
|
||||
end
|
||||
|
||||
--LEO Functions
|
||||
function ToggleRadar()
|
||||
if Config.Radar ~= 0 then
|
||||
if IsPedInAnyVehicle(GetPlayerPed(-1)) then
|
||||
if GetVehicleClass(GetVehiclePedIsIn(GetPlayerPed(-1))) == 18 then
|
||||
if GetPedInVehicleSeat(GetVehiclePedIsIn(GetPlayerPed(-1)) == -1) then
|
||||
_MenuPool:CloseAllMenus()
|
||||
if Config.Radar == 1 then
|
||||
TriggerEvent('wk:openRemote')
|
||||
elseif Config.Radar == 2 then
|
||||
TriggerEvent('wk:radarRC')
|
||||
end
|
||||
else
|
||||
Notify('~o~You need to be in the driver seat')
|
||||
end
|
||||
else
|
||||
Notify('~o~You need to be in a police vehicle')
|
||||
end
|
||||
else
|
||||
Notify('~o~You need to be in a vehicle')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function EnableShield()
|
||||
ShieldActive = true
|
||||
local Ped = GetPlayerPed(-1)
|
||||
local PedPos = GetEntityCoords(Ped, false)
|
||||
|
||||
if IsPedInAnyVehicle(GetPlayerPed(-1), true) then
|
||||
Notify('~r~You cannot be in a vehicle when getting your shield out!')
|
||||
ShieldActive = false
|
||||
return
|
||||
end
|
||||
|
||||
RequestAnimDict('combat@gestures@gang@pistol_1h@beckon')
|
||||
while not HasAnimDictLoaded('combat@gestures@gang@pistol_1h@beckon') do
|
||||
Citizen.Wait(100)
|
||||
end
|
||||
|
||||
TaskPlayAnim(Ped, 'combat@gestures@gang@pistol_1h@beckon', '0', 8.0, -8.0, -1, (2 + 16 + 32), 0.0, 0, 0, 0)
|
||||
|
||||
RequestModel(GetHashKey('prop_ballistic_shield'))
|
||||
while not HasModelLoaded(GetHashKey('prop_ballistic_shield')) do
|
||||
Citizen.Wait(100)
|
||||
end
|
||||
|
||||
local shield = CreateObject(GetHashKey('prop_ballistic_shield'), PedPos.x, PedPos.y, PedPos.z, 1, 1, 1)
|
||||
shieldEntity = shield
|
||||
AttachEntityToEntity(shieldEntity, Ped, GetEntityBoneIndexByName(Ped, 'IK_L_Hand'), 0.0, -0.05, -0.10, -30.0, 180.0, 40.0, 0, 0, 1, 0, 0, 1)
|
||||
SetWeaponAnimationOverride(Ped, 'Gang1H')
|
||||
|
||||
if HasPedGotWeapon(Ped, 'weapon_combatpistol', 0) or GetSelectedPedWeapon(Ped) == 'weapon_combatpistol' then
|
||||
SetCurrentPedWeapon(Ped, 'weapon_combatpistol', 1)
|
||||
HadPistol = true
|
||||
else
|
||||
GiveWeaponToPed(Ped, 'weapon_combatpistol', 300, 0, 1)
|
||||
SetCurrentPedWeapon(Ped, 'weapon_combatpistol', 1)
|
||||
HadPistol = false
|
||||
end
|
||||
SetEnableHandcuffs(Ped, true)
|
||||
end
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(1)
|
||||
|
||||
if ShieldActive == true then
|
||||
DisableControlAction(1, 23, true) --F | Enter Vehicle
|
||||
DisableControlAction(1, 75, true) --F | Exit Vehicle
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
function DisableShield()
|
||||
local Ped = GetPlayerPed(-1)
|
||||
DeleteEntity(shieldEntity)
|
||||
ClearPedTasksImmediately(Ped)
|
||||
SetWeaponAnimationOverride(Ped, 'Default')
|
||||
SetCurrentPedWeapon(Ped, 'weapon_unarmed', 1)
|
||||
|
||||
if not HadPistol then
|
||||
RemoveWeaponFromPed(Ped, 'weapon_combatpistol')
|
||||
end
|
||||
SetEnableHandcuffs(Ped, false)
|
||||
HadPistol = false
|
||||
ShieldActive = false
|
||||
end
|
||||
|
||||
|
||||
|
||||
--Civ Functions
|
||||
function Ad(Text, Name, Loc, File, ID)
|
||||
SetNotificationTextEntry('STRING')
|
||||
AddTextComponentString(Text)
|
||||
EndTextCommandThefeedPostMessagetext(Loc, File, true, 1, Name, '~b~Advertisement #' .. ID)
|
||||
DrawNotification(false, true)
|
||||
end
|
||||
|
||||
|
||||
|
||||
--Vehicle Functions
|
||||
function SpawnVehicle(Veh, Name, Livery, Extras)
|
||||
local Ped = GetPlayerPed( -1 )
|
||||
if (DoesEntityExist(Ped) and not IsEntityDead(Ped)) then
|
||||
local pos = GetEntityCoords(Ped)
|
||||
if (IsPedSittingInAnyVehicle(Ped)) then
|
||||
local Vehicle = GetVehiclePedIsIn(Ped, false)
|
||||
if (GetPedInVehicleSeat(Vehicle, -1) == Ped) then
|
||||
SetEntityAsMissionEntity(Vehicle, true, true )
|
||||
DeleteVehicle(Vehicle)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local WaitTime = 0
|
||||
local Model = GetHashKey(Veh)
|
||||
RequestModel(Model)
|
||||
while not HasModelLoaded(Model) do
|
||||
CancelEvent()
|
||||
RequestModel(Model)
|
||||
Citizen.Wait(100)
|
||||
|
||||
WaitTime = WaitTime + 1
|
||||
|
||||
if WaitTime == 600 then
|
||||
CancelEvent()
|
||||
Notify('~r~Unable to load vehicle, please contact development!')
|
||||
return
|
||||
end
|
||||
end
|
||||
local x, y, z = table.unpack(GetEntityCoords(PlayerPedId(), false))
|
||||
local Vehicle = CreateVehicle(Model, x + 2, y + 2, z + 1, GetEntityHeading(PlayerPedId()), true, false)
|
||||
SetPedIntoVehicle(PlayerPedId(), Vehicle, -1)
|
||||
SetVehicleDirtLevel(Vehicle, 0)
|
||||
SetVehicleModKit(Vehicle, 0)
|
||||
SetVehicleMod(Vehicle, 23, -1, false)
|
||||
SetModelAsNoLongerNeeded(Model)
|
||||
if Livery then
|
||||
SetVehicleLivery(Vehicle, Livery)
|
||||
end
|
||||
if Extras then
|
||||
for extraId = 0, 30 do
|
||||
if DoesExtraExist(Vehicle, extraId) then
|
||||
SetVehicleExtra(Vehicle, extraId, true)
|
||||
end
|
||||
end
|
||||
for _, extra in pairs(Extras) do
|
||||
SetVehicleExtra(Vehicle, extra, false)
|
||||
end
|
||||
end
|
||||
|
||||
if Name then
|
||||
Notify('~b~Vehicle Spawned: ~g~' .. Name)
|
||||
else
|
||||
Notify('~b~Vehicle Spawned!')
|
||||
end
|
||||
end
|
||||
|
||||
function DeleteVehicle(entity)
|
||||
Citizen.InvokeNative( 0xEA386986E786A54F, Citizen.PointerValueIntInitialized(entity))
|
||||
end
|
||||
|
||||
|
||||
|
||||
--Ped Functions
|
||||
function LoadPed(Hash)
|
||||
Citizen.CreateThread(function()
|
||||
local Model = GetHashKey(Hash)
|
||||
RequestModel(Model)
|
||||
|
||||
while not HasModelLoaded(Model) do
|
||||
Wait(0)
|
||||
end
|
||||
|
||||
if HasModelLoaded(Model) then
|
||||
SetPlayerModel(PlayerId(), Model)
|
||||
else
|
||||
Notify('The model could not load - please contact development.')
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
|
||||
--Weapon Functions
|
||||
function GiveWeapon(Hash)
|
||||
GiveWeaponToPed(GetPlayerPed(-1), GetHashKey(Hash), 999, false)
|
||||
end
|
||||
|
||||
function AddWeaponComponent(WeaponHash, Component)
|
||||
if HasPedGotWeapon(GetPlayerPed(-1), GetHashKey(WeaponHash), false) then
|
||||
GiveWeaponComponentToPed(GetPlayerPed(-1), GetHashKey(WeaponHash), GetHashKey(Component))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
--Prop Functions
|
||||
function SpawnProp(Object, Name)
|
||||
local Player = PlayerPedId()
|
||||
local Coords = GetEntityCoords(Player)
|
||||
local Heading = GetEntityHeading(Player)
|
||||
|
||||
RequestModel(Object)
|
||||
while not HasModelLoaded(Object) do
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
|
||||
local OffsetCoords = GetOffsetFromEntityInWorldCoords(Player, 0.0, 0.75, 0.0)
|
||||
local Prop = CreateObjectNoOffset(Object, OffsetCoords, false, true, false)
|
||||
SetEntityHeading(Prop, Heading)
|
||||
PlaceObjectOnGroundProperly(Prop)
|
||||
SetEntityCollision(Prop, false, true)
|
||||
SetEntityAlpha(Prop, 100)
|
||||
FreezeEntityPosition(Prop, true)
|
||||
SetModelAsNoLongerNeeded(Object)
|
||||
|
||||
Notify('Press ~g~E ~w~to place\nPress ~r~R ~w~to cancel')
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
while true do
|
||||
Citizen.Wait(0)
|
||||
|
||||
local OffsetCoords = GetOffsetFromEntityInWorldCoords(Player, 0.0, 0.75, 0.0)
|
||||
local Heading = GetEntityHeading(Player)
|
||||
|
||||
SetEntityCoordsNoOffset(Prop, OffsetCoords)
|
||||
SetEntityHeading(Prop, Heading)
|
||||
PlaceObjectOnGroundProperly(Prop)
|
||||
DisableControlAction(1, 38, true) --E
|
||||
DisableControlAction(1, 140, true) --R
|
||||
|
||||
|
||||
if IsDisabledControlJustPressed(1, 38) then --E
|
||||
local PropCoords = GetEntityCoords(Prop)
|
||||
local PropHeading = GetEntityHeading(Prop)
|
||||
DeleteObject(Prop)
|
||||
|
||||
RequestModel(Object)
|
||||
while not HasModelLoaded(Object) do
|
||||
Citizen.Wait(0)
|
||||
end
|
||||
|
||||
local Prop = CreateObjectNoOffset(Object, PropCoords, true, true, true)
|
||||
SetEntityHeading(Prop, PropHeading)
|
||||
PlaceObjectOnGroundProperly(Prop)
|
||||
FreezeEntityPosition(Prop, true)
|
||||
SetEntityInvincible(Prop, true)
|
||||
SetModelAsNoLongerNeeded(Object)
|
||||
return
|
||||
end
|
||||
|
||||
if IsDisabledControlJustPressed(1, 140) then --R
|
||||
DeleteObject(Prop)
|
||||
return
|
||||
end
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
||||
function DeleteProp(Object)
|
||||
local Hash = GetHashKey(Object)
|
||||
local x, y, z = table.unpack(GetEntityCoords(PlayerPedId(), true))
|
||||
if DoesObjectOfTypeExistAtCoords(x, y, z, 1.5, Hash, true) then
|
||||
local Prop = GetClosestObjectOfType(x, y, z, 1.5, Hash, false, false, false)
|
||||
DeleteObject(Prop)
|
||||
Notify('~r~Prop Removed!')
|
||||
end
|
||||
end
|
||||
|
||||
function DeleteEntity(Entity)
|
||||
Citizen.InvokeNative(0xAE3CBE5BF394C9C9, Citizen.PointerValueIntInitialized(Entity))
|
||||
end
|
||||
|
||||
|
||||
|
||||
--Emote Functions
|
||||
function PlayEmote(Emote, Name)
|
||||
if not DoesEntityExist(GetPlayerPed(-1)) then
|
||||
return
|
||||
end
|
||||
|
||||
if IsPedInAnyVehicle(GetPlayerPed(-1)) then
|
||||
Notify('~r~Please exit the vehicle to use this emote!')
|
||||
return
|
||||
end
|
||||
|
||||
TaskStartScenarioInPlace(GetPlayerPed(-1), Emote, 0, true)
|
||||
Notify('~b~Playing Emote: ~g~' .. Name)
|
||||
EmotePlaying = true
|
||||
end
|
||||
|
||||
function CancelEmote()
|
||||
ClearPedTasks(GetPlayerPed(-1))
|
||||
Notify('~r~Stopping Emote')
|
||||
EmotePlaying = false
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
--Menu Restrictions
|
||||
function LEORestrict()
|
||||
if Config.LEOAccess == 0 then
|
||||
return false
|
||||
elseif Config.LEOAccess == 1 then
|
||||
return true
|
||||
elseif Config.LEOAccess == 2 then
|
||||
local Ped = GetEntityModel(GetPlayerPed(-1))
|
||||
|
||||
for _, LEOPeds in pairs(Config.LEOUniforms) do
|
||||
local AllowedPed = GetHashKey(LEOPeds.spawncode)
|
||||
|
||||
if Ped == AllowedPed then
|
||||
return true
|
||||
end
|
||||
end
|
||||
elseif Config.LEOAccess == 3 then
|
||||
return LEOOnduty
|
||||
elseif Config.LEOAccess == 4 then
|
||||
return LEOAce
|
||||
else
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
function FireRestrict()
|
||||
if Config.FireAccess == 0 then
|
||||
return false
|
||||
elseif Config.FireAccess == 1 then
|
||||
return true
|
||||
elseif Config.FireAccess == 2 then
|
||||
local Ped = GetEntityModel(GetPlayerPed(-1))
|
||||
|
||||
for _, FirePeds in pairs(Config.FireUniforms) do
|
||||
local AllowedPed = GetHashKey(FirePeds.spawncode)
|
||||
|
||||
if Ped == AllowedPed then
|
||||
return true
|
||||
end
|
||||
end
|
||||
elseif Config.FireAccess == 3 then
|
||||
return FireOnduty
|
||||
elseif Config.FireAccess == 4 then
|
||||
return FireAce
|
||||
else
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
function CivRestrict()
|
||||
if Config.CivAccess == 0 then
|
||||
return false
|
||||
elseif Config.CivAccess == 1 then
|
||||
return true
|
||||
else
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
function VehicleRestrict()
|
||||
if Config.VehicleAccess == 0 then
|
||||
return false
|
||||
elseif Config.VehicleAccess == 1 then
|
||||
return true
|
||||
elseif Config.VehicleAccess == 2 then
|
||||
if IsPedInAnyVehicle(GetPlayerPed(PlayerId()), false) then
|
||||
return true
|
||||
else
|
||||
return false
|
||||
end
|
||||
else
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
function EmoteRestrict()
|
||||
if Config.EmoteAccess == 0 then
|
||||
return false
|
||||
elseif Config.EmoteAccess == 1 then
|
||||
return true
|
||||
else
|
||||
return true
|
||||
end
|
||||
end
|
||||
@@ -1,43 +0,0 @@
|
||||
--[[
|
||||
──────────────────────────────────────────────────────────────────
|
||||
|
||||
SEM_InteractionMenu (fxmanifest.lua) - Created by Scott M
|
||||
Current Version: v1.7.1 (Sep 2021)
|
||||
|
||||
Support: https://semdevelopment.com/discord
|
||||
|
||||
!!! Change vaules in the 'config.lua' !!!
|
||||
DO NOT EDIT THIS IF YOU DON'T KNOW WHAT YOU ARE DOING
|
||||
|
||||
──────────────────────────────────────────────────────────────────
|
||||
]]
|
||||
|
||||
|
||||
|
||||
fx_version 'cerulean'
|
||||
games {'gta5'}
|
||||
|
||||
--DO NOT REMOVE THESE
|
||||
title 'SEM_InteractionMenu'
|
||||
description 'Multi Purpose Interaction Menu'
|
||||
author 'Scott M [SEM Development]'
|
||||
version 'v1.7.1' --This is required for the version checker, DO NOT change or remove
|
||||
|
||||
client_scripts {
|
||||
'dependencies/NativeUI.lua',
|
||||
'client.lua',
|
||||
'config.lua',
|
||||
'functions.lua',
|
||||
'menu.lua',
|
||||
}
|
||||
|
||||
server_scripts {
|
||||
'config.lua',
|
||||
'server.lua',
|
||||
'functions.lua',
|
||||
}
|
||||
|
||||
exports {
|
||||
'IsOndutyLEO',
|
||||
'IsOndutyFire',
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,246 +0,0 @@
|
||||
--[[
|
||||
───────────────────────────────────────────────────────────────
|
||||
|
||||
SEM_InteractionMenu (server.lua) - Created by Scott M
|
||||
Current Version: v1.7.1 (Sep 2021)
|
||||
|
||||
Support: https://semdevelopment.com/discord
|
||||
|
||||
!!! Change vaules in the 'config.lua' !!!
|
||||
DO NOT EDIT THIS IF YOU DON'T KNOW WHAT YOU ARE DOING
|
||||
|
||||
───────────────────────────────────────────────────────────────
|
||||
]]
|
||||
|
||||
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:GlobalChat')
|
||||
AddEventHandler('SEM_InteractionMenu:GlobalChat', function(Color, Prefix, Message)
|
||||
TriggerClientEvent('chatMessage', -1, Prefix, Color, Message)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:CuffNear')
|
||||
AddEventHandler('SEM_InteractionMenu:CuffNear', function(ID)
|
||||
if ID == -1 or ID == '-1' then
|
||||
if source ~= '' then
|
||||
print('^1[#' .. source .. '] ' .. GetPlayerName(source) .. ' - attempted to cuff all players^7')
|
||||
DropPlayer(source, '\n[SEM_InteractionMenu] Attempting to cuff all players')
|
||||
else
|
||||
print('^1Someone attempted to cuff all players^7')
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
if ID ~= false then
|
||||
TriggerClientEvent('SEM_InteractionMenu:Cuff', ID)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:DragNear')
|
||||
AddEventHandler('SEM_InteractionMenu:DragNear', function(ID)
|
||||
if ID == -1 or ID == '-1' then
|
||||
if source ~= '' then
|
||||
print('^1[#' .. source .. '] ' .. GetPlayerName(source) .. ' - attempted to drag all players^7')
|
||||
DropPlayer(source, '\n[SEM_InteractionMenu] Attempting to drag all players')
|
||||
else
|
||||
print('^1Someone attempted to drag all players^7')
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
if ID ~= false and ID ~= source then
|
||||
TriggerClientEvent('SEM_InteractionMenu:Drag', ID, source)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:SeatNear')
|
||||
AddEventHandler('SEM_InteractionMenu:SeatNear', function(ID, Vehicle)
|
||||
TriggerClientEvent('SEM_InteractionMenu:Seat', ID, Vehicle)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:UnseatNear')
|
||||
AddEventHandler('SEM_InteractionMenu:UnseatNear', function(ID, Vehicle)
|
||||
TriggerClientEvent('SEM_InteractionMenu:Unseat', ID, Vehicle)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:Jail')
|
||||
AddEventHandler('SEM_InteractionMenu:Jail', function(ID, Time)
|
||||
if ID == -1 or ID == '-1' then
|
||||
if source ~= '' then
|
||||
print('^1[#' .. source .. '] ' .. GetPlayerName(source) .. ' - attempted to jail all players^7')
|
||||
DropPlayer(source, '\n[SEM_InteractionMenu] Attempting to jail all players')
|
||||
else
|
||||
print('^1Someone attempted to jail all players^7')
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
TriggerClientEvent('SEM_InteractionMenu:JailPlayer', ID, Time)
|
||||
TriggerClientEvent('chatMessage', -1, 'Judge', {86, 96, 252}, GetPlayerName(ID) .. ' has been Jailed for ' .. Time .. ' months(s)')
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:Unjail')
|
||||
AddEventHandler('SEM_InteractionMenu:Unjail', function(ID)
|
||||
TriggerClientEvent('SEM_InteractionMenu:UnjailPlayer', ID)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:Backup')
|
||||
AddEventHandler('SEM_InteractionMenu:Backup', function(Code, StreetName, Coords)
|
||||
TriggerClientEvent('SEM_InteractionMenu:CallBackup', -1, Code, StreetName, Coords)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:Ads')
|
||||
AddEventHandler('SEM_InteractionMenu:Ads', function(Text, Name, Loc, File)
|
||||
TriggerClientEvent('SEM_InteractionMenu:SyncAds', -1, Text, Name, Loc, File, source)
|
||||
end)
|
||||
|
||||
BACList = {}
|
||||
RegisterServerEvent('SEM_InteractionMenu:BACSet')
|
||||
AddEventHandler('SEM_InteractionMenu:BACSet', function(BACLevel)
|
||||
BACList[source] = BACLevel
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:BACTest')
|
||||
AddEventHandler('SEM_InteractionMenu:BACTest', function(ID)
|
||||
local BACLevel = BACList[ID]
|
||||
TriggerClientEvent('SEM_InteractionMenu:BACResult', source, BACLevel)
|
||||
end)
|
||||
|
||||
Inventories = {}
|
||||
RegisterServerEvent('SEM_InteractionMenu:InventorySet')
|
||||
AddEventHandler('SEM_InteractionMenu:InventorySet', function(Items)
|
||||
Inventories[source] = Items
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:InventorySearch')
|
||||
AddEventHandler('SEM_InteractionMenu:InventorySearch', function(ID)
|
||||
local Inventory = Inventories[ID]
|
||||
|
||||
TriggerClientEvent('SEM_InteractionMenu:InventoryResult', source, Inventory)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:Hospitalize')
|
||||
AddEventHandler('SEM_InteractionMenu:Hospitalize', function(ID, Time, Location)
|
||||
if ID == -1 or ID == '-1' then
|
||||
if source ~= '' then
|
||||
print('^1[#' .. source .. '] ' .. GetPlayerName(source) .. ' - attempted to hospitalize all players^7')
|
||||
DropPlayer(source, '\n[SEM_InteractionMenu] Attempting to hospitalize all players')
|
||||
else
|
||||
print('^1Someone attempted to hospitalize all players^7')
|
||||
end
|
||||
|
||||
return
|
||||
end
|
||||
|
||||
TriggerClientEvent('SEM_InteractionMenu:HospitalizePlayer', ID, Time, Location)
|
||||
TriggerClientEvent('chatMessage', -1, 'Doctor', {86, 96, 252}, GetPlayerName(ID) .. ' has been Hospitalized for ' .. Time .. ' months(s)')
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:Unhospitalize')
|
||||
AddEventHandler('SEM_InteractionMenu:Unhospitalize', function(ID)
|
||||
TriggerClientEvent('SEM_InteractionMenu:UnhospitalizePlayer', ID)
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:LEOPerms')
|
||||
AddEventHandler('SEM_InteractionMenu:LEOPerms', function()
|
||||
if IsPlayerAceAllowed(source, 'sem_intmenu.leo') then
|
||||
TriggerClientEvent('SEM_InteractionMenu:LEOPermsResult', source, true)
|
||||
else
|
||||
TriggerClientEvent('SEM_InteractionMenu:LEOPermsResult', source, false)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:FirePerms')
|
||||
AddEventHandler('SEM_InteractionMenu:FirePerms', function()
|
||||
if IsPlayerAceAllowed(source, 'sem_intmenu.fire') then
|
||||
TriggerClientEvent('SEM_InteractionMenu:FirePermsResult', source, true)
|
||||
else
|
||||
TriggerClientEvent('SEM_InteractionMenu:FirePermsResult', source, false)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:UnjailPerms')
|
||||
AddEventHandler('SEM_InteractionMenu:UnjailPerms', function()
|
||||
if IsPlayerAceAllowed(source, 'sem_intmenu.unjail') then
|
||||
TriggerClientEvent('SEM_InteractionMenu:UnjailPermsResult', source, true)
|
||||
else
|
||||
TriggerClientEvent('SEM_InteractionMenu:UnjailPermsResult', source, false)
|
||||
end
|
||||
end)
|
||||
|
||||
RegisterServerEvent('SEM_InteractionMenu:UnhospitalPerms')
|
||||
AddEventHandler('SEM_InteractionMenu:UnhospitalPerms', function()
|
||||
if IsPlayerAceAllowed(source, 'sem_intmenu.unhospital') then
|
||||
TriggerClientEvent('SEM_InteractionMenu:UnhospitalPermsResult', source, true)
|
||||
else
|
||||
TriggerClientEvent('SEM_InteractionMenu:UnhospitalPermsResult', source, false)
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
local resourceName =
|
||||
[[^3
|
||||
_____ ______ _____ _____
|
||||
/ ____| | ___| | \ / |
|
||||
| (___ | |___ | |\ \ / /| |
|
||||
\___ \ | ___| | | \ \/ / | |
|
||||
____) | | |___ | | \ / | |
|
||||
\_____/ |______| |__| \__/ |__|^7
|
||||
InteractionMenu
|
||||
Created By Scott M
|
||||
]]
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
local currentVersion = GetResourceMetadata(GetCurrentResourceName(), 'version', 0)
|
||||
|
||||
function VersionCheckHTTPRequest()
|
||||
PerformHttpRequest('https://semdevelopment.com/releases/interactionmenu/info/version.json', VersionCheck, 'GET')
|
||||
end
|
||||
|
||||
function VersionCheck(err, response, headers)
|
||||
Citizen.Wait(3000)
|
||||
if err == 200 then
|
||||
local data = json.decode(response)
|
||||
|
||||
if Config.VersionChecker == 0 then
|
||||
print(resourceName)
|
||||
end
|
||||
|
||||
if currentVersion ~= data.NewestVersion then
|
||||
if Config.VersionChecker == 0 then
|
||||
print('\n ^1SEM_InteractionMenu is outdated!^7')
|
||||
print(' Latest Version: ^2' .. data.NewestVersion .. '^7')
|
||||
print(' Your Version: ^1' .. currentVersion .. '^7')
|
||||
print(' Please download the leastest version from ^5' .. data.DownloadLocation .. '^7')
|
||||
|
||||
if data.Changes ~= '' then
|
||||
print('\n ^5Changes: ^7' .. data.Changes)
|
||||
end
|
||||
elseif Config.VersionChecker == 1 then
|
||||
print('\n^1SEM_InteractionMenu is outdated!^7')
|
||||
print('Latest Version: ^2' .. data.NewestVersion .. '^7')
|
||||
print('Please download the leastest version from ^5' .. data.DownloadLocation .. '^7\n')
|
||||
end
|
||||
else
|
||||
print('\n ^2SEM_InteractionMenu is up to date!^7')
|
||||
end
|
||||
|
||||
print('\n')
|
||||
else
|
||||
print('^1SEM_InteractionMenu Version Check Failed!^7')
|
||||
end
|
||||
|
||||
SetTimeout(60000000, VersionCheckHTTPRequest)
|
||||
end
|
||||
|
||||
if Config.VersionChecker ~= 2 then
|
||||
if currentVersion then
|
||||
VersionCheckHTTPRequest()
|
||||
else
|
||||
print('^1SEM_InteractionMenu Version Check Failed!^7')
|
||||
end
|
||||
end
|
||||
end)
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6,7 +6,6 @@ Config = {
|
||||
|
||||
Config.VehicleRestrictions = {
|
||||
['EG | Helper'] = {
|
||||
|
||||
"22f150rb",
|
||||
"22silv2",
|
||||
"22silv2visor",
|
||||
@@ -24,7 +23,6 @@ Config.VehicleRestrictions = {
|
||||
"23ssjam",
|
||||
"23tahoeppvrb",
|
||||
"23tahoessvrb",
|
||||
"24sodur_ht",
|
||||
"903um",
|
||||
"2019GMCSlick",
|
||||
"2021medheli",
|
||||
@@ -80,7 +78,6 @@ Config.VehicleRestrictions = {
|
||||
"chpisuimpala",
|
||||
"chpum16fpiu",
|
||||
"dhs14norm",
|
||||
"ecsortrango",
|
||||
"EGRPBearcat",
|
||||
"f350bubba",
|
||||
"fd_drone",
|
||||
@@ -143,15 +140,6 @@ Config.VehicleRestrictions = {
|
||||
"gl_q50",
|
||||
"vcsd25piu",
|
||||
"southlandexclusive",
|
||||
"sbcsd08tahoe",
|
||||
"sbcsd13fpiu2",
|
||||
"sbcsd18tahoe",
|
||||
"sbcsd20fpiu",
|
||||
"sbcsd20fpiu2",
|
||||
"sbcsd20fpiuX",
|
||||
"sbcsd21durango",
|
||||
"sbcsdcharger",
|
||||
"sbcsdcharger2",
|
||||
"2002chpb4c",
|
||||
"umimpala",
|
||||
"valormrap",
|
||||
@@ -183,7 +171,6 @@ Config.VehicleRestrictions = {
|
||||
"lasd23tunm",
|
||||
"lasdf150u",
|
||||
"lasd2025tahoe1",
|
||||
"ocsd18dur",
|
||||
"lossantospd08impa_unm",
|
||||
"metstcvpi",
|
||||
"oocsd20fpiust",
|
||||
@@ -201,7 +188,6 @@ Config.VehicleRestrictions = {
|
||||
"19mustgtrb",
|
||||
"19mustgtrw",
|
||||
"24mustgt",
|
||||
"24sodur_ht",
|
||||
"25darkhorse",
|
||||
"615",
|
||||
"704durango",
|
||||
@@ -259,7 +245,6 @@ Config.VehicleRestrictions = {
|
||||
"nf20dur",
|
||||
"nf20exp",
|
||||
"nf21tah",
|
||||
"nforce24mustang",
|
||||
"PD23Suburban",
|
||||
"sdgcvpi",
|
||||
"seb2",
|
||||
@@ -277,8 +262,6 @@ Config.VehicleRestrictions = {
|
||||
"21durangowb",
|
||||
"21gscrb",
|
||||
"21pdrbsub",
|
||||
"21shelby",
|
||||
"24mustanggt4d",
|
||||
"128",
|
||||
"640",
|
||||
"704",
|
||||
@@ -288,7 +271,6 @@ Config.VehicleRestrictions = {
|
||||
"bccat430",
|
||||
"bcsspd",
|
||||
"BlackCt5vf",
|
||||
"breakingbadrv",
|
||||
"caddys",
|
||||
"chp2",
|
||||
"ct4vblackwing",
|
||||
@@ -344,7 +326,6 @@ Config.VehicleRestrictions = {
|
||||
"maverick2-newsmav",
|
||||
"mh60t",
|
||||
"uh1raaf-2",
|
||||
|
||||
},
|
||||
['EG | Staff'] = {
|
||||
"18challengerbw",
|
||||
@@ -369,7 +350,6 @@ Config.VehicleRestrictions = {
|
||||
"23ssjam",
|
||||
"23tahoeppvrb",
|
||||
"23tahoessvrb",
|
||||
"24sodur_ht",
|
||||
"24tactrd",
|
||||
"903um",
|
||||
"2019GMCSlick",
|
||||
@@ -493,15 +473,6 @@ Config.VehicleRestrictions = {
|
||||
"gl_q50",
|
||||
"vcsd25piu",
|
||||
"southlandexclusive",
|
||||
"sbcsd08tahoe",
|
||||
"sbcsd13fpiu2",
|
||||
"sbcsd18tahoe",
|
||||
"sbcsd20fpiu",
|
||||
"sbcsd20fpiu2",
|
||||
"sbcsd20fpiuX",
|
||||
"sbcsd21durango",
|
||||
"sbcsdcharger",
|
||||
"sbcsdcharger2",
|
||||
"2002chpb4c",
|
||||
"umimpala",
|
||||
"valormrap",
|
||||
@@ -551,7 +522,6 @@ Config.VehicleRestrictions = {
|
||||
"19mustgtrb",
|
||||
"19mustgtrw",
|
||||
"24mustgt",
|
||||
"24sodur_ht",
|
||||
"25darkhorse",
|
||||
"615",
|
||||
"704durango",
|
||||
@@ -844,15 +814,6 @@ Config.VehicleRestrictions = {
|
||||
"gl_q50",
|
||||
"vcsd25piu",
|
||||
"southlandexclusive",
|
||||
"sbcsd08tahoe",
|
||||
"sbcsd13fpiu2",
|
||||
"sbcsd18tahoe",
|
||||
"sbcsd20fpiu",
|
||||
"sbcsd20fpiu2",
|
||||
"sbcsd20fpiuX",
|
||||
"sbcsd21durango",
|
||||
"sbcsdcharger",
|
||||
"sbcsdcharger2",
|
||||
"2002chpb4c",
|
||||
"umimpala",
|
||||
"valormrap",
|
||||
@@ -1233,7 +1194,6 @@ Config.VehicleRestrictions = {
|
||||
"lasd23tunm",
|
||||
"lasdf150u",
|
||||
"lasd2025tahoe1",
|
||||
"ocsd18dur",
|
||||
"lossantospd08impa_unm",
|
||||
"metstcvpi",
|
||||
"oocsd20fpiust",
|
||||
@@ -1418,7 +1378,6 @@ Config.VehicleRestrictions = {
|
||||
"23ssjam",
|
||||
"23tahoeppvrb",
|
||||
"23tahoessvrb",
|
||||
"24sodur_ht",
|
||||
"24tactrd",
|
||||
"903um",
|
||||
"2019GMCSlick",
|
||||
@@ -1542,15 +1501,6 @@ Config.VehicleRestrictions = {
|
||||
"gl_q50",
|
||||
"vcsd25piu",
|
||||
"southlandexclusive",
|
||||
"sbcsd08tahoe",
|
||||
"sbcsd13fpiu2",
|
||||
"sbcsd18tahoe",
|
||||
"sbcsd20fpiu",
|
||||
"sbcsd20fpiu2",
|
||||
"sbcsd20fpiuX",
|
||||
"sbcsd21durango",
|
||||
"sbcsdcharger",
|
||||
"sbcsdcharger2",
|
||||
"2002chpb4c",
|
||||
"umimpala",
|
||||
"valormrap",
|
||||
@@ -1962,6 +1912,9 @@ Config.VehicleRestrictions = {
|
||||
"nxsmods21yukon",
|
||||
"nxsmods21tah",
|
||||
"nxsmods21sierra",
|
||||
|
||||
"24sodur_ht",
|
||||
|
||||
"18chargerb",
|
||||
"20Maxfdramsquad",
|
||||
"21f150",
|
||||
@@ -1974,7 +1927,6 @@ Config.VehicleRestrictions = {
|
||||
"19mustgtrb",
|
||||
"19mustgtrw",
|
||||
"24mustgt",
|
||||
"24sodur_ht",
|
||||
"25darkhorse",
|
||||
"615",
|
||||
"704durango",
|
||||
@@ -4518,7 +4470,6 @@ Config.VehicleRestrictions = {
|
||||
"nxsmods21yukon",
|
||||
"nxsmods21tah",
|
||||
"nxsmods21sierra",
|
||||
"24sodur_ht",
|
||||
"24tactrd",
|
||||
"903um",
|
||||
"2019GMCSlick",
|
||||
@@ -5217,15 +5168,6 @@ Config.VehicleRestrictions = {
|
||||
"gl_q50",
|
||||
"vcsd25piu",
|
||||
"southlandexclusive",
|
||||
"sbcsd08tahoe",
|
||||
"sbcsd13fpiu2",
|
||||
"sbcsd18tahoe",
|
||||
"sbcsd20fpiu",
|
||||
"sbcsd20fpiu2",
|
||||
"sbcsd20fpiuX",
|
||||
"sbcsd21durango",
|
||||
"sbcsdcharger",
|
||||
"sbcsdcharger2",
|
||||
"2002chpb4c",
|
||||
"umimpala",
|
||||
"valormrap",
|
||||
@@ -5380,12 +5322,10 @@ Config.VehicleRestrictions = {
|
||||
"gpd7",
|
||||
"kgbearcat",
|
||||
"lasdchrg14",
|
||||
|
||||
"19mustgtrb",
|
||||
"19mustgtrw",
|
||||
"23camsSs",
|
||||
"24mustgt",
|
||||
"24sodur_ht",
|
||||
"25darkhorse",
|
||||
"233ppv",
|
||||
"BCSO21ppv",
|
||||
@@ -5755,12 +5695,6 @@ Config.VehicleRestrictions = {
|
||||
"nxsmods21yukon",
|
||||
"nxsmods21tah",
|
||||
"nxsmods21sierra",
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
"m8gc",
|
||||
"MAX_dbs770",
|
||||
"MAX2019zrr19",
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
|
||||
|
||||
|
||||
files {
|
||||
'vehicles.meta',
|
||||
'carvariations.meta',
|
||||
'carcols.meta',
|
||||
'handling.meta',
|
||||
'vehiclelayouts.meta',
|
||||
}
|
||||
|
||||
data_file 'HANDLING_FILE' 'handling.meta'
|
||||
data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta'
|
||||
data_file 'CARCOLS_FILE' 'carcols.meta'
|
||||
data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta'
|
||||
data_file 'VEHICLE_LAYOUTS_FILE' 'vehiclelayouts.meta'
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,62 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CVehicleModelInfoVariation>
|
||||
<variationData>
|
||||
<Item>
|
||||
<modelName>ecsortrango</modelName>
|
||||
<colors>
|
||||
<Item>
|
||||
<indices content="char_array">
|
||||
0
|
||||
134
|
||||
0
|
||||
64
|
||||
64
|
||||
64
|
||||
64
|
||||
</indices>
|
||||
<liveries>
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
<Item value="false" />
|
||||
</liveries>
|
||||
</Item>
|
||||
</colors>
|
||||
<kits>
|
||||
<Item>0_default_modkit</Item>
|
||||
</kits>
|
||||
<windowsWithExposedEdges />
|
||||
<plateProbabilities>
|
||||
<Probabilities>
|
||||
<Item>
|
||||
<Name>Police guv plate</Name>
|
||||
<Value value="100" />
|
||||
</Item>
|
||||
</Probabilities>
|
||||
</plateProbabilities>
|
||||
<lightSettings value="249" />
|
||||
<sirenSettings value="5123775233"/>
|
||||
</Item>
|
||||
</variationData>
|
||||
</CVehicleModelInfoVariation>
|
||||
@@ -1,67 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<CHandlingDataMgr>
|
||||
<HandlingData>
|
||||
<Item type="CHandlingData">
|
||||
<handlingName>ecsortrango</handlingName>
|
||||
<fMass value="2104.000000" />
|
||||
<fInitialDragCoeff value="8.000000" />
|
||||
<fPercentSubmerged value="85.000000" />
|
||||
<vecCentreOfMassOffset x="0.000000" y="0.050000" z="0.000000" />
|
||||
<vecInertiaMultiplier x="1.000000" y="1.600000" z="1.400000" />
|
||||
<fDriveBiasFront value="0.600000" />
|
||||
<nInitialDriveGears value="8" />
|
||||
<fInitialDriveForce value="0.5" />
|
||||
<fDriveInertia value="0.900000" />
|
||||
<fClutchChangeRateScaleUpShift value="2.100000" />
|
||||
<fClutchChangeRateScaleDownShift value="2.100000" />
|
||||
<fInitialDriveMaxFlatVel value="178.000000" />
|
||||
<fBrakeForce value="0.900000" />
|
||||
<fBrakeBiasFront value="0.350000" />
|
||||
<fHandBrakeForce value="0.600000" />
|
||||
<fSteeringLock value="45.000000" />
|
||||
<fTractionCurveMax value="3.200000" />
|
||||
<fTractionCurveMin value="3.400000" />
|
||||
<fTractionCurveLateral value="25.000000" />
|
||||
<fTractionSpringDeltaMax value="0.150000" />
|
||||
<fLowSpeedTractionLossMult value="1.000000" />
|
||||
<fCamberStiffnesss value="0.000000" />
|
||||
<fTractionBiasFront value="0.450000" />
|
||||
<fTractionLossMult value="1.000000" />
|
||||
<fSuspensionForce value="3.000000" />
|
||||
<fSuspensionCompDamp value="1.300000" />
|
||||
<fSuspensionReboundDamp value="1.300000" />
|
||||
<fSuspensionUpperLimit value="0.110000" />
|
||||
<fSuspensionLowerLimit value="-0.120000" />
|
||||
<fSuspensionRaise value="0.000000" />
|
||||
<fSuspensionBiasFront value="0.520000" />
|
||||
<fAntiRollBarForce value="1.000000" />
|
||||
<fAntiRollBarBiasFront value="0.520000" />
|
||||
<fRollCentreHeightFront value="0.600000" />
|
||||
<fRollCentreHeightRear value="0.600000" />
|
||||
<fCollisionDamageMult value="1.000000" />
|
||||
<fWeaponDamageMult value="1.000000" />
|
||||
<fDeformationDamageMult value="0.800000" />
|
||||
<fEngineDamageMult value="1.500000" />
|
||||
<fPetrolTankVolume value="80.000000" />
|
||||
<fOilVolume value="8.000000" />
|
||||
<fSeatOffsetDistX value="0.000000" />
|
||||
<fSeatOffsetDistY value="0.000000" />
|
||||
<fSeatOffsetDistZ value="0.000000" />
|
||||
<nMonetaryValue value="50000" />
|
||||
<strModelFlags>440010</strModelFlags>
|
||||
<strHandlingFlags>0</strHandlingFlags>
|
||||
<strDamageFlags>0</strDamageFlags>
|
||||
<AIHandling>AVERAGE</AIHandling>
|
||||
<SubHandlingData>
|
||||
<Item type="CCarHandlingData">
|
||||
<fBackEndPopUpCarImpulseMult value="0.100000" />
|
||||
<fBackEndPopUpBuildingImpulseMult value="0.030000" />
|
||||
<fBackEndPopUpMaxDeltaSpeed value="0.600000" />
|
||||
</Item>
|
||||
<Item type="NULL" />
|
||||
<Item type="NULL" />
|
||||
</SubHandlingData>
|
||||
</Item>
|
||||
</HandlingData>
|
||||
</CHandlingDataMgr>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,60 +0,0 @@
|
||||
|
||||
--[[
|
||||
Ultimate Lighting Controller Config
|
||||
the ULC resource is required to use this configuration
|
||||
get the resource here: https://github.com/Flohhhhh/ultimate-lighting-controller/releases/latest
|
||||
To learn how to setup and use ULC visit here: https://docs.dwnstr.com/ulc/overview
|
||||
]]
|
||||
|
||||
return {names = {"ecsortrango"},
|
||||
steadyBurnConfig = {
|
||||
forceOn = false, useTime = false,
|
||||
disableWithLights = false,
|
||||
sbExtras = {}
|
||||
},
|
||||
parkConfig = {
|
||||
usePark = false,
|
||||
useSync = false,
|
||||
syncWith = {},
|
||||
pExtras = {},
|
||||
dExtras = {}
|
||||
},
|
||||
hornConfig = {
|
||||
useHorn = false,
|
||||
hornExtras = {},
|
||||
disableExtras = {}
|
||||
},
|
||||
brakeConfig = {
|
||||
useBrakes = false,
|
||||
speedThreshold = 3,
|
||||
brakeExtras = {},
|
||||
disableExtras = {}
|
||||
},
|
||||
reverseConfig = {
|
||||
useReverse = false,
|
||||
reverseExtras = {},
|
||||
disableExtras = {}
|
||||
},
|
||||
doorConfig = {
|
||||
useDoors = false,
|
||||
driverSide = {enable = {}, disable = {}},
|
||||
passSide = {enable = {}, disable = {}},
|
||||
trunk = {enable ={}, disable = {}}
|
||||
},
|
||||
buttons = {
|
||||
{label = "Main", key = 1, color = "green", extra = 1, linkedExtras = {2}, oppositeExtras = {}, offExtras = {}, repair = false},
|
||||
{label = "LB Cruise", key = 2, color = "green", extra = 3, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
|
||||
{label = "Cruise", key = 3, color = "green", extra = 6, linkedExtras = {10}, oppositeExtras = {}, offExtras = {}, repair = false},
|
||||
{label = "TKD", key = 4, color = "green", extra = 4, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false},
|
||||
{label = "Alley", key = 5, color = "green", extra = 5, linkedExtras = {}, oppositeExtras = {}, offExtras = {}, repair = false}
|
||||
},
|
||||
stages = {
|
||||
useStages = false,
|
||||
stageKeys = {},
|
||||
},
|
||||
defaultStages = {
|
||||
useDefaults = false,
|
||||
enableKeys = {},
|
||||
disableKeys = {}
|
||||
}
|
||||
}
|
||||
@@ -1,134 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CVehicleModelInfo__InitDataList>
|
||||
<residentTxd>vehshare</residentTxd>
|
||||
<residentAnims />
|
||||
<InitDatas>
|
||||
<Item>
|
||||
<modelName>ecsortrango</modelName>
|
||||
<txdName>ecsortrango</txdName>
|
||||
<handlingId>ecsortrango</handlingId>
|
||||
<gameName>ecsortrango</gameName>
|
||||
<vehicleMakeName>25DODGE</vehicleMakeName>
|
||||
<expressionDictName>null</expressionDictName>
|
||||
<expressionName>null</expressionName>
|
||||
<animConvRoofDictName>null</animConvRoofDictName>
|
||||
<animConvRoofName>null</animConvRoofName>
|
||||
<animConvRoofWindowsAffected />
|
||||
<ptfxAssetName>null</ptfxAssetName>
|
||||
<audioNameHash>str392m</audioNameHash>
|
||||
<layout>LAYOUT_STANDARD</layout>
|
||||
<coverBoundOffsets>CAVALCADE_COVER_OFFSET_INFO</coverBoundOffsets>
|
||||
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
|
||||
<scenarioLayout />
|
||||
<cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
|
||||
<aimCameraName>DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA</aimCameraName>
|
||||
<bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_NEAR</bonnetCameraName>
|
||||
<povCameraName>DEFAULT_POV_CAMERA_LOOKAROUND</povCameraName>
|
||||
<FirstPersonDriveByIKOffset x="0.000000" y="-0.050000" z="-0.030000" />
|
||||
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.088000" z="0.093000" />
|
||||
<FirstPersonProjectileDriveByPassengerIKOffset x="0.020000" y="0.060000" z="-0.090000" />
|
||||
<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="-0.055000" />
|
||||
<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="-0.055000" />
|
||||
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="-0.040000" />
|
||||
<FirstPersonDriveByRightPassengerIKOffset x="-0.045000" y="-0.048000" z="-0.040000" />
|
||||
<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="-0.040000" />
|
||||
<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<FirstPersonMobilePhoneOffset x="0.150000" y="0.268000" z="0.503000" />
|
||||
<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000" />
|
||||
<FirstPersonMobilePhoneSeatIKOffset>
|
||||
<Item>
|
||||
<Offset x="0.156000" y="0.223000" z="0.493000" />
|
||||
<SeatIndex value="2" />
|
||||
</Item>
|
||||
<Item>
|
||||
<Offset x="0.156000" y="0.223000" z="0.493000" />
|
||||
<SeatIndex value="3" />
|
||||
</Item>
|
||||
</FirstPersonMobilePhoneSeatIKOffset>
|
||||
<PovCameraOffset x="0.000000" y="-0.180000" z="0.620000" />
|
||||
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
|
||||
<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.030000" />
|
||||
<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.070000" />
|
||||
<vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
|
||||
<shouldUseCinematicViewMode value="true" />
|
||||
<shouldCameraTransitionOnClimbUpDown value="false" />
|
||||
<shouldCameraIgnoreExiting value="false" />
|
||||
<AllowPretendOccupants value="true" />
|
||||
<AllowJoyriding value="false" />
|
||||
<AllowSundayDriving value="false" />
|
||||
<AllowBodyColorMapping value="true" />
|
||||
<wheelScale value="0.259000" />
|
||||
<wheelScaleRear value="0.259000" />
|
||||
<dirtLevelMin value="0.000000" />
|
||||
<dirtLevelMax value="50.000000" />
|
||||
<envEffScaleMin value="0.000000" />
|
||||
<envEffScaleMax value="1.000000" />
|
||||
<envEffScaleMin2 value="0.000000" />
|
||||
<envEffScaleMax2 value="1.000000" />
|
||||
<damageMapScale value="0.900000" />
|
||||
<damageOffsetScale value="1.000000" />
|
||||
<diffuseTint value="0xD1000000" />
|
||||
<steerWheelMult value="1.000000" />
|
||||
<HDTextureDist value="5.000000" />
|
||||
<lodDistances content="float_array">
|
||||
25.000000
|
||||
40.000000
|
||||
100.000000
|
||||
150.000000
|
||||
300.000000
|
||||
500.000000
|
||||
</lodDistances>
|
||||
<minSeatHeight value="0.966" />
|
||||
<identicalModelSpawnDistance value="20" />
|
||||
<maxNumOfSameColor value="10" />
|
||||
<defaultBodyHealth value="1000.000000" />
|
||||
<pretendOccupantsScale value="1.000000" />
|
||||
<visibleSpawnDistScale value="1.000000" />
|
||||
<trackerPathWidth value="2.000000" />
|
||||
<weaponForceMult value="1.000000" />
|
||||
<frequency value="100" />
|
||||
<swankness>SWANKNESS_1</swankness>
|
||||
<maxNum value="999" />
|
||||
<flags>FLAG_USE_INTERIOR_RED_LIGHT FLAG_HAS_LIVERY FLAG_HAS_INTERIOR_EXTRAS FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_ALLOW_HATS_NO_ROOF</flags>
|
||||
<type>VEHICLE_TYPE_CAR</type>
|
||||
<plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
|
||||
<dashboardType>VDT_FEROCI</dashboardType>
|
||||
<vehicleClass>VC_EMERGENCY</vehicleClass>
|
||||
<wheelType>VWT_SPORT</wheelType>
|
||||
<trailers />
|
||||
<additionalTrailers />
|
||||
<drivers />
|
||||
<extraIncludes />
|
||||
<doorsWithCollisionWhenClosed />
|
||||
<driveableDoors />
|
||||
<bumpersNeedToCollideWithMap value="false" />
|
||||
<needsRopeTexture value="false" />
|
||||
<requiredExtras />
|
||||
<rewards />
|
||||
<cinematicPartCamera>
|
||||
<Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
|
||||
<Item>WHEEL_FRONT_LEFT_CAMERA</Item>
|
||||
<Item>WHEEL_REAR_RIGHT_CAMERA</Item>
|
||||
<Item>WHEEL_REAR_LEFT_CAMERA</Item>
|
||||
</cinematicPartCamera>
|
||||
<NmBraceOverrideSet />
|
||||
<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
|
||||
<buoyancySphereSizeScale value="1.000000" />
|
||||
<pOverrideRagdollThreshold type="NULL" />
|
||||
<firstPersonDrivebyData>
|
||||
<Item>RANGER_CAVALCADE_FRONT_LEFT</Item>
|
||||
<Item>RANGER_FRONT_RIGHT</Item>
|
||||
<Item>RANGER_PRANGER_REAR_LEFT</Item>
|
||||
<Item>RANGER_PRANGER_REAR_RIGHT</Item>
|
||||
</firstPersonDrivebyData>
|
||||
</Item>
|
||||
</InitDatas>
|
||||
<txdRelationships>
|
||||
<Item>
|
||||
<parent>vehicles_feroci_interior</parent>
|
||||
<child>16fpiu</child>
|
||||
</Item>
|
||||
</txdRelationships>
|
||||
</CVehicleModelInfo__InitDataList>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"Lua.diagnostics.disable": [
|
||||
"undefined-field",
|
||||
"need-check-nil",
|
||||
"param-type-mismatch",
|
||||
"missing-parameter"
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
-107
@@ -1,107 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<AudioWaveContainer>
|
||||
<Version value="1"/>
|
||||
<ChunkIndices value="True"/>
|
||||
<Streams>
|
||||
<Item>
|
||||
<Name>celldoor</Name>
|
||||
<FileName>celldoor.wav</FileName>
|
||||
<Chunks>
|
||||
<Item>
|
||||
<Type>peak</Type>
|
||||
</Item>
|
||||
<Item>
|
||||
<Type>data</Type>
|
||||
</Item>
|
||||
<Item>
|
||||
<Type>format</Type>
|
||||
<Codec>ADPCM</Codec>
|
||||
<Samples value="155295"/>
|
||||
<SampleRate value="32000"/>
|
||||
<Headroom value="-100"/>
|
||||
<PlayBegin value="0"/>
|
||||
<PlayEnd value="0"/>
|
||||
<LoopBegin value="0"/>
|
||||
<LoopEnd value="0"/>
|
||||
<LoopPoint value="-1"/>
|
||||
<Peak unk="0"/>
|
||||
</Item>
|
||||
</Chunks>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name>cuff</Name>
|
||||
<FileName>cuff.wav</FileName>
|
||||
<Chunks>
|
||||
<Item>
|
||||
<Type>peak</Type>
|
||||
</Item>
|
||||
<Item>
|
||||
<Type>data</Type>
|
||||
</Item>
|
||||
<Item>
|
||||
<Type>format</Type>
|
||||
<Codec>ADPCM</Codec>
|
||||
<Samples value="27085"/>
|
||||
<SampleRate value="32000"/>
|
||||
<Headroom value="-100"/>
|
||||
<PlayBegin value="0"/>
|
||||
<PlayEnd value="0"/>
|
||||
<LoopBegin value="0"/>
|
||||
<LoopEnd value="0"/>
|
||||
<LoopPoint value="-1"/>
|
||||
<Peak unk="0"/>
|
||||
</Item>
|
||||
</Chunks>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name>uncuff</Name>
|
||||
<FileName>uncuff.wav</FileName>
|
||||
<Chunks>
|
||||
<Item>
|
||||
<Type>peak</Type>
|
||||
</Item>
|
||||
<Item>
|
||||
<Type>data</Type>
|
||||
</Item>
|
||||
<Item>
|
||||
<Type>format</Type>
|
||||
<Codec>ADPCM</Codec>
|
||||
<Samples value="13622"/>
|
||||
<SampleRate value="32000"/>
|
||||
<Headroom value="-100"/>
|
||||
<PlayBegin value="0"/>
|
||||
<PlayEnd value="0"/>
|
||||
<LoopBegin value="0"/>
|
||||
<LoopEnd value="0"/>
|
||||
<LoopPoint value="-1"/>
|
||||
<Peak unk="0"/>
|
||||
</Item>
|
||||
</Chunks>
|
||||
</Item>
|
||||
<Item>
|
||||
<Name>panicbutton</Name>
|
||||
<FileName>panicbutton.wav</FileName>
|
||||
<Chunks>
|
||||
<Item>
|
||||
<Type>peak</Type>
|
||||
</Item>
|
||||
<Item>
|
||||
<Type>data</Type>
|
||||
</Item>
|
||||
<Item>
|
||||
<Type>format</Type>
|
||||
<Codec>ADPCM</Codec>
|
||||
<Samples value="77648"/>
|
||||
<SampleRate value="32000"/>
|
||||
<Headroom value="-100"/>
|
||||
<PlayBegin value="0"/>
|
||||
<PlayEnd value="0"/>
|
||||
<LoopBegin value="0"/>
|
||||
<LoopEnd value="0"/>
|
||||
<LoopPoint value="-1"/>
|
||||
<Peak unk="0"/>
|
||||
</Item>
|
||||
</Chunks>
|
||||
</Item>
|
||||
</Streams>
|
||||
</AudioWaveContainer>
|
||||
-77
@@ -1,77 +0,0 @@
|
||||
<?xml version="1.0"?>
|
||||
<Dat54>
|
||||
<Version value="7314721"/>
|
||||
<ContainerPaths>
|
||||
<Item>audiodirectory\scully_lawenforcement_sounds</Item>
|
||||
</ContainerPaths>
|
||||
<Items>
|
||||
<Item type="SimpleSound">
|
||||
<Name>celldoor_sp</Name>
|
||||
<Header>
|
||||
<Flags value="0x00008004"/>
|
||||
<Volume value="200"/>
|
||||
<Category>scripted</Category>
|
||||
</Header>
|
||||
<ContainerName>audiodirectory/scully_lawenforcement_sounds</ContainerName>
|
||||
<FileName>celldoor</FileName>
|
||||
<WaveSlotNum value="0"/>
|
||||
</Item>
|
||||
<Item type="SimpleSound">
|
||||
<Name>cuff_sp</Name>
|
||||
<Header>
|
||||
<Flags value="0x00008004"/>
|
||||
<Volume value="200"/>
|
||||
<Category>scripted</Category>
|
||||
</Header>
|
||||
<ContainerName>audiodirectory/scully_lawenforcement_sounds</ContainerName>
|
||||
<FileName>cuff</FileName>
|
||||
<WaveSlotNum value="0"/>
|
||||
</Item>
|
||||
<Item type="SimpleSound">
|
||||
<Name>uncuff_sp</Name>
|
||||
<Header>
|
||||
<Flags value="0x00008004"/>
|
||||
<Volume value="200"/>
|
||||
<Category>scripted</Category>
|
||||
</Header>
|
||||
<ContainerName>audiodirectory/scully_lawenforcement_sounds</ContainerName>
|
||||
<FileName>uncuff</FileName>
|
||||
<WaveSlotNum value="0"/>
|
||||
</Item>
|
||||
<Item type="SimpleSound">
|
||||
<Name>panicbutton_sp</Name>
|
||||
<Header>
|
||||
<Flags value="0x00008004"/>
|
||||
<Volume value="200"/>
|
||||
<Category>scripted</Category>
|
||||
</Header>
|
||||
<ContainerName>audiodirectory/scully_lawenforcement_sounds</ContainerName>
|
||||
<FileName>panicbutton</FileName>
|
||||
<WaveSlotNum value="0"/>
|
||||
</Item>
|
||||
<Item type="SoundSet">
|
||||
<Name>scully_lawenforcement_soundset</Name>
|
||||
<Header>
|
||||
<Flags value="0xAAAAAAAA"/>
|
||||
</Header>
|
||||
<SoundSets>
|
||||
<Item>
|
||||
<ScriptName>celldoor</ScriptName>
|
||||
<ChildSound>celldoor_sp</ChildSound>
|
||||
</Item>
|
||||
<Item>
|
||||
<ScriptName>cuff</ScriptName>
|
||||
<ChildSound>cuff_sp</ChildSound>
|
||||
</Item>
|
||||
<Item>
|
||||
<ScriptName>uncuff</ScriptName>
|
||||
<ChildSound>uncuff_sp</ChildSound>
|
||||
</Item>
|
||||
<Item>
|
||||
<ScriptName>panicbutton</ScriptName>
|
||||
<ChildSound>panicbutton_sp</ChildSound>
|
||||
</Item>
|
||||
</SoundSets>
|
||||
</Item>
|
||||
</Items>
|
||||
</Dat54>
|
||||
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user