{"hash":"0xEAF682A14F8E5F53","ns":"PED","name":"_CREATE_META_PED_OUTFIT_PED","slug":"_CREATE_META_PED_OUTFIT_PED","official":false,"named":true,"luaName":"CreateMetaPedOutfitPed","game":"rdr3","apiset":"client","returnType":"Ped","params":[{"name":"requestId","type":"int"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"heading","type":"float"},{"name":"p5","type":"BOOL"},{"name":"p6","type":"BOOL"},{"name":"p7","type":"BOOL"},{"name":"p8","type":"BOOL"}],"summary":"Creates metaped from ped outfit requestId.","descriptions":[{"source":"alloc8or","format":"text","body":"Creates metaped from ped outfit requestId. See _REQUEST_METAPED_OUTFIT"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_CREATE_META_PED_OUTFIT_PED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_CREATE_META_PED_OUTFIT_PED.md","snippets":{"lua":"local retval = CreateMetaPedOutfitPed(requestId, x, y, z, heading, p5, p6, p7, p8)","luaInvoke":"local retval = Citizen.InvokeNative(0xEAF682A14F8E5F53, requestId, x, y, z, heading, p5, p6, p7, p8, Citizen.ResultAsInteger())","js":"const retval = CreateMetaPedOutfitPed(requestId, x, y, z, heading, p5, p6, p7, p8);","jsInvoke":"const retval = Citizen.invokeNative('0xEAF682A14F8E5F53', requestId, x + 0.0000001, y + 0.0000001, z + 0.0000001, heading + 0.0000001, p5, p6, p7, p8, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xEAF682A14F8E5F53, requestId, x, y, z, heading, p5, p6, p7, p8);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","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."]}}