alienwave Posted April 26, 2020 Posted April 26, 2020 I make handler, but it doesn't work. What should I do? https://pastebin.com/Bbge6rdn
izcream* Posted April 26, 2020 Posted April 26, 2020 > <p class="mainBlock">Car Spawner</p> <div id="car">INFERNUS<button id="INFERNUS>Got <<you forgot to add “ After INFERNUS
alienwave Posted April 26, 2020 Author 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
alienwave Posted April 26, 2020 Author Posted April 26, 2020 my quote is marked as hidden( i'm fixed it, but it didn't help(
izcream* Posted April 26, 2020 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
alienwave Posted April 26, 2020 Author Posted April 26, 2020 I was told here that you need to use mp.trigger() in handler.js
alienwave Posted April 26, 2020 Author Posted April 26, 2020 CLOSED: It works! mp.trigger("SelectVeh", params); in handler.js and mp.events.add("SelectVeh", () => { // some code });
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