Vehicle::numberPlateType: Difference between revisions

From RAGE Multiplayer Wiki
m (minor edit to plate type list (formatting))
No edit summary
Line 1: Line 1:
{{Incomplete Functions}}
This function sets the number plate type.
 
= Syntax =
<source lang="javascript">
vehicle.numberPlateType = Platetype;
</source>
 
== '''Required Arguments:''' ==


This function sets the number plate type.
*Platetype: <font color='red'><b>Int</b></font>


Plates types:
=== '''Plates types''' ===:
* Blue/White - 0
*Blue/White: 0
* Yellow/black - 1
*Yellow/black: 1
* Yellow/Blue - 2
*Yellow/Blue2
* Blue/White2 - 3
*Blue/White23
* Blue/White3 - 4
*Blue/White34
* Yankton - 5
*Yankton: 5


== Example ==
= Example =
<source lang="javascript">
<source lang="javascript">
vehicle.numberPlateType = 1;
vehicle.numberPlateType = 1;
</source>
</source>

Revision as of 15:42, 1 January 2018

This function sets the number plate type.

Syntax

vehicle.numberPlateType = Platetype;

Required Arguments:

  • Platetype: Int

=== Plates types ===:

  • Blue/White: 0
  • Yellow/black: 1
  • Yellow/Blue: 2
  • Blue/White2: 3
  • Blue/White3: 4
  • Yankton: 5

Example

vehicle.numberPlateType = 1;