alienwave
Members-
Posts
39 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Everything posted by alienwave
-
CLOSED: setTimeout(() => { }, 500) helps me;
-
In registration panel chat is not disabled. mp.gui.chat.show(false); and mp.gui.chat.activate(false); doesn't works. What should I do?
-
CLOSED: USE player.call !!! https://wiki.rage.mp/index.php?title=Player::call
-
I have a created client-side event, how can i call it on the server? client: mp.events.add("event", function() { // code }) server: function playerEnterColshapeHandler(player, shape) { if (shape == colshape) { // need call client event. } }
-
For some reason, CarTuning.browser.execute(`getTuning();`); doesn't want to work. I'm tired, I'll try it tomorrow. My ds: alligatorBlood#6719
-
Ok, I'll try it later and let you know
-
My problem is that the browser code starts immediately when you log in to the server. As a result, I completely wrapped the browser code in a function Now I need to somehow run this function via execute ('function ();'), but it doesn't start https://pastebin.com/xNLZxGTE
-
i have a key binder mp.keys.bind(CarTuning.keyCode, false, () => { if (player.vehicle) { if (CarTuning.windowOpen) { CarTuning.browser.active = false; mp.gui.cursor.show(false, false); CarTuning.windowOpen = !CarTuning.windowOpen; } else { mp.events.call("List"); CarTuning.browser.active = true; mp.gui.cursor.show(true, true); CarTuning.windowOpen = !CarTuning.windowOpen; } } else { mp.gui.chat.push("CAR ONLY!"); } });
-
I have a key binder, mp.keys.bind(CarTuning.keyCode, false, () => { // f6 if (player.vehicle) { if (CarTuning.windowOpen) { CarTuning.browser.active = false; mp.gui.cursor.show(false, false); CarTuning.windowOpen = !CarTuning.windowOpen; } else { mp.events.call("startTun") && mp.events.call("List"); CarTuning.browser.active = true; mp.gui.cursor.show(true, true); CarTuning.windowOpen = !CarTuning.windowOpen; } } else { mp.gui.chat.push("NEED A CAR!"); } })
-
While I'm not sitting in the car, the script is running in the browser, how do I fix it? I don't want the script to run in the browser until I get in the car. Please help me! https://jsfiddle.net/zk2qofuj/
-
CLOSED: It works! mp.trigger("SelectVeh", params); in handler.js and mp.events.add("SelectVeh", () => { // some code });
-
I was told here that you need to use mp.trigger() in handler.js
-
I ran into the same problem, but I didn't find a solution
-
my quote is marked as hidden( i'm fixed it, but it didn't help(
-
I'm fixed it, but it didn't help
-
I make handler, but it doesn't work. What should I do? https://pastebin.com/Bbge6rdn
-
CLOSED: the solution is as follows const vehicle = mp.players.local.vehicle; mp.gui.chat.push(`hash: ${vehicle.getLayoutHash()}`);
-
Thank you!
-
CLOSED: You need to convert decimal to hex using sites
-
How can i convert decimal to HEX? By using the sites or have a function?
-
const vehicle = mp.players.local.vehicle; mp.gui.chat.push(`hash: ${vehicle.getLayoutHash()}`); It works, thanks, but for some reason, the hash is just a set of numbers. For example: ZTYPE: 0x2D3BD401, AMGGT: 2228715155 ZTYPE is ok, but AMGGT...
-
Thx, I'll try it later
