The Lab
NETWORK native

_SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED

returns void2 paramsbuild 1207

Hides or shows the given player for the local player only.

Signature

C
void _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED(Player player, BOOL disabled); // 0xDCA6ABDB9288FBE4 b1207

Parameters

#NameType
1playerPlayer
2disabledBOOL

Facts

Facts about _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
Name
_SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
Hash
0xDCA6ABDB9288FBE4
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xDCA6ABDB9288FBE4, -- _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
  PlayerId(), -- Player player
  false -- BOOL disabled
)
JavaScript
Citizen.invokeNative("0xDCA6ABDB9288FBE4", // _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
  PlayerId(), // Player player
  false // BOOL disabled
);
C#
Function.Call((Hash)0xDCA6ABDB9288FBE4, // _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
  API.PlayerId(), // Player player
  false // BOOL disabled
);
All NETWORK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.