# CFX::IS_PLAYER_ACE_ALLOWED

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

## Signature

```c
BOOL IS_PLAYER_ACE_ALLOWED(char* playerSrc, char* object);
```

## Parameters

- `playerSrc` (`char*`)
- `object` (`char*`)

## Returns

`BOOL`

## Usage

### Lua

```lua
local retval = IsPlayerAceAllowed(playerSrc, object)

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

### JavaScript

```js
const retval = IsPlayerAceAllowed(playerSrc, object);

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

### C#

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

*Sources: Cfx.re native reference.*
