# CFX::SET_VEHICLE_NUMBER_PLATE_TEXT

- **Hash:** `0x400F9556`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetVehicleNumberPlateText`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_NUMBER_PLATE_TEXT

## Signature

```c
void SET_VEHICLE_NUMBER_PLATE_TEXT(Vehicle vehicle, char* plateText);
```

## Parameters

- `vehicle` (`Vehicle`) — The vehicle to set the plate for
- `plateText` (`char*`) — The text to set the plate to, 8 chars maximum

## Returns

`void`

## Description

*Source: 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](?\_0x95A88F0B409CDA47).**

## Usage

### Lua

```lua
SetVehicleNumberPlateText(vehicle, plateText)

-- always available, by hash
Citizen.InvokeNative(0x400f9556, vehicle, plateText)
```

### JavaScript

```js
SetVehicleNumberPlateText(vehicle, plateText);

// by hash
Citizen.invokeNative('0x400f9556', vehicle, plateText);
```

### C#

```csharp
Function.Call((Hash)0x400f9556, vehicle, plateText);
```

## See also

- [CFX::GET_VEHICLE_NUMBER_PLATE_TEXT](https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_NUMBER_PLATE_TEXT.md)

*Sources: Cfx.re native reference.*
