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