EntityClient

doesEntityHavePhysics

DOES_ENTITY_HAVE_PHYSICS0xDA95EA3317CC5064

The 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.

SignatureJavaScript
doesEntityHavePhysics(entity: Entity): boolean
SignatureLua
doesEntityHavePhysics(entity: Entity): boolean

Usage

JavaScript
const result = doesEntityHavePhysics(entity);
Lua
local result = doesEntityHavePhysics(entity)

Parameters

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Entity ENTITY
In the game
BOOL DOES_ENTITY_HAVE_PHYSICS(Entity entity)
Hash
0xDA95EA3317CC5064

Open in the interactive natives reference