Captien

Vehicle Indicators

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 2
  • Mask 1
  • Sad 1

Share this post


Link to post
Share on other sites
On 1/7/2018 at 2:58 PM, aliakyurek said:

 

where to put the file

You put the file in  client_packages folder.  We added this as a one click install mod over at citadel servers for our clients.

Share this post


Link to post
Share on other sites
В 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

Share this post


Link to post
Share on other sites
2 hours ago, KPbISS said:

is it possible to make them more brighter?

NO,SORRY

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.