isEntityTouchingModel
IS_ENTITY_TOUCHING_MODEL0x0F42323798A58C8CThe GTA V native IS_ENTITY_TOUCHING_MODEL of the ENTITY namespace, as LS:MP client scripts call it: the global function isEntityTouchingModel, in JavaScript and in Lua.
isEntityTouchingModel(entity: Entity, modelHash: Hash): booleanisEntityTouchingModel(entity: Entity, modelHash: Hash): booleanUsage
JavaScript
const result = isEntityTouchingModel(entity, modelHash);Lua
local result = isEntityTouchingModel(entity, modelHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
modelHash | Hash | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Entity ENTITY
- In the game
BOOL IS_ENTITY_TOUCHING_MODEL(Entity entity, Hash modelHash)- Hash
0x0F42323798A58C8C