RedM Natives

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.

Hash0x400F9556
Runtime nameSetVehicleNumberPlateText
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void SET_VEHICLE_NUMBER_PLATE_TEXT(Vehicle vehicle, char* plateText);

Parameters

NameTypeDescription
vehicleVehicle

The vehicle to set the plate for

plateTextchar*

The text to set the plate to, 8 chars maximum

Returns void

Description

Cfx.re native reference

SET_VEHICLE_NUMBER_PLATE_TEXT

This is the server-side RPC native equivalent of the client native SET_VEHICLE_NUMBER_PLATE_TEXT.

Usage

Lua
SetVehicleNumberPlateText(vehicle, plateText)

-- always works, by hash
Citizen.InvokeNative(0x400f9556, vehicle, plateText)
JavaScript and C#
JavaScript
SetVehicleNumberPlateText(vehicle, plateText);

// by hash
Citizen.invokeNative('0x400f9556', vehicle, plateText);
C#
Function.Call((Hash)0x400f9556, vehicle, plateText);

See also

Sources

Cfx.re native reference

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