Vehicle::numberPlate

From RAGE Multiplayer Wiki

Number plate change (Maximum length: 8 char)

Getter

  • String

Setter

  • String

Example

Server-Side
mp.events.addCommand('changeNumberPlate', (player, _, plate) => {
    if(player.vehicle) {
        player.vehicle.numberPlate = plate;
    }
});