_SET_ENTITY_CARCASS_TYPE
Changes type and quality of skins type hashes:
Hash
0x399657ED871B3A6CRuntime name
SetEntityCarcassTypeNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_ENTITY_CARCASS_TYPE(Entity entity, Hash type);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
type | Hash | — |
Returns void
Description
Changes type and quality of skins
type hashes: https://pastebin.com/C1WvQjCy
Usage
SetEntityCarcassType(entity, type)
-- always works, by hash
Citizen.InvokeNative(0x399657ED871B3A6C, entity, type)JavaScript and C#
SetEntityCarcassType(entity, type);
// by hash
Citizen.invokeNative('0x399657ED871B3A6C', entity, type);Function.Call((Hash)0x399657ED871B3A6C, entity, type);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.