getVehicleNumberPlateText
GET_VEHICLE_NUMBER_PLATE_TEXT0x7CE1CCB9B293020EThe GTA V native GET_VEHICLE_NUMBER_PLATE_TEXT of the VEHICLE namespace, as LS:MP client scripts call it: the global function getVehicleNumberPlateText, in JavaScript and in Lua.
getVehicleNumberPlateText(vehicle: Vehicle): stringgetVehicleNumberPlateText(vehicle: Vehicle): stringUsage
JavaScript
const text = getVehicleNumberPlateText(vehicle);Lua
local text = getVehicleNumberPlateText(vehicle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
Returns
string JavaScript string, Lua stringNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns the license plate text from a vehicle. 8 chars maximum.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
const char* GET_VEHICLE_NUMBER_PLATE_TEXT(Vehicle vehicle)- Hash
0x7CE1CCB9B293020E