# CFX::CAN_PLAYER_START_COMMERCE_SESSION

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

## Signature

```c
BOOL CAN_PLAYER_START_COMMERCE_SESSION(char* playerSrc);
```

## Parameters

- `playerSrc` (`char*`) — The player handle

## Returns

`BOOL` — True or false.

## Description

*Source: Cfx.re native reference*

> This native is deprecated and may be removed in a future version. Use the [Tebex API](https://docs.tebex.io/) instead.

Returns whether or not the specified player has enough information to start a commerce session for.

## Usage

### Lua

```lua
local retval = CanPlayerStartCommerceSession(playerSrc)

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

### JavaScript

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

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

### C#

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

*Sources: Cfx.re native reference.*
