GET_VEHICLE_NUMBER_PLATE_TEXT
Signature
char* GET_VEHICLE_NUMBER_PLATE_TEXT(Vehicle vehicle);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | — |
Returns char*
Usage
local retval = GetVehicleNumberPlateText(vehicle)
-- always works, by hash
local retval = Citizen.InvokeNative(0xe8522d58, vehicle, Citizen.ResultAsString())JavaScript and C#
const retval = GetVehicleNumberPlateText(vehicle);
// by hash
const retval = Citizen.invokeNative('0xe8522d58', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsString());string retval = Function.Call<string>((Hash)0xe8522d58, vehicle);See also
SET_VEHICLE_NUMBER_PLATE_TEXTSET_VEHICLE_NUMBER_PLATE_TEXT This is the server-side RPC native equivalent of the client native SET_VEHICLE_NUMBER_PLATE_TEXT.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.