Vehicle::numberPlate

From RAGE Multiplayer Wiki
Jump to: navigation, search

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;
    }
});