RedM Natives

GET_ENTITY_COLLISION_DISABLED

Hash0xE8C0C629
Runtime nameGetEntityCollisionDisabled
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

bool GET_ENTITY_COLLISION_DISABLED(Entity entity);

Parameters

NameTypeDescription
entityEntity

The target entity.

Returns bool — Returns whether or not entity collisions are disabled.

Usage

Lua
local retval = GetEntityCollisionDisabled(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0xe8c0c629, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetEntityCollisionDisabled(entity);

// by hash
const retval = Citizen.invokeNative('0xe8c0c629', entity, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xe8c0c629, entity);

Sources

Cfx.re native reference

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.