# CFX::GET_VEHICLE_NUMBER_PLATE_TEXT

- **Hash:** `0xE8522D58`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `GetVehicleNumberPlateText`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/GET_VEHICLE_NUMBER_PLATE_TEXT

## Signature

```c
char* GET_VEHICLE_NUMBER_PLATE_TEXT(Vehicle vehicle);
```

## Parameters

- `vehicle` (`Vehicle`)

## Returns

`char*`

## Usage

### Lua

```lua
local retval = GetVehicleNumberPlateText(vehicle)

-- always available, by hash
local retval = Citizen.InvokeNative(0xe8522d58, vehicle, Citizen.ResultAsString())
```

### JavaScript

```js
const retval = GetVehicleNumberPlateText(vehicle);

// by hash
const retval = Citizen.invokeNative('0xe8522d58', vehicle, Citizen.returnResultAnyway(), Citizen.resultAsString());
```

### C#

```csharp
string retval = Function.Call<string>((Hash)0xe8522d58, vehicle);
```

## See also

- [CFX::SET_VEHICLE_NUMBER_PLATE_TEXT](https://natives.borderlinerp.com/natives/CFX/SET_VEHICLE_NUMBER_PLATE_TEXT.md) — SET_VEHICLE_NUMBER_PLATE_TEXT This is the server-side RPC native equivalent of the client native SET_VEHICLE_NUMBER_PLATE_TEXT.

*Sources: Cfx.re native reference.*
