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