Jump to content

Vehicle mods (no addons)


Recommended Posts

Posted

Hi,

i'm currently using following code:

const vehicle = mp.players.local.vehicle;
let currentActiveMod;
currentActiveMod = vehicle.getMod(16);
console.log(currentActiveMod);

 

In my example i used the "modType" 16 (Armor)

no matter which value i use as "modType" every time it returns 255

 

Does anyone have any idea what is wrong?

 

 

Thanks in advance

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