# DECORATOR::DECOR_GET_INT

- **Hash:** `0x44DB62727762FD9B`
- **Namespace:** DECORATOR
- **Runtime name (Lua/JS):** `DecorGetInt`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/DECORATOR/DECOR_GET_INT

## Signature

```c
int DECOR_GET_INT(Entity entity, const char* propertyName);
```

## Parameters

- `entity` (`Entity`)
- `propertyName` (`const char*`)

## Returns

`int`

## Usage

### Lua

```lua
local retval = DecorGetInt(entity, propertyName)

-- always available, by hash
local retval = Citizen.InvokeNative(0x44DB62727762FD9B, entity, propertyName, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = DecorGetInt(entity, propertyName);

// by hash
const retval = Citizen.invokeNative('0x44DB62727762FD9B', entity, propertyName, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x44DB62727762FD9B, entity, propertyName);
```

*Sources: alloc8or RDR3 NativeDB.*
