Vehicle::numberPlateType: Difference between revisions

From RAGE Multiplayer Wiki
m (minor edit to plate type list (formatting))
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Incomplete Functions}}
__TOC__


This function sets the number plate type.  
This function sets the number plate type. Default number plate type is 0.


Plates types:
= Syntax =
* Blue/White - 0
<source lang="javascript">
* Yellow/black - 1
vehicle.numberPlateType = Platetype;
* Yellow/Blue - 2
</source>
* Blue/White2 - 3
* Blue/White3 - 4
* Yankton - 5


== Example ==
== '''Required Arguments:''' ==
 
*Platetype: <font color='red'><b>Int</b></font>
 
=== '''Plates types:''' ===
[[File:plate0.png]]
*Blue/White: 0
[[File:plate1.png]]
*Yellow/black: 1
[[File:plate2.png]]
*Yellow/Blue:  2
[[File:plate3.png]]
*Blue/White2:  3
[[File:plate4.png]]
*Blue/White3:  4
[[File:plate5.png]]
*Yankton: 5
 
= Example =
<source lang="javascript">
<source lang="javascript">
vehicle.numberPlateType = 1;
vehicle.numberPlateType = 1;
</source>
</source>

Latest revision as of 20:56, 13 February 2020

This function sets the number plate type. Default number plate type is 0.

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;