{"hash":"0x6C0E2E0125610278","ns":"NETWORK","name":"NETWORK_GET_PLAYER_INDEX_FROM_PED","slug":"NETWORK_GET_PLAYER_INDEX_FROM_PED","official":true,"named":true,"luaName":"NetworkGetPlayerIndexFromPed","game":"rdr3","apiset":"client","returnType":"Player","params":[{"name":"ped","type":"Ped"}],"summary":"Returns the Player associated to a given Ped when in an online session.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the Player associated to a given Ped when in an online session."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x6C0E2E0125610278","gtaJhash":"0x40DBF464","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_PLAYER_INDEX_FROM_PED","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/NETWORK_GET_PLAYER_INDEX_FROM_PED.md","snippets":{"lua":"local retval = NetworkGetPlayerIndexFromPed(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x6C0E2E0125610278, ped, Citizen.ResultAsInteger())","js":"const retval = NetworkGetPlayerIndexFromPed(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x6C0E2E0125610278', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x6C0E2E0125610278, ped);","notes":[]}}