_SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
Hides or shows the given player for the local player only.
Signature
void _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED(Player player, BOOL disabled); // 0xDCA6ABDB9288FBE4 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | disabled | BOOL |
Facts
| 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.
Citizen.InvokeNative(0xDCA6ABDB9288FBE4, -- _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
PlayerId(), -- Player player
false -- BOOL disabled
)Citizen.invokeNative("0xDCA6ABDB9288FBE4", // _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
PlayerId(), // Player player
false // BOOL disabled
);Function.Call((Hash)0xDCA6ABDB9288FBE4, // _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
API.PlayerId(), // Player player
false // BOOL disabled
);Related NETWORK natives
- _SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER
- _SET_LOCAL_PLAYER_DAMAGE_MULTIPLIER_FOR_PLAYER
- NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME
- NETWORK_SET_LOCAL_PLAYER_PENDING_FAST_INSTANCE_ID
- NETWORK_SET_LOCAL_PLAYER_SYNC_LOOK_AT
- SET_LOCAL_PLAYER_AS_GHOST
- SET_LOCAL_PLAYER_INVISIBLE_LOCALLY
- SET_LOCAL_PLAYER_VISIBLE_IN_CUTSCENE
- _LOCAL_PLAYER_PEDSHOT_TEXTURE_DOWNLOAD_REQUEST
- _NETWORK_ADD_PLAYER_TO_RECENT_GAMERS_LIST
- _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_MERGE
- _NETWORK_AUTO_SESSION_SET_ALLOWED_TO_SPLIT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.