RedM Natives

IS_OBJECT_VISIBLE

Hash0x8B32ACE6326A7546
Runtime nameIsObjectVisible
NamespaceOBJECT
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x8B32ACE6326A7546

Signature

BOOL IS_OBJECT_VISIBLE(Object object);

Parameters

NameTypeDescription
objectObject—

Returns BOOL

Usage

Lua
local retval = IsObjectVisible(object)

-- always works, by hash
local retval = Citizen.InvokeNative(0x8B32ACE6326A7546, object, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsObjectVisible(object);

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

Sources

alloc8or RDR3 NativeDB

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