RedM Natives

GET_VEHICLE_NUMBER_PLATE_TEXT

Hash0xE8522D58
Runtime nameGetVehicleNumberPlateText
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

char* GET_VEHICLE_NUMBER_PLATE_TEXT(Vehicle vehicle);

Parameters

NameTypeDescription
vehicleVehicle—

Returns char*

Usage

Lua
local retval = GetVehicleNumberPlateText(vehicle)

-- always works, by hash
local retval = Citizen.InvokeNative(0xe8522d58, vehicle, Citizen.ResultAsString())
JavaScript and C#
JavaScript
const retval = GetVehicleNumberPlateText(vehicle);

// by hash
const retval = Citizen.invokeNative('0xe8522d58', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsString());
C#
string retval = Function.Call<string>((Hash)0xe8522d58, vehicle);

See also

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.