IS_ENTITY_TOUCHING_ENTITY
Hash
0x9A2304A64C3C8423Runtime name
IsEntityTouchingEntityNamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x17FFC1B2BA35A494Signature
BOOL IS_ENTITY_TOUCHING_ENTITY(Entity entity, Entity targetEntity);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
targetEntity | Entity | — |
Returns BOOL
Usage
local retval = IsEntityTouchingEntity(entity, targetEntity)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9A2304A64C3C8423, entity, targetEntity, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsEntityTouchingEntity(entity, targetEntity);
// by hash
const retval = Citizen.invokeNative('0x9A2304A64C3C8423', entity, targetEntity, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x9A2304A64C3C8423, entity, targetEntity);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.