_NETWORK_GET_PLAYER_FAST_INSTANCE_ID
Returns the fast instance id the player is in.
Signature
int _NETWORK_GET_PLAYER_FAST_INSTANCE_ID(Player player); // 0xD9267375834C5EAB b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | _NETWORK_GET_PLAYER_FAST_INSTANCE_ID |
|---|---|
| Hash | 0xD9267375834C5EAB |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xD9267375834C5EAB, -- _NETWORK_GET_PLAYER_FAST_INSTANCE_ID
PlayerId(), -- Player player
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xD9267375834C5EAB", // _NETWORK_GET_PLAYER_FAST_INSTANCE_ID
PlayerId(), // Player player
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xD9267375834C5EAB, // _NETWORK_GET_PLAYER_FAST_INSTANCE_ID
API.PlayerId() // Player player
);Related NETWORK natives
- _NETWORK_GET_PLAYER_OWNER_OF_NETWORK_ID
- _NETWORK_GET_INSTANCE_ID_OF_THREAD
- _NETWORK_GET_PLATFORM_INVITE_ID
- NETWORK_GET_NETWORK_ID_FROM_ROPE_ID
- NETWORK_GET_ROPE_ID_FROM_NETWORK_ID
- NETWORK_SET_LOCAL_PLAYER_PENDING_FAST_INSTANCE_ID
- _NETWORK_GET_SIZE_OF_PLAYER_BROADCAST_DATA_STORAGE
- _NETWORK_SESSION_GET_SESSION_ID
- KEEP_NETWORK_ID_IN_FAST_INSTANCE
- NETWORK_GET_DESTROYER_OF_NETWORK_ID
- NETWORK_GET_ENTITY_FROM_NETWORK_ID
- NETWORK_GET_INSTANCE_ID_OF_THIS_SCRIPT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.