DECOR_GET_INT
Hash
0x44DB62727762FD9BRuntime name
DecorGetIntNamespaceDECORATOR
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xA06C969B02A97298Signature
int DECOR_GET_INT(Entity entity, const char* propertyName);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
propertyName | const char* | — |
Returns int
Usage
local retval = DecorGetInt(entity, propertyName)
-- always works, by hash
local retval = Citizen.InvokeNative(0x44DB62727762FD9B, entity, propertyName, Citizen.ResultAsInteger())JavaScript and C#
const retval = DecorGetInt(entity, propertyName);
// by hash
const retval = Citizen.invokeNative('0x44DB62727762FD9B', entity, propertyName, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x44DB62727762FD9B, entity, propertyName);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.