isEntityFocus
IS_ENTITY_FOCUS0x2DDFF3FB9075D747The GTA V native IS_ENTITY_FOCUS of the STREAMING namespace, as LS:MP client scripts call it: the global function isEntityFocus, in JavaScript and in Lua.
isEntityFocus(entity: Entity): booleanisEntityFocus(entity: Entity): booleanUsage
JavaScript
const result = isEntityFocus(entity);Lua
local result = isEntityFocus(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Streaming STREAMING
- In the game
BOOL IS_ENTITY_FOCUS(Entity entity)- Hash
0x2DDFF3FB9075D747