alienwave Posted April 26, 2020 Share Posted April 26, 2020 I make handler, but it doesn't work. What should I do? https://pastebin.com/Bbge6rdn Link to comment Share on other sites More sharing options...
izcream* Posted April 26, 2020 Share Posted April 26, 2020 > <p class="mainBlock">Car Spawner</p> <div id="car">INFERNUS<button id="INFERNUS>Got <<you forgot to add “ After INFERNUS Link to comment Share on other sites More sharing options...
alienwave Posted April 26, 2020 Author Share Posted April 26, 2020 34 минуты назад, izcream* сказал: > <p class="mainBlock">Car Spawner</p> <div id="car">INFERNUS<button id="INFERNUS>Got <<you forgot to add “ After INFERNUS I'm fixed it, but it didn't help Link to comment Share on other sites More sharing options...
alienwave Posted April 26, 2020 Author Share Posted April 26, 2020 my quote is marked as hidden( i'm fixed it, but it didn't help( Link to comment Share on other sites More sharing options...
izcream* Posted April 26, 2020 Share Posted April 26, 2020 Try to debug click event with alert() Its work? not sure cef can call gui.chat.push or need pass event to clientside Link to comment Share on other sites More sharing options...
alienwave Posted April 26, 2020 Author Share Posted April 26, 2020 I was told here that you need to use mp.trigger() in handler.js Link to comment Share on other sites More sharing options...
alienwave Posted April 26, 2020 Author Share Posted April 26, 2020 CLOSED: It works! mp.trigger("SelectVeh", params); in handler.js and mp.events.add("SelectVeh", () => { // some code }); Link to comment Share on other sites More sharing options...
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