MarkCavalli Posted April 15, 2019 Author Posted April 15, 2019 В 13.04.2019 в 12:47, joew сказал: Could anyone please tell me how get the right values, please? I placed my character at the right point, but how zoom just his face, please? there are param: viewangle 9 часов назад, Narwy сказал: Please allow branches for pull requests. its open
joew Posted April 16, 2019 Posted April 16, 2019 On 4/15/2019 at 4:44 AM, MarkCavalli said: there are param: viewangle Could you explain me how it works, please? I can't find the right value to fit my character face 😢 Look: https://imgur.com/a/wlJnPEL Camdata: {"x":-279.8,"y":6228.6,"z":32.3,"rx":0,"ry":0,"rz":133,"viewangle":61} Thank you! I get this position with the cam facing all my character. He's rotated to face the cam. Is it the right way to get the pos?
MarkCavalli Posted April 16, 2019 Author Posted April 16, 2019 2 часа назад, joew сказал: Could you explain me how it works, please? I can't find the right value to fit my character face 😢 Look: https://imgur.com/a/wlJnPEL Camdata: {"x":-279.8,"y":6228.6,"z":32.3,"rx":0,"ry":0,"rz":133,"viewangle":61} Thank you! I get this position with the cam facing all my character. He's rotated to face the cam. Is it the right way to get the pos? set up first person mode, go into place you want to use and enter command 😃 usually i did 30 degrees viewangle
joew Posted April 16, 2019 Posted April 16, 2019 3 hours ago, MarkCavalli said: set up first person mode, go into place you want to use and enter command 😃 usually i did 30 degrees viewangle Thank you very much, works perfectly
masdoo Posted April 17, 2019 Posted April 17, 2019 Quote Starting RAGE Multiplayer server... [=========================================================] MaxPlayers: 100 Sync rate: 40ms Name: **************************** Gamemode: freeroam Streaming distance: 500 Announcement: disabled Voice chat: disabled Address: 127.0.0.1:22005 Connection limits: disabled Encryption: disabled NodeJS: enabled C#: disabled [=========================================================] [N] Starting network... - OK: (IPv4-only) at 127.0.0.1:22005 (node:6476) ExperimentalWarning: The ESM module loader is experimental. Loading maps: "fences.xml.json" loaded "orangetrees.json" loaded "police.json" loaded "prison.json" loaded Loading packages "RP" loaded [2019-04-17T02:13:40.331] [FATAL] default - Server Started [P] Plugin bridge.dll loaded! Started HTTP server at 22006 port. DATABASE IS WORKING [2019-04-17T02:13:41.190] [WARN] default - 'SELECT * FROM business INNER JOIN clothingshop ON business.id = clothingshop.id' ends with: 0.718s [2019-04-17T02:13:41.190] [WARN] default - 'SELECT * FROM vehicles WHERE factionName = 'Hospital'' ends with: 0.718s [2019-04-17T02:13:41.190] [WARN] default - 'SELECT * FROM business INNER JOIN cheapcardealership ON business.id = cheapcardealership.id' ends with: 0.718s [2019-04-17T02:13:41.190] [WARN] default - 'SELECT * FROM business INNER JOIN gasstation ON business.id = gasstation.id' ends with: 0.718s [2019-04-17T02:13:41.190] [WARN] default - 'SELECT * FROM business INNER JOIN barbershop ON business.id = barbershop.id' ends with: 0.718s [2019-04-17T02:13:41.190] [WARN] default - 'SELECT * FROM business INNER JOIN commercialcardealership ON business.id = commercialcardealership.id' ends with: 0.718s EMAIL SERVER READY! [N] **.**.***.***:55050 has been disconnected. Hello,I have followed all the steps of implementation, but I have a problem, my server starts correctly but it does not appear in the list of servers, and when I click on direct connection it connects me on the server but I can not load resources, it turns into loops.Can you help me please Sorry for my english level: /
MarkCavalli Posted April 17, 2019 Author Posted April 17, 2019 7 часов назад, masdoo сказал: Can you help me please Sorry for my english level: / disable firewall
joew Posted April 18, 2019 Posted April 18, 2019 (edited) I tried to add one more option to menu, but im getting trouble to pass values using Vue. I don't knew the reason, but it isn't working. Could anyone help me, please? -Menu.html ... <script type="text/x-template" id="tab-home"> <section class="info tab-home"> ... </section> </script> <script type="text/x-template" id="tab-job"> <section class="info tab-job"> <div class="jobdiv"> Job: <span>{{ d.job.name }}</span> </div> </section> </script> <script type="text/x-template" id="tab-gps"> <section class="info tab-vehicles"> ... </section> </script> ... <script> let tabNumber = 0; class tab { ... } const home = new tab('#tab-home'); const job = new tab('#tab-job'); ... const app = new Vue({ el: '#app', data: { pName: '', currentTab: 0, d: { ... i18n: { ... }, job: { id: 0, idjob: 0, name: '', xp: 0, ammount: 0, maxammount: 0, money: 0, active: 0, }, }, }, ... }); - Menu.css .jobdiv { width: 100%; height: 90%; display: flex; font-size: 1.5vw; margin-left: 3vh; text-align: left; } - sPlayer.js ... async loadAccount(player, id) { ... player.job.idjob = d[0].job; ... if (player.job.idjob > 0) { player.job.name = "Barman"; } else { player.job.name = "Unemployed"; } misc.log.debug(`Job: ${player.job.name}`); player.call("cCloseCefAndDestroyCam"); const q1 = moneySingleton.loadUser(player); ... misc.log.debug(`${player.name} logged in`); } ... loadPlayerTemplate(player) { player.loggedIn = false; ... player.canEnter = {}; player.job = { id: 0, idjob: 0, name: '', xp: 0, ammount: 0, maxammount: 0, money: 0, active: 0, }; As you can see, the debug: misc.log.debug(`Job: ${player.job.name}`); in sPlayer.js sends the right value, but it isn't been sent to the Html by Vue. I didn't get any error on console, but i opens menu, and it show up: Job: Thats all. Could anyone help me, please? Thank you very much!!! Edited April 18, 2019 by joew
MarkCavalli Posted April 18, 2019 Author Posted April 18, 2019 13 часа назад, joew сказал: Could anyone help me, please? Thank you very much!!! sMenu 13 string 1
Virgin64XX Posted April 20, 2019 Posted April 20, 2019 hello, i'm just new to the ragemp, i know some about js, and i wanted to say thank you for this. just one question do you have docs about how to make jobs . thanks
joew Posted April 20, 2019 Posted April 20, 2019 Just one question, please: I'm trying to install scripts that i've to put inside: client_packages folder and i have to load then on the index.js. But all the time I add the code to load my scripts in the index.js inside the same client_packages folder im loosing the changes. It looks like this index.js is backing to default's file, without accepts my changes. Could you help me, please? Is it the right file to put the code? Why it's reset and undone my changes? Thank you!!!!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now