# CFX::DOES_PLAYER_OWN_SKU_EXT

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

## Signature

```c
BOOL DOES_PLAYER_OWN_SKU_EXT(char* playerSrc, int skuId);
```

## Parameters

- `playerSrc` (`char*`) — The player handle
- `skuId` (`int`) — The package ID on Tebex.

## Returns

`BOOL` — A boolean.

## Description

*Source: Cfx.re native reference*

Requests whether or not the player owns the specified package.

## Usage

### Lua

```lua
local retval = DoesPlayerOwnSkuExt(playerSrc, skuId)

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

### JavaScript

```js
const retval = DoesPlayerOwnSkuExt(playerSrc, skuId);

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

### C#

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

*Sources: Cfx.re native reference.*
