Vehicle::setNumberPlateText

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Sets a vehicle's license plate text. 8 chars maximum.

Example:
Ped playerPed = PLAYER::PLAYER_Player_ID();
Vehicle veh = Player::GET_VEHICLE_Player_IS_USING(playerPed);
char *plateText = 'KING';
VEHICLE::SET_VEHICLE_NUMBER_PLATE_TEXT(veh, plateText);

Syntax

vehicle.setNumberPlateText(plateText);

Required Arguments

  • plateText: String

Return value

  • Undefined

Example

// todo

See also