{"hash":"0x4D0D2E3D8BC000EB","ns":"PED","name":"_GET_PED_REGISTER_PROP","slug":"_GET_PED_REGISTER_PROP","official":false,"named":true,"luaName":"GetPedRegisterProp","game":"rdr3","apiset":"client","returnType":"Entity","params":[{"name":"ped","type":"Ped"},{"name":"propName","type":"const char*"},{"name":"detachProp","type":"BOOL"}],"summary":"Gets a registered/attached prop entity for a particular ped.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets a registered/attached prop entity for a particular ped. Second parameter will detach the prop entity from the ped if true. Props primarily appear to come from scenarios, such as a broom or hay bale.\n\nKnown props: https://pastebin.com/ap2NEJqB"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_GET_PED_REGISTER_PROP","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_PED_REGISTER_PROP.md","snippets":{"lua":"local retval = GetPedRegisterProp(ped, propName, detachProp)","luaInvoke":"local retval = Citizen.InvokeNative(0x4D0D2E3D8BC000EB, ped, propName, detachProp, Citizen.ResultAsInteger())","js":"const retval = GetPedRegisterProp(ped, propName, detachProp);","jsInvoke":"const retval = Citizen.invokeNative('0x4D0D2E3D8BC000EB', ped, propName, detachProp, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x4D0D2E3D8BC000EB, ped, propName, detachProp);","notes":["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."]}}