Commit 4c84960a authored by Test's avatar Test

update OSRP renders add vue base directory.

parent ea3df71b
......@@ -6,16 +6,6 @@ let money;
mp.events.add(
{
"cMoney-Update" : (value) => money = value,
"render" : () => {
if (money >= 0 && mp.gui.cursor.visible === false) {
mp.game.graphics.drawText(`$${misc.prettify(money)} `, [0.940, 0.050], {
font: 7,
color: [115, 186, 131, 255],
scale: [0.7, 0.7],
});
}
},
"cMoney-ShowATM" : (lang, execute) => {
misc.prepareToCef(1);
......
......@@ -23,12 +23,6 @@ class cVehicle {
"cVehicle-rollUpWindow" : (vehicle, window) => vehicle.rollUpWindow(window),
"cVehicle-rollDownWindow" : (vehicle, window) => vehicle.rollDownWindow(window),
"render" : () => {
this.setLightMultiplier();
this.showSpeed();
this.showFuel();
this.showBrakeLights();
},
});
}
......
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>
\ No newline at end of file
{
"short_name": "Vuemmerce",
"name": "Vuemmerce",
"icons": [
{
"src": "\/android-icon-36x36.png",
"sizes": "36x36",
"type": "image\/png",
"density": "0.75"
},
{
"src": "\/android-icon-48x48.png",
"sizes": "48x48",
"type": "image\/png",
"density": "1.0"
},
{
"src": "\/android-icon-72x72.png",
"sizes": "72x72",
"type": "image\/png",
"density": "1.5"
},
{
"src": "\/android-icon-96x96.png",
"sizes": "96x96",
"type": "image\/png",
"density": "2.0"
},
{
"src": "\/android-icon-144x144.png",
"sizes": "144x144",
"type": "image\/png",
"density": "3.0"
},
{
"src": "\/android-icon-192x192.png",
"sizes": "192x192",
"type": "image\/png",
"density": "4.0"
}
]
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<link rel="apple-touch-icon" sizes="57x57" href="assets/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="assets/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="assets/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="assets/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="assets/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="assets/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="assets/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="assets/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="assets/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="assets/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon-16x16.png">
<link rel="manifest" href="assets/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="assets/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<title>Vuemmerce | Free ecommerce template for Vue.js projects</title>
<meta name="description" content="Description of the page less than 150 characters">
<!-- Facebook open graph -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://example.com/page.html">
<meta property="og:title" content="Content Title">
<meta property="og:image" content="https://example.com/image.jpg">
<meta property="og:description" content="Description Here">
<meta property="og:site_name" content="Site Name">
<meta property="og:locale" content="en_US">
<!-- Twitter card -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@site_account">
<meta name="twitter:creator" content="@individual_account">
<meta name="twitter:url" content="https://example.com/page.html">
<meta name="twitter:title" content="Content Title">
<meta name="twitter:description" content="Content description less than 200 characters">
<meta name="twitter:image" content="https://example.com/image.jpg">
<link href="app.js" rel="preload" as="script"></head>
<body>
<noscript>
<strong>We're sorry but project doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script type="text/javascript" src="app.js"></script></body>
</html>
<p>Page not found</p>
\ No newline at end of file
<div class="ma-service-show">
<div class="m1-tray-wrapper">
<div class="m1-tuning-parts">
<div class="m1-tray" @click="engineA">
<div class="m1-label">Engine</div>
<div class="m1-value">{{ engine }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">breaks</div>
<div class="m1-value">{{ breaks }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">transmission</div>
<div class="m1-value">{{ transmission }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">suspension</div>
<div class="m1-value">{{ suspension }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">turbo</div>
<div class="m1-value">{{ turbo }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">boost</div>
<div class="m1-value">{{ boost }}</div>
</div>
</div>
<div class="m1-custom-parts">
<div class="m1-tray">
<div class="m1-label">horn</div>
<div class="m1-value">{{ horn }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">xenon</div>
<div class="m1-value">{{ xenon }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">tint</div>
<div class="m1-value">{{ tint }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">plate</div>
<div class="m1-value">{{ plate }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">spoiler</div>
<div class="m1-value">{{ spoiler }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">fbumper</div>
<div class="m1-value">{{ fbumper }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">rbumper</div>
<div class="m1-value">{{ rbumper }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">skirt</div>
<div class="m1-value">{{ skirt }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">armor</div>
<div class="m1-value">{{ armor }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">hydraulics</div>
<div class="m1-value">{{ hydraulics }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">wheels</div>
<div class="m1-value">{{ wheels }}</div>
</div>
</div>
<div class="m1-garage-services">
<div class="m1-tray">
<div class="m1-label">Body Health</div>
<div class="m1-value">{{ bodyhealth }}</div>
</div>
<div class="m1-tray">
<div class="m1-label">Engine Health</div>
<div class="m1-value">{{ enginehealth }}</div>
</div>
<div class="m1-tray" @click="repair">
<div class="m1-label">Repair Vehicle</div>
<div class="m1-value">{{ repairammount }}</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
const app = new Vue({
el: '#app',
data: {
model: '',
enginehealth: '',
bodyhealth: '',
engine: -1,
horn: -1,
breaks: -1,
transmission: -1,
suspension: -1,
turbo: -1,
xenon: -1,
tint: -1,
plate: -1,
boost: -1,
spoiler: -1,
fbumper: -1,
rbumper: -1,
skirt: -1,
armor: -1,
hydraulics: -1,
wheels: -1,
// 5
frame: -1,
// 4
exhaust: -1,
//6
grille: -1,
// 7
hood: -1,
//10
roof: -1,
repairammount: 10,
//
m3f80: [
{
local: "spoiler",
index: 0,
mod: 2,
item: "GT Universal Racing Spoiler"
},
{
local: "spoiler",
index: 0,
mod: 1,
item: "VIE Rear Lip Spoiler"
},
{
local: "fbumper",
index: 1,
mod: 0,
item: "Sherman Front Bumper Cover with wind splitter"
},
{
local: "fbumper",
index: 1,
mod: 1,
item: "Sherwood Front Bumper with Track Racing Tow Hook and wind splitter"
},
{
local: "fbumper",
index: 1,
mod: 2,
item: "Sherwood Front Bumper Cover"
},
{
local: "rbumper",
index: 2,
mod: 0,
item: "carbon fiber muffler guard"
},
{
local: "rbumper",
index: 2,
mod: 1,
item: "VIE Rear Diffuser"
},
{
local: "rbumper",
index: 2,
mod: 2,
item: "VIE Rear Diffuser with carbon fiber bumper guard"
},
{
local: "skirt",
index: 3,
mod: 0,
item: "Sherwood Side Skirt"
},
{
local: "exhaust",
index: 4,
mod: 0,
item: "Black Metal Exhaust Pipes"
},
{
local: "exhaust",
index: 4,
mod: 1,
item: "Double Black Metal Exhaust Pipes"
},
{
local: "frame",
index: 5,
mod: 0,
item: "Roll Cage"
},
{
local: "grille",
index: 6,
mod: 0,
item: "Chrome Grille"
},
{
local: "grille",
index: 6,
mod: 1,
item: "Black and BMW Racing Stripes Grille"
},
{
local: "hood",
index: 7,
mod: 0,
item: "Carbon Fiber Hood"
},
{
local: "hood",
index: 7,
mod: 1,
item: "Sport Vent Hood"
},
{
local: "hood",
index: 7,
mod: 2,
item: "Carbon Fiber Sport Vent Hood"
},
{
local: "roof",
index: 10,
mod: -1,
item: "Carbon Fiber Roof"
},
{
local: "roof",
index: 10,
mod: 0,
item: "Metal Roof"
}
],
//
impalass: [
{
local: "spoiler",
index: 0,
mod: 0,
item: "Back Blinds"
},
{
local: "spoiler",
index: 0,
mod: 2,
item: "Back Blinds"
},
{
local: "spoiler",
index: 0,
mod: 1,
item: "Back Blinds"
},
{
index: 0,
mod: 0,
item: "Back Blinds"
},
{
index: 0,
mod: 2,
item: "Back Blinds"
},
{
index: 0,
mod: 1,
item: "Back Blinds"
},
{
index: 1,
mod: 0,
item: "Silver Grille Claw"
},
{
index: 1,
mod: 1,
item: "Gold Grille Claw"
},
{
index: 1,
mod: 2,
item: "Body Paint Grille Claw"
},
{
index: 1,
mod: 6,
item: "Body Paint Bumper"
},
{
index: 1,
mod: 9,
item: "Gilded Chrome Bumper"
},
{
index: 1,
mod: 10,
item: "Gold Bumper"
},
{
index: 1,
mod: 11,
item: "Gold Bumper with Gold Grille Claw"
},
{
index: 1,
mod: 12,
item: "Body Paint Bumper with Body Paint Grille Claw"
},
{
index: 1,
mod: 14,
item: "Gilded Gold Bumper with Gilded Gold Grille Claw"
},
{
index: 1,
mod: 15,
item: "Gilded Chrome Bumper with Gilded Chrome Grille Claw"
},
{
index: 1,
mod: 16,
item: "Body Paint Bumper with Chrome Grille Claw"
},
{
index: 2,
mod: 0,
item: "Body Paint Rear Bumper"
},
{
index: 2,
mod: 2,
item: "Gold Rear Bumper"
},
{
index: 2,
mod: 3,
item: "Gilded Gold Rear Bumper"
},
{
index: 2,
mod: 4,
item: "Gilded Chome Rear Bumper"
},
{
index: 2,
mod: 5,
item: "Gilded Gold Rear Bumper with Spare"
},
{
index: 2,
mod: 6,
item: "Gilded Chrome Rear Bumper with Spare"
},
{
index: 2,
mod: 7,
item: "Remove License Plate"
},
{
index: 3,
mod: 0,
item: "Sherwood Silver Side Skirt"
},
{
index: 5,
mod: 0,
item: "Silver Curb Feelers"
},
{
index: 6,
mod: 3,
item: "Headlight Trim"
},
{
index: 7,
mod: 2,
item: "Shark Fin Hood"
},
{
index: 7,
mod: 3,
item: "Gilded Shark Fin Hood"
}
]
},
methods: {
changeCamRotation: function() {
mp.trigger("cChangeHeading", this.camRotation);
},
engineA: function() {
mp.trigger("cAutoShop-CallServerEvent", "sAutoShop-Mod", 1, 1);
},
mod: function() {
mp.trigger("cAutoShop-CallServerEvent", "sAutoShop-Mod", 1, 1);
},
repair: function() {
mp.trigger("cAutoShop-CallServerEvent", "sAutoShop-Repair");
},
exit: function() {
mp.trigger("cCloseCefAndDestroyCam");
}
}
});
\ No newline at end of file
......@@ -55,14 +55,31 @@
}
.m1-tray {
display: grid;
grid-template-columns: auto auto;
background: rgb(82, 82, 82);
width: 6vh;
height: 3vh;