RedM Natives

HAS_ENTITY_COLLIDED_WITH_ANYTHING

Hash0xDF18751EC74F90FF
Runtime nameHasEntityCollidedWithAnything
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x8BAD02F0368D9E14

Signature

BOOL HAS_ENTITY_COLLIDED_WITH_ANYTHING(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = HasEntityCollidedWithAnything(entity)

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

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

Sources

alloc8or RDR3 NativeDB

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