Перейти к содержанию

Vehicle::setNumberPlateText

Материал из RAGE MP Wiki Archive
Версия от 23:49, 6 мая 2017; imported>Marty uploader (yay)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

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

<syntaxhighlight lang="javascript">vehicle.setNumberPlateText(plateText);</syntaxhighlight>

Required Arguments

  • plateText: String

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also