DECOR_SET_STRING
Hash
0x0671C1A3FF7AFDFCRuntime name
DecorSetStringNamespaceDECORATOR
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL DECOR_SET_STRING(Entity entity, const char* propertyName, const char* value);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
propertyName | const char* | — |
value | const char* | — |
Returns BOOL
Usage
local retval = DecorSetString(entity, propertyName, value)
-- always works, by hash
local retval = Citizen.InvokeNative(0x0671C1A3FF7AFDFC, entity, propertyName, value, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = DecorSetString(entity, propertyName, value);
// by hash
const retval = Citizen.invokeNative('0x0671C1A3FF7AFDFC', entity, propertyName, value, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x0671C1A3FF7AFDFC, entity, propertyName, value);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.