RedM Natives

SET_PLAYER_VISIBLE_LOCALLY

Hash0xFAA10F1FAFB11AF2
Runtime nameSetPlayerVisibleLocally
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xFAA10F1FAFB11AF2

Signature

void SET_PLAYER_VISIBLE_LOCALLY(Player player, BOOL toggle);

Parameters

NameTypeDescription
playerPlayer—
toggleBOOL—

Returns void

Usage

Lua
SetPlayerVisibleLocally(player, toggle)

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

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

Sources

alloc8or RDR3 NativeDB

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