ed
Before Width: | Height: | Size: 632 KiB After Width: | Height: | Size: 632 KiB |
Before Width: | Height: | Size: 632 KiB After Width: | Height: | Size: 632 KiB |
|
@ -1485,13 +1485,7 @@ CodeStudio.Products = {
|
||||||
itemName = "AR-15",
|
itemName = "AR-15",
|
||||||
itemStock = 50,
|
itemStock = 50,
|
||||||
itemPrice = 0,
|
itemPrice = 0,
|
||||||
itemInfo = "Versatile rifle with attachments",
|
itemInfo = "",
|
||||||
itemMetaData = { -- Also Supports Adding Attachement's [Example: For QBCore Server]
|
|
||||||
attachments = {
|
|
||||||
{ component = 'flashlight_attachment', label = 'Flashlight' },
|
|
||||||
{ component = 'holoscope_attachment', label = '3x Scope' },
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
['weapon_nightstick'] = {
|
['weapon_nightstick'] = {
|
||||||
itemName = "Schlagstok",
|
itemName = "Schlagstok",
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
Thank you for purchasing rtx_carry, we're grateful for your support. If you'd ever have a question and / or need our help, please reach out to us by sending an email or go ahead and create a ticket on our discord: https://discord.gg/P6KdaDpgAk
|
|
||||||
|
|
||||||
Install instructions:
|
|
||||||
1. Put rtx_carry folder to your resources
|
|
||||||
2. Configure your config.lua to your preferences
|
|
||||||
3. If you want use new carry style, remove old folder html and rename folder html_new to html
|
|
||||||
4. Put rtx_carry to the server.cfg
|
|
||||||
|
|
||||||
|
|
||||||
License agreement / Terms of Service
|
|
||||||
1. Any purchase is non-refundable.
|
|
||||||
2. Each product is to be used on a singular server, with the exception of a test server.
|
|
||||||
3. Any form of redistribution of our content is considered copyright infringement.
|
|
||||||
4. If any of these rules are broken, legal actions can be taken.
|
|
||||||
© 2024 RTX Development, all rights reserved.
|
|
|
@ -1,130 +0,0 @@
|
||||||
Config = {}
|
|
||||||
|
|
||||||
Config.Language = "Deutsch" -- text language from code
|
|
||||||
|
|
||||||
Config.Framework = "standalone" -- types (standalone, qbcore, esx)
|
|
||||||
|
|
||||||
Config.InterfaceColor = "#ff66ff" -- change interface color, color must be in hex
|
|
||||||
|
|
||||||
Config.Target = false -- enable this if you want use target
|
|
||||||
|
|
||||||
Config.Targettype = "qtarget" -- types - qtarget, qbtarget, oxtarget
|
|
||||||
|
|
||||||
Config.TargetSystemsNames = {qtarget = "qtarget", qbtarget = "qb-target", oxtarget = "ox_target"}
|
|
||||||
|
|
||||||
Config.TargetIcons = {carry1icon = "fa-solid fa-user", carry2icon = "fa-solid fa-user", carry3icon = "fa-solid fa-user"}
|
|
||||||
|
|
||||||
Config.TargetCarryTypesAllowed = { --here you can disable or enable different carry types in the target
|
|
||||||
[1] = true, -- Type 1
|
|
||||||
[2] = true, -- Type 2
|
|
||||||
[3] = true, -- Type 3
|
|
||||||
}
|
|
||||||
|
|
||||||
Config.DefaultKeyBindAccept = "y" -- carry accept key
|
|
||||||
|
|
||||||
Config.DefaultKeyBindDecline = "n" -- carry decline key
|
|
||||||
|
|
||||||
Config.CarryViaCommand = true -- You can trigger carry via event from some menu for example TriggerEvent("rtx_carry:Carry") for trigger carry with certain type selected for example TriggerEvent("rtx_carry:Carry", "1") Types 1-3
|
|
||||||
|
|
||||||
Config.CarryCommand = "carry" -- You can execute carry types withount menu /carry 1 /carry 2 /carry 3
|
|
||||||
|
|
||||||
Config.CarryMarker = true -- carry marker to requested player
|
|
||||||
|
|
||||||
Config.CarryLine = true -- carry line to requested player
|
|
||||||
|
|
||||||
Config.ReleasePlayerViaBind = true -- enable this function if you want to drop the player to the ground by pressing the button
|
|
||||||
|
|
||||||
Config.ReleasePlayerViaBindKey = "x" -- -- carry release key
|
|
||||||
|
|
||||||
Config.CarryInterfaceWhileCarryed = true -- interface when player is carryed
|
|
||||||
|
|
||||||
Config.CarryDistance = 5.0 -- maximum distance from player for carry
|
|
||||||
|
|
||||||
Config.CarryDistanceDraw = 5.0 --maximum distance of draw line and marker
|
|
||||||
|
|
||||||
Config.RequestDuration = 60 -- in seconds
|
|
||||||
|
|
||||||
Config.DisablePlayerKeyboard = false -- if you want disable player keyboard when is carryed
|
|
||||||
|
|
||||||
Config.AutoAcceptWhileDeath = false -- auto accept carry when player is death
|
|
||||||
|
|
||||||
Config.CarryDisabledInZones = false -- players cannot use carry in config zones if this is enabled
|
|
||||||
|
|
||||||
Config.CarryedPlayerCanStopCarry = true -- if carryed player can use /carry from stopping to be carryed
|
|
||||||
|
|
||||||
Config.PedTaskCancelImmediately = true -- if you want use Immediately cancel
|
|
||||||
|
|
||||||
Config.StopCarryViaEvent = false -- enable if you want stop carry via event, for example for hospital respawn -- TriggerEvent("rtx_carry:StopCarryViaEvent") -- example trigger that event when player respawn
|
|
||||||
|
|
||||||
Config.DisableRunWhileCarryPlayer = false -- disable run for player which carry someone
|
|
||||||
|
|
||||||
Config.DisableRequestSystem = false -- disable carry request system, players will accept carry automaticly
|
|
||||||
|
|
||||||
Config.DeathCustomEvent = false -- enable this if you using custom death system example qbcore, you need add this trigger event TriggerEvent("rtx_carry:PlayerIsDead", true) when player dies and you need add this trigger event TriggerEvent("rtx_carry:PlayerIsDead", false) when player is revived
|
|
||||||
|
|
||||||
Config.CarryDisabledZones = {
|
|
||||||
{coords = vector3(0.0, 0.0, 0.0), radius = 100.0},
|
|
||||||
}
|
|
||||||
|
|
||||||
Config.CarryDefaultOffsets = {
|
|
||||||
type1offset = {coords = vector3(0.30, 0.00, 0.65), rotation = vector3(0.5, 0.5, 180.0)}, --default offsets for carry type 1
|
|
||||||
type2offset = {coords = vector3(0.02, 0.4, 0.10), rotation = vector3(0.10, 0.30, 90.0)}, --default offsets for carry type 2
|
|
||||||
type3offset = {coords = vector3(0.0, -0.07, 0.45), rotation = vector3(0.5, 0.5, 0.0)}, --default offsets for carry type 3
|
|
||||||
}
|
|
||||||
|
|
||||||
Config.CarryModelOffsets = {
|
|
||||||
{
|
|
||||||
modelname = "player_one", -- ped model
|
|
||||||
type1offset = {coords = vector3(0.30, 0.00, 0.65), rotation = vector3(0.5, 0.5, 180.0)}, --offsets for carry type 1
|
|
||||||
type2offset = {coords = vector3(0.02, 0.4, 0.10), rotation = vector3(0.10, 0.30, 90.0)}, --offsets for carry type 2
|
|
||||||
type3offset = {coords = vector3(0.0, -0.07, 0.45), rotation = vector3(0.5, 0.5, 0.0)}, --offsets for carry type 3
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
||||||
Config.PlayerLoadedEvent = { -- load methods of carry
|
|
||||||
esx = "esx:playerLoaded",
|
|
||||||
qbcore = "QBCore:Client:OnPlayerLoaded",
|
|
||||||
standalone = "playerLoaded",
|
|
||||||
customevent = true, -- enable this if you dont want load carry after player loaded to server. (enable this for example for servers with multicharacter)
|
|
||||||
standaloneevent = false, -- enable this if you dont want load carry after player loaded to server. (for standalone version)
|
|
||||||
}
|
|
||||||
|
|
||||||
-- EVENTS
|
|
||||||
|
|
||||||
function Notify(text)
|
|
||||||
exports["rtx_notify"]:Notify("Carry", text, 5000, "info") -- if you get error in this line its because you dont use our notify system buy it here https://rtx.tebex.io/package/5402098 or you can use some other notify system just replace this notify line with your notify system
|
|
||||||
--exports["mythic_notify"]:SendAlert("inform", text, 5000)
|
|
||||||
end
|
|
||||||
|
|
||||||
function DisableCarryKeyboard()
|
|
||||||
DisableControlAction(0, 16, true) -- Next Weapon
|
|
||||||
DisableControlAction(0, 17, true) -- Select Previous Weapon
|
|
||||||
DisableControlAction(0, 22, true) -- Jump
|
|
||||||
DisableControlAction(0, 23, true) -- Enter vehicle
|
|
||||||
DisableControlAction(0, 24, true) -- Attack
|
|
||||||
DisableControlAction(0, 25, true) -- Aim
|
|
||||||
DisableControlAction(0, 26, true) -- Look Behind
|
|
||||||
DisableControlAction(0, 36, true) -- Input Duck/Sneak
|
|
||||||
DisableControlAction(0, 37, true) -- Weapon Wheel
|
|
||||||
DisableControlAction(0, 44, true) -- Cover
|
|
||||||
DisableControlAction(0, 47, true) -- Detonate
|
|
||||||
DisableControlAction(0, 55, true) -- Dive
|
|
||||||
DisableControlAction(0, 69, true) -- Vehicle attack
|
|
||||||
DisableControlAction(0, 73, true) -- Vehicle attack
|
|
||||||
DisableControlAction(0, 81, true) -- Next Radio (Vehicle)
|
|
||||||
DisableControlAction(0, 82, true) -- Previous Radio (Vehicle)
|
|
||||||
DisableControlAction(0, 91, true) -- Passenger Aim (Vehicle)
|
|
||||||
DisableControlAction(0, 92, true) -- Passenger Attack (Vehicle)
|
|
||||||
DisableControlAction(0, 99, true) -- Select Next Weapon (Vehicle)
|
|
||||||
DisableControlAction(0, 106, true) -- Control Override (Vehicle)
|
|
||||||
DisableControlAction(0, 114, true) -- Fly Attack (Flying)
|
|
||||||
DisableControlAction(0, 115, true) -- Next Weapon (Flying)
|
|
||||||
DisableControlAction(0, 121, true) -- Fly Camera (Flying)
|
|
||||||
DisableControlAction(0, 122, true) -- Control OVerride (Flying)
|
|
||||||
DisableControlAction(0, 135, true) -- Control OVerride (Sub)
|
|
||||||
DisableControlAction(0, 140, true) -- Melee attack light
|
|
||||||
DisableControlAction(0, 142, true) -- Attack alternate
|
|
||||||
DisableControlAction(0, 257, true) -- Attack 2
|
|
||||||
DisableControlAction(0, 30, true) -- Player Movement
|
|
||||||
DisableControlAction(0, 31, true) -- Player Movement
|
|
||||||
end
|
|
|
@ -1,43 +0,0 @@
|
||||||
fx_version 'adamant'
|
|
||||||
|
|
||||||
game 'gta5'
|
|
||||||
|
|
||||||
description 'RTX CARRY'
|
|
||||||
|
|
||||||
version '25.0'
|
|
||||||
|
|
||||||
server_scripts {
|
|
||||||
'config.lua',
|
|
||||||
'server/main.lua'
|
|
||||||
}
|
|
||||||
|
|
||||||
client_scripts {
|
|
||||||
'config.lua',
|
|
||||||
'language/main.lua',
|
|
||||||
'client/other.lua',
|
|
||||||
'client/main.lua'
|
|
||||||
}
|
|
||||||
|
|
||||||
files {
|
|
||||||
'html/ui.html',
|
|
||||||
'html/styles.css',
|
|
||||||
'html/scripts.js',
|
|
||||||
'html/debounce.min.js',
|
|
||||||
'html/BebasNeueBold.ttf',
|
|
||||||
'html/img/*.png'
|
|
||||||
}
|
|
||||||
|
|
||||||
ui_page 'html/ui.html'
|
|
||||||
|
|
||||||
exports {
|
|
||||||
'IsPlayerCarried', -- exports["rtx_carry"]:IsPlayerCarried() Through this export you can check if the player is carried
|
|
||||||
'IsPlayerCarrySomeone', -- exports["rtx_carry"]:IsPlayerCarrySomeone() Through this export you can check if the player carry someone
|
|
||||||
}
|
|
||||||
|
|
||||||
lua54 'yes'
|
|
||||||
|
|
||||||
escrow_ignore {
|
|
||||||
'config.lua',
|
|
||||||
'language/main.lua'
|
|
||||||
}
|
|
||||||
dependency '/assetpacks'
|
|
|
@ -1,9 +0,0 @@
|
||||||
/*
|
|
||||||
* jQuery throttle / debounce - v1.1 - 3/7/2010
|
|
||||||
* http://benalman.com/projects/jquery-throttle-debounce-plugin/
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010 "Cowboy" Ben Alman
|
|
||||||
* Dual licensed under the MIT and GPL licenses.
|
|
||||||
* http://benalman.com/about/license/
|
|
||||||
*/
|
|
||||||
(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);
|
|
Before Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 199 KiB |
Before Width: | Height: | Size: 183 KiB |
Before Width: | Height: | Size: 757 B |
|
@ -1,104 +0,0 @@
|
||||||
var carryresourcename = "carryresourcename";
|
|
||||||
|
|
||||||
function closeMain() {
|
|
||||||
$("body").css("display", "none");
|
|
||||||
}
|
|
||||||
function openMain() {
|
|
||||||
$("body").css("display", "block");
|
|
||||||
}
|
|
||||||
|
|
||||||
$(".closetypemenu").click(function(){
|
|
||||||
$.post('http://'+carryresourcename+'/closetypeselect', JSON.stringify({}));
|
|
||||||
});
|
|
||||||
|
|
||||||
window.addEventListener('message', function (event) {
|
|
||||||
|
|
||||||
var item = event.data;
|
|
||||||
|
|
||||||
if (item.message == "showcarryrequestreceiever") {
|
|
||||||
$('#carryrequester').hide();
|
|
||||||
$('#carryed').hide();
|
|
||||||
$('#carrytype').hide();
|
|
||||||
$('#carryreceiever').show();
|
|
||||||
openMain();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.message == "showcarryrequestrequester") {
|
|
||||||
$('#carryreceiever').hide();
|
|
||||||
$('#carryed').hide();
|
|
||||||
$('#carrytype').hide();
|
|
||||||
$('#carryrequester').show();
|
|
||||||
document.getElementById("secondsremainingrequest").innerHTML = item.remainingseconds;
|
|
||||||
openMain();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.message == "showcarryed") {
|
|
||||||
$('#carryreceiever').hide();
|
|
||||||
$('#carryrequester').hide();
|
|
||||||
$('#carrytype').hide();
|
|
||||||
$('#carryed').show();
|
|
||||||
openMain();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.message == "hidecarryed") {
|
|
||||||
$('#carryreceiever').hide();
|
|
||||||
$('#carryrequester').hide();
|
|
||||||
$('#carrytype').hide();
|
|
||||||
$('#carryed').hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.message == "showtypes") {
|
|
||||||
$('#carryreceiever').hide();
|
|
||||||
$('#carryrequester').hide();
|
|
||||||
$('#carryed').hide();
|
|
||||||
$('#carrytype').show();
|
|
||||||
openMain();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.message == "hide") {
|
|
||||||
closeMain();
|
|
||||||
$('#carryreceiever').hide();
|
|
||||||
$('#carryrequester').hide();
|
|
||||||
$('#carrytype').hide();
|
|
||||||
$('#carryed').hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.message == "updateinterfacedata") {
|
|
||||||
carryresourcename = item.carryresouredata;
|
|
||||||
let root = document.documentElement;
|
|
||||||
root.style.setProperty('--color', item.interfacecolordata);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
$(".carry1select").click(function () {
|
|
||||||
closeMain();
|
|
||||||
$('#carryreceiever').hide();
|
|
||||||
$('#carryrequester').hide();
|
|
||||||
$('#carryed').hide();
|
|
||||||
$('#carrytype').hide();
|
|
||||||
$.post('http://'+carryresourcename+'/selecttype', JSON.stringify({
|
|
||||||
carrytype: "type1"
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
|
|
||||||
$(".carry2select").click(function () {
|
|
||||||
closeMain();
|
|
||||||
$('#carryreceiever').hide();
|
|
||||||
$('#carryrequester').hide();
|
|
||||||
$('#carryed').hide();
|
|
||||||
$('#carrytype').hide();
|
|
||||||
$.post('http://'+carryresourcename+'/selecttype', JSON.stringify({
|
|
||||||
carrytype: "type2"
|
|
||||||
}));
|
|
||||||
});
|
|
||||||
|
|
||||||
$(".carry3select").click(function () {
|
|
||||||
closeMain();
|
|
||||||
$('#carryreceiever').hide();
|
|
||||||
$('#carryrequester').hide();
|
|
||||||
$('#carryed').hide();
|
|
||||||
$('#carrytype').hide();
|
|
||||||
$.post('http://'+carryresourcename+'/selecttype', JSON.stringify({
|
|
||||||
carrytype: "type3"
|
|
||||||
}));
|
|
||||||
});
|
|
|
@ -1,390 +0,0 @@
|
||||||
:root {
|
|
||||||
--color: var(--color);
|
|
||||||
}
|
|
||||||
|
|
||||||
@import url('https://kit-pro.fontawesome.com/releases/v5.11.2/css/pro.min.css');
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: BebasNeueBold;
|
|
||||||
src: url(BebasNeueBold.ttf);
|
|
||||||
}
|
|
||||||
|
|
||||||
*{
|
|
||||||
user-select: none; /* supported by Chrome and Opera */
|
|
||||||
-webkit-user-select: none; /* Safari */
|
|
||||||
-khtml-user-select: none; /* Konqueror HTML */
|
|
||||||
-moz-user-select: none; /* Firefox */
|
|
||||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
||||||
}
|
|
||||||
|
|
||||||
*{
|
|
||||||
user-select: none; /* supported by Chrome and Opera */
|
|
||||||
-webkit-user-select: none; /* Safari */
|
|
||||||
-khtml-user-select: none; /* Konqueror HTML */
|
|
||||||
-moz-user-select: none; /* Firefox */
|
|
||||||
-ms-user-select: none; /* Internet Explorer/Edge */
|
|
||||||
}
|
|
||||||
|
|
||||||
html {
|
|
||||||
overflow: hidden;
|
|
||||||
font-family: 'Open Sans', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
body{
|
|
||||||
display: none;
|
|
||||||
color: #a8a8aa;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytype1 {
|
|
||||||
background-color: rgba(0, 0, 0, 1);
|
|
||||||
border: 2px solid var(--color);
|
|
||||||
width: 25%;
|
|
||||||
height: 60%;
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 60%;
|
|
||||||
left: 18%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 9999999;
|
|
||||||
padding: 1.7%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytype1 img {
|
|
||||||
position: absolute;
|
|
||||||
width: 65%;
|
|
||||||
height: 65%;
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
z-index: 9999999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carry1select {
|
|
||||||
position: absolute;
|
|
||||||
margin: 0;
|
|
||||||
background-color: rgba(0, 0, 0, 1);
|
|
||||||
border: 2px solid var(--color);
|
|
||||||
color: #ffffff;
|
|
||||||
font-size: 30px;
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
text-decoration: none;
|
|
||||||
text-align: center;
|
|
||||||
left: 50%;
|
|
||||||
top: 90%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carry1select:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
background: var(--color);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytype2 {
|
|
||||||
background-color: rgba(0, 0, 0, 1);
|
|
||||||
border: 2px solid var(--color);
|
|
||||||
width: 25%;
|
|
||||||
height: 60%;
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 60%;
|
|
||||||
left: 50%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 9999999;
|
|
||||||
padding: 1.7%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytype2 img {
|
|
||||||
position: absolute;
|
|
||||||
width: 65%;
|
|
||||||
height: 65%;
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
z-index: 9999999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carry2select {
|
|
||||||
position: absolute;
|
|
||||||
margin: 0;
|
|
||||||
background-color: rgba(0, 0, 0, 1);
|
|
||||||
border: 2px solid var(--color);
|
|
||||||
color: #ffffff;
|
|
||||||
font-size: 30px;
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
text-decoration: none;
|
|
||||||
text-align: center;
|
|
||||||
left: 50%;
|
|
||||||
top: 90%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carry2select:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
background: var(--color);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytype3 {
|
|
||||||
background-color: rgba(0, 0, 0, 1);
|
|
||||||
border: 2px solid var(--color);
|
|
||||||
width: 25%;
|
|
||||||
height: 60%;
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 60%;
|
|
||||||
left: 82%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 9999999;
|
|
||||||
padding: 1.7%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytype3 img {
|
|
||||||
position: absolute;
|
|
||||||
width: 65%;
|
|
||||||
height: 65%;
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
z-index: 9999999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carry3select {
|
|
||||||
position: absolute;
|
|
||||||
margin: 0;
|
|
||||||
background-color: rgba(0, 0, 0, 1);
|
|
||||||
border: 2px solid var(--color);
|
|
||||||
color: #ffffff;
|
|
||||||
font-size: 30px;
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
padding-left: 8px;
|
|
||||||
padding-right: 8px;
|
|
||||||
text-decoration: none;
|
|
||||||
text-align: center;
|
|
||||||
left: 50%;
|
|
||||||
top: 90%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
width: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carry3select:hover {
|
|
||||||
cursor: pointer;
|
|
||||||
background: var(--color);
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytextheader {
|
|
||||||
padding-top: 10px;
|
|
||||||
font-size: 35px;
|
|
||||||
color: var(--color);
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytextkey {
|
|
||||||
padding-bottom: 10px;
|
|
||||||
font-size: 35px;
|
|
||||||
color: #ffffff;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytextmain {
|
|
||||||
font-size: 30px;
|
|
||||||
color: #ffffff;
|
|
||||||
text-align:center;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4{
|
|
||||||
text-align:center;
|
|
||||||
margin-top: 20px;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:focus,
|
|
||||||
input:focus {
|
|
||||||
outline:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.container {
|
|
||||||
color: #ffffff;
|
|
||||||
font-size: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.full-screen {
|
|
||||||
width: 100%;
|
|
||||||
height:100%;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.btnQuit {
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.closetypemenu {
|
|
||||||
position: absolute;
|
|
||||||
left: 98%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
top: 3.5%
|
|
||||||
}
|
|
||||||
|
|
||||||
.carryrequest-container {
|
|
||||||
width: 25%;
|
|
||||||
background-color: rgba(0, 0, 0, 0.70);
|
|
||||||
border: 1px solid var(--color);
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 85%;
|
|
||||||
left: 85%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 10px;
|
|
||||||
z-index: 9999999;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carryrequester-container {
|
|
||||||
width: 25%;
|
|
||||||
background-color: rgba(0, 0, 0, 0.70);
|
|
||||||
border: 1px solid var(--color);
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 85%;
|
|
||||||
left: 85%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 10px;
|
|
||||||
z-index: 9999999;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrysomeone-container {
|
|
||||||
width: 25%;
|
|
||||||
background-color: rgba(0, 0, 0, 0.70);
|
|
||||||
border: 1px solid var(--color);
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 85%;
|
|
||||||
left: 85%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 10px;
|
|
||||||
z-index: 9999999;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carryrequest-container {
|
|
||||||
width: 25%;
|
|
||||||
background-color: rgba(0, 0, 0, 0.70);
|
|
||||||
border: 1px solid var(--color);
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 85%;
|
|
||||||
left: 85%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
padding: 10px;
|
|
||||||
z-index: 9999999;
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.carrytype-container {
|
|
||||||
width: 70%;
|
|
||||||
height: 50%;
|
|
||||||
background-color: rgba(0, 0, 0, 0.70);
|
|
||||||
border: 3px solid var(--color);
|
|
||||||
margin: 0;
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 9999999;
|
|
||||||
padding-bottom:7%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.CarryTypeMenuHeaderText {
|
|
||||||
position: absolute;
|
|
||||||
margin: 0;
|
|
||||||
font-size: 50px;
|
|
||||||
color: #ffffff;
|
|
||||||
text-align: center;
|
|
||||||
top: 12.5%;
|
|
||||||
left: 50%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 9999999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.headercarrymenu {
|
|
||||||
position: absolute;
|
|
||||||
width:100%;
|
|
||||||
height: 2%;
|
|
||||||
color: #ffffff;
|
|
||||||
display: flex;
|
|
||||||
background-color: rgba(0, 0, 0, 1);
|
|
||||||
border-bottom: 3px solid var(--color);
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
padding-bottom:5%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
top: 3.5%;
|
|
||||||
left: 50%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.HeaderCarryMenuText {
|
|
||||||
position: absolute;
|
|
||||||
margin: 0;
|
|
||||||
font-size: 32px;
|
|
||||||
color: #ffffff;
|
|
||||||
text-align: center;
|
|
||||||
top: 50%;
|
|
||||||
left: 50%;
|
|
||||||
margin-right: -50%;
|
|
||||||
transform: translate(-50%, -50%);
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 9999999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.body {
|
|
||||||
overflow: auto;
|
|
||||||
width: 100%;
|
|
||||||
height: 90%;
|
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
flex-wrap: wrap;
|
|
||||||
font-family: BebasNeueBold;
|
|
||||||
}
|
|
||||||
|
|
||||||
*{
|
|
||||||
font-family: BebasNeueBold;
|
|
||||||
}
|
|
|
@ -1,53 +0,0 @@
|
||||||
<head>
|
|
||||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
|
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
|
|
||||||
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
|
|
||||||
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
|
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
|
||||||
<link rel="stylesheet" href="styles.css" type="text/css">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div class="full-screen">
|
|
||||||
<div class="carryrequest-container" id="carryreceiever">
|
|
||||||
<div class="carrytextheader">Carry</div>
|
|
||||||
<div class="carrytextkey">Someone wants to carry you</div>
|
|
||||||
<div class="carrytextkey"><span style="color:#FF66FF">Y</span> for Accept</div>
|
|
||||||
<div class="carrytextkey"><span style="color:#FF66FF">N</span> for Decline </div>
|
|
||||||
</div>
|
|
||||||
<div class="carryrequester-container" id="carryrequester">
|
|
||||||
<div class="carrytextheader">Carry</div>
|
|
||||||
<div class="carrytextkey">Request was sent, expires in <span id="secondsremainingrequest" style="color:#FF66FF">120</span> seconds</div>
|
|
||||||
</div>
|
|
||||||
<div class="carrysomeone-container" id="carryed">
|
|
||||||
<div class="carrytextheader">Carry</div>
|
|
||||||
<div class="carrytextkey">Someone carries you</div>
|
|
||||||
</div>
|
|
||||||
<div class="carrytype-container" id="carrytype">
|
|
||||||
<div class="header">
|
|
||||||
<h1 class="CarryTypeMenuHeaderText">Choose your carry type</h1>
|
|
||||||
<div class="btnQuit"><img class="closetypemenu" src="img/close.png" alt="Quit" /></div>
|
|
||||||
</div>
|
|
||||||
<div class="carrytype1">
|
|
||||||
<img src="img/carrytype1.png" alt="Carry 1">
|
|
||||||
<div class="carrytextmain">Carry 1</div>
|
|
||||||
<div class="carry1select">Select</div>
|
|
||||||
</div>
|
|
||||||
<div class="carrytype2">
|
|
||||||
<img src="img/carrytype2.png" alt="Carry 2">
|
|
||||||
<div class="carrytextmain">Carry 2</div>
|
|
||||||
<div class="carry2select">Select</div>
|
|
||||||
</div>
|
|
||||||
<div class="carrytype3">
|
|
||||||
<img src="img/carrytype3.png" alt="Carry 3">
|
|
||||||
<div class="carrytextmain">Carry 3</div>
|
|
||||||
<div class="carry3select">Select</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="nui://game/ui/jquery.js" type="text/javascript"></script>
|
|
||||||
<script src="scripts.js" type="text/javascript"></script>
|
|
||||||
<script src="debounce.min.js" type="text/javascript"></script>
|
|
||||||
|
|
||||||
</body>
|
|
|
@ -1,9 +0,0 @@
|
||||||
/*
|
|
||||||
* jQuery throttle / debounce - v1.1 - 3/7/2010
|
|
||||||
* http://benalman.com/projects/jquery-throttle-debounce-plugin/
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010 "Cowboy" Ben Alman
|
|
||||||
* Dual licensed under the MIT and GPL licenses.
|
|
||||||
* http://benalman.com/about/license/
|
|
||||||
*/
|
|
||||||
(function(b,c){var $=b.jQuery||b.Cowboy||(b.Cowboy={}),a;$.throttle=a=function(e,f,j,i){var h,d=0;if(typeof f!=="boolean"){i=j;j=f;f=c}function g(){var o=this,m=+new Date()-d,n=arguments;function l(){d=+new Date();j.apply(o,n)}function k(){h=c}if(i&&!h){l()}h&&clearTimeout(h);if(i===c&&m>e){l()}else{if(f!==true){h=setTimeout(i?k:l,i===c?e-m:e)}}}if($.guid){g.guid=j.guid=j.guid||$.guid++}return g};$.debounce=function(d,e,f){return f===c?a(d,e,false):a(d,f,e!==false)}})(this);
|
|
Before Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 199 KiB |
Before Width: | Height: | Size: 183 KiB |
Before Width: | Height: | Size: 757 B |