setVehicleNumberPlateTextIndex
SET_VEHICLE_NUMBER_PLATE_TEXT_INDEX0x9088EB5A43FFB0A1The GTA V native SET_VEHICLE_NUMBER_PLATE_TEXT_INDEX of the VEHICLE namespace, as LS:MP client scripts call it: the global function setVehicleNumberPlateTextIndex, in JavaScript and in Lua.
setVehicleNumberPlateTextIndex(vehicle: Vehicle, plateIndex: number): voidsetVehicleNumberPlateTextIndex(vehicle: Vehicle, plateIndex: integer)Usage
JavaScript
setVehicleNumberPlateTextIndex(vehicle, plateIndex);Lua
setVehicleNumberPlateTextIndex(vehicle, plateIndex)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
plateIndex | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Plates:
Blue/White - 0
Yellow/black - 1
Yellow/Blue - 2
Blue/White2 - 3
Blue/White3 - 4
Yankton - 5
Reference
- Namespace
- Vehicle VEHICLE
- In the game
void SET_VEHICLE_NUMBER_PLATE_TEXT_INDEX(Vehicle vehicle, int plateIndex)- Hash
0x9088EB5A43FFB0A1