Vehicle::numberPlateType: Difference between revisions
m (minor edit to plate type list (formatting)) |
No edit summary |
||
| Line 1: | Line 1: | ||
This function sets the number plate type. | |||
= Syntax = | |||
<source lang="javascript"> | |||
vehicle.numberPlateType = Platetype; | |||
</source> | |||
== '''Required Arguments:''' == | |||
*Platetype: <font color='red'><b>Int</b></font> | |||
Plates types: | === '''Plates types''' ===: | ||
* Blue/White | *Blue/White: 0 | ||
* Yellow/black | *Yellow/black: 1 | ||
* Yellow/Blue | *Yellow/Blue: 2 | ||
* Blue/White2 | *Blue/White2: 3 | ||
* Blue/White3 | *Blue/White3: 4 | ||
* Yankton | *Yankton: 5 | ||
= 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;