# CFX::IS_DUPLICITY_VERSION

- **Hash:** `0xCF24C52E`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `IsDuplicityVersion`
- **Side:** shared (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/IS_DUPLICITY_VERSION

## Signature

```c
BOOL IS_DUPLICITY_VERSION();
```

## Returns

`BOOL` — A boolean value.

## Description

*Source: Cfx.re native reference*

Gets whether or not this is the CitizenFX server.

## Usage

### Lua

```lua
local retval = IsDuplicityVersion()

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

### JavaScript

```js
const retval = IsDuplicityVersion();

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xcf24c52e);
```

*Sources: Cfx.re native reference.*
