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