RedM Natives

IS_ENTITY_VISIBLE

Hash0xFFC96ECB7FA404CA
Runtime nameIsEntityVisible
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x47D6F43D77935C75

Signature

BOOL IS_ENTITY_VISIBLE(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = IsEntityVisible(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0xFFC96ECB7FA404CA, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsEntityVisible(entity);

// by hash
const retval = Citizen.invokeNative('0xFFC96ECB7FA404CA', entity, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xFFC96ECB7FA404CA, entity);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.