Jump to content

Neon don't working.


joew

Recommended Posts

Good!

I'm trying to set Neon on vehicle, but it isn't working.
I'm using:
 

- clientside:

mp.events.callRemote("modNeon", true);


and serverside:

mp.events.add("modNeon", (player, modvalue) => {
    let vehicle = player.vehicle;
    vehicle.setNeonLightsColour(230, 0, 0);
    vehicle.setNeonLightEnabled(0, modvalue);
    vehicle.setNeonLightEnabled(1, modvalue);
    vehicle.setNeonLightEnabled(2, modvalue);
    vehicle.setNeonLightEnabled(3, modvalue);
});


Could anyone help me, please+
I'm trying on vehicle:  Issi (Mini cooper)

Can I set it up on all vehicles? Is possible to knew if the vehicle accepts neon or another tunning part?

Thank you, have a nice day!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...