SET_PLAYER_INVISIBLE_LOCALLY
Makes the player invisible on the local machine for the current frame.
Signature
void SET_PLAYER_INVISIBLE_LOCALLY(Player player, BOOL toggle); // 0x12B37D54667DB0B8 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
| 2 | toggle | BOOL |
Facts
| Name | SET_PLAYER_INVISIBLE_LOCALLY |
|---|---|
| Hash | 0x12B37D54667DB0B8 |
| 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(0x12B37D54667DB0B8, -- SET_PLAYER_INVISIBLE_LOCALLY
PlayerId(), -- Player player
false -- BOOL toggle
)Citizen.invokeNative("0x12B37D54667DB0B8", // SET_PLAYER_INVISIBLE_LOCALLY
PlayerId(), // Player player
false // BOOL toggle
);Function.Call((Hash)0x12B37D54667DB0B8, // SET_PLAYER_INVISIBLE_LOCALLY
API.PlayerId(), // Player player
false // BOOL toggle
);Related NETWORK natives
- SET_LOCAL_PLAYER_INVISIBLE_LOCALLY
- SET_PLAYER_VISIBLE_LOCALLY
- _SET_LOCAL_PLAYER_DAMAGE_MULTIPLIER_FOR_PLAYER
- _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
- SET_LOCAL_PLAYER_AS_GHOST
- SET_LOCAL_PLAYER_VISIBLE_IN_CUTSCENE
- SET_NETWORK_ID_ALWAYS_EXISTS_FOR_PLAYER
- _NETWORK_SESSION_SET_PLAYER_FLAGS
- _SET_ENTITY_GHOSTED_TO_LOCAL_PLAYER
- NETWORK_SET_LOCAL_PLAYER_INVINCIBLE_TIME
- NETWORK_SET_LOCAL_PLAYER_PENDING_FAST_INSTANCE_ID
- NETWORK_SET_LOCAL_PLAYER_SYNC_LOOK_AT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.