getNumberOfVehicleNumberPlates
GET_NUMBER_OF_VEHICLE_NUMBER_PLATES0x4C4D6B2644F458CBThe GTA V native GET_NUMBER_OF_VEHICLE_NUMBER_PLATES of the VEHICLE namespace, as LS:MP client scripts call it: the global function getNumberOfVehicleNumberPlates, in JavaScript and in Lua.
getNumberOfVehicleNumberPlates(): numbergetNumberOfVehicleNumberPlates(): integerUsage
JavaScript
const result = getNumberOfVehicleNumberPlates();Lua
local result = getNumberOfVehicleNumberPlates()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns the number of *types* of licence plates, enumerated below in setVehicleNumberPlateTextIndex.
Reference
- Namespace
- Vehicle VEHICLE
- In the game
int GET_NUMBER_OF_VEHICLE_NUMBER_PLATES()- Hash
0x4C4D6B2644F458CB