RDR3 match
NETWORK::NETWORK_GET_PLAYER_INDEX_FROM_PED
0xDA9EFD8793F1D1FE ·RVA 0x04C14C00
Signature
Player NETWORK_GET_PLAYER_INDEX_FROM_PED(Ped ped);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
Returns
Player
Call it
// NETWORK::NETWORK_GET_PLAYER_INDEX_FROM_PED
auto result = invoke<Player>(0xDA9EFD8793F1D1FE, ped);// NETWORK::NETWORK_GET_PLAYER_INDEX_FROM_PED
int result = Function.Call<int>((Hash)0xDA9EFD8793F1D1FE, ped);-- NETWORK::NETWORK_GET_PLAYER_INDEX_FROM_PED
local result = Citizen.InvokeNative(0xDA9EFD8793F1D1FE, ped)// NETWORK::NETWORK_GET_PLAYER_INDEX_FROM_PED
const result = Citizen.invokeNative("0xDA9EFD8793F1D1FE", ped);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.