DECOR_SET_INT
Sets property to int.
Hash
0xE88F4D7F52A6090FRuntime name
DecorSetIntNamespaceDECORATOR
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x0CE3AA5E1CA19E10Signature
BOOL DECOR_SET_INT(Entity entity, const char* propertyName, int value);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
propertyName | const char* | — |
value | int | — |
Returns BOOL
Description
Sets property to int.
Usage
local retval = DecorSetInt(entity, propertyName, value)
-- always works, by hash
local retval = Citizen.InvokeNative(0xE88F4D7F52A6090F, entity, propertyName, value, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = DecorSetInt(entity, propertyName, value);
// by hash
const retval = Citizen.invokeNative('0xE88F4D7F52A6090F', entity, propertyName, value, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xE88F4D7F52A6090F, entity, propertyName, value);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.