GET_UNIQUE_INT_FOR_PLAYER
Returns a unique integer identifying the player in the session.
Signature
int GET_UNIQUE_INT_FOR_PLAYER(Player player); // 0x07F723401B9D921C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | player | Player |
Facts
| Name | GET_UNIQUE_INT_FOR_PLAYER |
|---|---|
| Hash | 0x07F723401B9D921C |
| 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(0x07F723401B9D921C, -- GET_UNIQUE_INT_FOR_PLAYER
PlayerId(), -- Player player
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x07F723401B9D921C", // GET_UNIQUE_INT_FOR_PLAYER
PlayerId(), // Player player
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x07F723401B9D921C, // GET_UNIQUE_INT_FOR_PLAYER
API.PlayerId() // Player player
);Related NETWORK natives
- _SET_LOCAL_PLAYER_DAMAGE_MULTIPLIER_FOR_PLAYER
- GET_CLOUD_TIME_AS_INT
- _GET_PLAYER_WAYPOINT_IS_ACTIVE
- _GET_RESERVED_MISSION_ENTITIES_FOR_THREAD
- _NETWORK_GET_PLAYER_FAST_INSTANCE_ID
- _NETWORK_GET_PLAYER_OWNER_OF_NETWORK_ID
- _NETWORK_GET_SIZE_OF_PLAYER_BROADCAST_DATA_STORAGE
- _SET_PLAYER_VISIBILITY_TO_LOCAL_PLAYER_DISABLED
- NETWORK_GET_ENTITY_KILLER_OF_PLAYER
- NETWORK_GET_PLAYER_FROM_GAMER_HANDLE
- NETWORK_GET_PLAYER_INDEX
- NETWORK_GET_PLAYER_INDEX_FROM_PED
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.