{"hash":"0xF97C34C33487D569","ns":"PED","name":"_REQUEST_META_PED","slug":"_REQUEST_META_PED","official":false,"named":true,"luaName":"RequestMetaPed","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"model","type":"Hash"},{"name":"p1","type":"int"}],"summary":"Returns requestId","descriptions":[{"source":"alloc8or","format":"text","body":"Returns requestId\nParams: p1 = 1 in R* Scripts (Used in SP only)"}],"examples":[],"aliases":[],"enums":[],"related":["0x0BCD4091C8EABA42"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_REQUEST_META_PED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_REQUEST_META_PED.md","snippets":{"lua":"local retval = RequestMetaPed(model, p1)","luaInvoke":"local retval = Citizen.InvokeNative(0xF97C34C33487D569, model, p1, Citizen.ResultAsInteger())","js":"const retval = RequestMetaPed(model, p1);","jsInvoke":"const retval = Citizen.invokeNative('0xF97C34C33487D569', model, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xF97C34C33487D569, model, p1);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","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."]}}