# DECORATOR::DECOR_REGISTER

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

## Signature

```c
void DECOR_REGISTER(const char* propertyName, int type);
```

## Parameters

- `propertyName` (`const char*`)
- `type` (`int`)

## Returns

`void`

## Description

type:
enum eDecorType
{
	DECOR_TYPE_UNKNOWN,
	DECOR_TYPE_FLOAT,
	DECOR_TYPE_BOOL,
	DECOR_TYPE_INT,
	DECOR_TYPE_STRING,
	DECOR_TYPE_TIME,
	DECOR_TYPE_PLAYER_INDEX
};

## Usage

### Lua

```lua
DecorRegister(propertyName, type)

-- always available, by hash
Citizen.InvokeNative(0x0B253D644E3C36B3, propertyName, type)
```

### JavaScript

```js
DecorRegister(propertyName, type);

// by hash
Citizen.invokeNative('0x0B253D644E3C36B3', propertyName, type);
```

### C#

```csharp
Function.Call((Hash)0x0B253D644E3C36B3, propertyName, type);
```

*Sources: alloc8or RDR3 NativeDB.*
