{"hash":"0x6B67320E0D57856A","ns":"PED","name":"_REFRESH_CARRIED_PED_FOR_PED","slug":"_REFRESH_CARRIED_PED_FOR_PED","official":false,"named":true,"luaName":"RefreshCarriedPedForPed","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"carriedPed","type":"Ped*"},{"name":"p2","type":"int"},{"name":"p3","type":"BOOL"}],"summary":"Outputs the carried ped.","descriptions":[{"source":"alloc8or","format":"text","body":"Outputs the carried ped.\nParams: p2 is alsways 2, p3 is always false."},{"source":"vorp","format":"text","body":"Retruns the carried ped"}],"examples":[{"lang":"lua","code":"local carriedPed = Citizen.InvokeNative(0x6B67320E0D57856A, PlayerPedId(), Citizen.PointerValueInt(), 2,false)","source":"vorp"}],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":3,"url":"https://natives.borderlinerp.com/natives/PED/_REFRESH_CARRIED_PED_FOR_PED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_REFRESH_CARRIED_PED_FOR_PED.md","snippets":{"lua":"local carriedPed = RefreshCarriedPedForPed(ped, p2, p3)","luaInvoke":"local carriedPed = Citizen.InvokeNative(0x6B67320E0D57856A, ped, Citizen.PointerValueInt(), p2, p3)","js":"const carriedPed = RefreshCarriedPedForPed(ped, p2, p3);","jsInvoke":"const carriedPed = Citizen.invokeNative('0x6B67320E0D57856A', ped, Citizen.pointerValueInt(), p2, p3);","csharp":"var carriedPed = new OutputArgument();\nFunction.Call((Hash)0x6B67320E0D57856A, ped, carriedPed, p2, p3);\n// carriedPed.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}