# CFX::GET_PLAYER_GUID

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

## Signature

```c
char* GET_PLAYER_GUID(char* playerSrc);
```

## Parameters

- `playerSrc` (`char*`)

## Returns

`char*`

## Usage

### Lua

```lua
local retval = GetPlayerGuid(playerSrc)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
