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