# CFX::GET_PLAYER_LAST_MSG

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

## Signature

```c
int GET_PLAYER_LAST_MSG(char* playerSrc);
```

## Parameters

- `playerSrc` (`char*`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = GetPlayerLastMsg(playerSrc)

-- always available, by hash
local retval = Citizen.InvokeNative(0x427e8e6a, playerSrc, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetPlayerLastMsg(playerSrc);

// by hash
const retval = Citizen.invokeNative('0x427e8e6a', playerSrc, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x427e8e6a, playerSrc);
```

*Sources: Cfx.re native reference.*
