Vehicle::numberPlate
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; } });
Number plate change (Maximum length: 8 char)
mp.events.addCommand('changeNumberPlate', (player, _, plate) => { if(player.vehicle) { player.vehicle.numberPlate = plate; } });