Jump to content

Robson

Members
  • Posts

    23
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Robson

  1. do it with a colshape
  2. You sure the attached entity has the same dimension of player? It may be a issue.
  3. Robson

    Click ped

    Its pretty much it. Peds doesn't seems to respond to raycast either. I think theres nothing you can do about it at moment.
  4. it returns a array, try let pos = mp.gui.cursor.position; pos[0], pos[1]
  5. Have you try the vanilla JS event? https://www.w3schools.com/jsref/event_ondblclick.asp
  6. Robson

    Custom nametags

    Chill dude as you can see he edited the topic after I answer
  7. Robson

    Custom nametags

  8. I think this may solve your problem https://wiki.rage.mp/index.php?title=Player::call player.call(`RegisterWindow`, [player.socialClub]); not sure but I think you can't do this mp.events.add({'RegisterWindow': (player, player.socialClub) => { do it like this mp.events.add({'RegisterWindow': (player, socialClubID) => {
  9. Its pretty easy: make it yourself
  10. https://www.w3schools.com/jsref/met_win_setinterval.asp or https://www.w3schools.com/jsref/met_win_settimeout.asp dependes on your need
  11. Is there any way to save a file client side?
  12. Robson

    CEF

    I would like to suggest to enable experimental features so we can use backdrop-filter.
  13. Robson

    CEF

    does RAGE have CEF experimental features enabled? document.cookie work?
  14. Brazil has a large community (most in fiveM atm) and as a brazillian I can't say I don't support it +1
  15. So the CEF build is already updated. For the best result I would suggest you to go with https://wiki.rage.mp/index.php?title=Client-side_functions#Audio
  16. I think its something about userdb permission. Its a remote DB but I never had problem to connect with in MTA. I think its a problem related to that cuz I changed the hostname to another IP and it output me a error. (a error to someone that was in a limbo is already something lol) I'll check it later thanks for all you guys help
  17. Alright this is what I get now
  18. Hello Kapricioza Have you try to use myAudio.load(); before play? I already warn you that I'm not sure if still gonna work cuz chrome had some policy changes with audio. https://developers.google.com/web/updates/2017/09/autoplay-policy-changes
  19. Tried it now and got the same result
  20. Hello mr pancakes already tried it before. Even not handling a error the step 3 would output anyway I think. Maybe theres something that I did miss on nodejs setup? Yes hoser, they're accurate. I'm trying to integrate my MTA server database with this (located in amazon). Same values, I already did it but I'll try to do it again (im stuck here for hours) I already printed then with console.log to make sure it was getting it right
  21. Hello my friends. I'm trying to use mysql with node.js. This is my code trying to output a response in my .connect() but I get nothing from console. var db = require("../json/connection.json"); console.log('step 1'); var mysql = require("mysql"); var connection = mysql.createConnection({ host : db["host"], user : db["user"], password : db["password"], database : db["database"], port : db["port"] }); console.log('step 2'); connection.connect(function(err){ console.log('step 3'); }); There's no 'step 3' being outputed right there. It shows no error either. this is my work folder
×
×
  • Create New...