RedM Natives

SET_ENTITY_VISIBLE

Hash0x1794B4FCC84D812F
Runtime nameSetEntityVisible
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xEA1C610A04DB6BBB

Signature

void SET_ENTITY_VISIBLE(Entity entity, BOOL toggle);

Parameters

NameTypeDescription
entityEntity—
toggleBOOL—

Returns void

Usage

Lua
SetEntityVisible(entity, toggle)

-- always works, by hash
Citizen.InvokeNative(0x1794B4FCC84D812F, entity, toggle)
JavaScript and C#
JavaScript
SetEntityVisible(entity, toggle);

// by hash
Citizen.invokeNative('0x1794B4FCC84D812F', entity, toggle);
C#
Function.Call((Hash)0x1794B4FCC84D812F, entity, toggle);

See also

Sources

alloc8or RDR3 NativeDB

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