Jump to content

Vehicle Indicators


Captien

Recommended Posts

Hello Guys,

Today i would like to introduce my first simple resource to the public people.

Vehicle indicators

Vehicle indicators are the main thing in role-play. Without it you can't role-play while driving or you can cause accidents.
So i did that simple resource to give some help to the community

You can now download it by the following link:

Download

Don't forget to require it in your client-side by doing:

require('indicators.js')

 

Here is a Gist to see source code

 

Feel free to update, copy, or change in the code.

I hope you enjoy the resource, if you find any bugs please post in that topic.

Edited by Captien
Resource Updated.
  • Like 3
  • Mask 1
  • Sad 1
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 2 weeks later...
  • 5 months later...
В 27.06.2018 в 13:37, John_Miller сказал:

what command turns on the light in the car ?

mp.keys.bind(0x26, true, function() {
 
    if (signal3 && localPlayer.vehicle) {
        mp.game.graphics.notify('info');
        localPlayer.vehicle.setInteriorlight(false);
        localPlayer.vehicle.setInteriorlight(false);
        signal3 = false;
 
    } else
    if (localPlayer.vehicle) {
        mp.game.graphics.notify('info');
        localPlayer.vehicle.setInteriorlight(true);
        localPlayer.vehicle.setInteriorlight(true);
        signal3 = true;
    }
})

If you need someone

  • Like 1
Link to comment
Share on other sites

  • 7 months later...

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...