RedM Natives

SET_PLAYER_INVISIBLE_LOCALLY

Hash0x12B37D54667DB0B8
Runtime nameSetPlayerInvisibleLocally
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x12B37D54667DB0B8

Signature

void SET_PLAYER_INVISIBLE_LOCALLY(Player player, BOOL toggle);

Parameters

NameTypeDescription
playerPlayer—
toggleBOOL—

Returns void

Usage

Lua
SetPlayerInvisibleLocally(player, toggle)

-- always works, by hash
Citizen.InvokeNative(0x12B37D54667DB0B8, player, toggle)
JavaScript and C#
JavaScript
SetPlayerInvisibleLocally(player, toggle);

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

Sources

alloc8or RDR3 NativeDB

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