GET_ENTITY_COLLISION_DISABLED
Signature
bool GET_ENTITY_COLLISION_DISABLED(Entity entity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | The target entity. |
Returns bool — Returns whether or not entity collisions are disabled.
Usage
local retval = GetEntityCollisionDisabled(entity)
-- always works, by hash
local retval = Citizen.InvokeNative(0xe8c0c629, entity, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = GetEntityCollisionDisabled(entity);
// by hash
const retval = Citizen.invokeNative('0xe8c0c629', entity, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xe8c0c629, entity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.