Commit efee20e3 authored by Test's avatar Test

update autoshop client

parent 415c67ee
.b3-close {
background: coral;
position: fixed;
right: 0;
top: 0;
width: 6vh;
height: 3vh;
font-size: 2vh;
transition: 0.3s;
z-index: 3;
}
\ No newline at end of file
<html>
<meta charset="utf-8">
<link rel="stylesheet" href="business.css">
<script src="../vue.js"></script>
<link rel="stylesheet" href="paint.css">
<script src="../../../vue.js"></script>
<body>
<div id="app">
<div class="b3-close" id="close-button" @click="exit">X</div>
<h1>{{ titleText }}</h1>
</div>
</body>
</html>
<script>
const app = new Vue({
el: '#app',
data: {
},
methods: {
changeCamRotation: function() {
mp.trigger("cChangeHeading", this.camRotation);
},
exit: function() {
mp.trigger("cCloseCefAndDestroyCam");
const app = new Vue({
el: '#app',
data: {
titleText: "Paint Bay",
},
});
methods: {
changeCamRotation: function() {
mp.trigger("cChangeHeading", this.camRotation);
},
exit: function() {
mp.trigger("cCloseCefAndDestroyCam");
},
}
})
</script>
\ No newline at end of file
......@@ -7,18 +7,18 @@ const player = mp.players.local;
mp.events.add(
{
"cAutoShop-ShowPaintMenu" : () => {
//misc.prepareToCef();
//misc.openCef("package://RP/Business/AutoShop/Mechanic/Paint/paint.html");
misc.prepareToCef();
misc.openCef("package://RP/Browsers/Business/AutoShop/Paint/paint.html");
//misc.injectCef(inject);
misc.createPointedCam(103.13, 6626.423, 32.828, 0, 0, 0, 80, 102.738, 6623.627, 31.829)
setTimeout(function(){
misc.destroyCam();
},3000)
// setTimeout(function(){
// misc.destroyCam();
// },3000)
},
"cAutoShop-ShowMechanicMenu" : () => {
//misc.prepareToCef();
//misc.openCef("package://RP/Business/AutoShop/Mechanic/Paint/paint.html");
//misc.openCef("package://RP/Browsers/Business/AutoShop/Mechanic/mechanic.html");
//misc.injectCef(inject);
misc.createPointedCam(110.48, 6631.676, 31.787, 0, 0, 0, 80, 109.888, 6626.924, 31.787)
setTimeout(function(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment