# DECORATOR::DECOR_SET_INT

- **Hash:** `0xE88F4D7F52A6090F`
- **Namespace:** DECORATOR
- **Runtime name (Lua/JS):** `DecorSetInt`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/DECORATOR/DECOR_SET_INT

## Signature

```c
BOOL DECOR_SET_INT(Entity entity, const char* propertyName, int value);
```

## Parameters

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

## Returns

`BOOL`

## Description

Sets property to int.

## Usage

### Lua

```lua
local retval = DecorSetInt(entity, propertyName, value)

-- always available, by hash
local retval = Citizen.InvokeNative(0xE88F4D7F52A6090F, entity, propertyName, value, Citizen.ReturnResultAnyway())
```

### JavaScript

```js
const retval = DecorSetInt(entity, propertyName, value);

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

### C#

```csharp
bool retval = Function.Call<bool>((Hash)0xE88F4D7F52A6090F, entity, propertyName, value);
```

*Sources: alloc8or RDR3 NativeDB.*
