SET_VEHICLE_NUMBER_PLATE_TEXT
SET_VEHICLE_NUMBER_PLATE_TEXT This is the server-side RPC native equivalent of the client native SET_VEHICLE_NUMBER_PLATE_TEXT.
Signature
void SET_VEHICLE_NUMBER_PLATE_TEXT(Vehicle vehicle, char* plateText);Parameters
| Name | Type | Description |
|---|---|---|
vehicle | Vehicle | The vehicle to set the plate for |
plateText | char* | The text to set the plate to, 8 chars maximum |
Returns void
Description
This is the server-side RPC native equivalent of the client native SET_VEHICLE_NUMBER_PLATE_TEXT.
Usage
SetVehicleNumberPlateText(vehicle, plateText)
-- always works, by hash
Citizen.InvokeNative(0x400f9556, vehicle, plateText)JavaScript and C#
SetVehicleNumberPlateText(vehicle, plateText);
// by hash
Citizen.invokeNative('0x400f9556', vehicle, plateText);Function.Call((Hash)0x400f9556, vehicle, plateText);See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.