NETWORK_PLAYER_ID_TO_INT
Returns the local network player id as an integer.
Signature
int NETWORK_PLAYER_ID_TO_INT(); // 0x8A9386F0749A17FA b1207Parameters
This native takes no parameters.
Facts
| Name | NETWORK_PLAYER_ID_TO_INT |
|---|---|
| Hash | 0x8A9386F0749A17FA |
| 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(0x8A9386F0749A17FA, -- NETWORK_PLAYER_ID_TO_INT
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x8A9386F0749A17FA", // NETWORK_PLAYER_ID_TO_INT
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x8A9386F0749A17FA); // NETWORK_PLAYER_ID_TO_INTRelated PLAYER natives
- _NETWORK_HAS_PLAYER_VALID_PED
- INT_TO_PARTICIPANTINDEX
- INT_TO_PLAYERINDEX
- PLAYER_ID
- PLAYER_PED_ID
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET
- _ADD_AMBIENT_PLAYER_INTERACTIVE_FOCUS_PRESET_AT_COORDS
- _ADD_PLAYER_AS_FOLLOW_TARGET
- _CLEAR_PED_EAGLE_EYE_TRAILS_FOR_PLAYER
- _DISABLE_PLAYER_INTERACTIVE_FOCUS_PRESET
- _EAGLE_EYE_CAN_PLAYER_FOCUS_ON_TRACK
- _EAGLE_EYE_GET_TRACKED_PED_ID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.