Vehicle::setMod

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Syntax

vehicle.setMod(modType, modIndex);

Required Arguments

  • modType: int
  • modIndex: int

Return value

  • Undefined

Example

mp.events.addCommand('mod', (player, fullText, a , b) => {
    player.vehicle.setMod(parseInt(a), parseInt(b));
});

Vehicle Mods Info

Vehicle Mods

See also