{"hash":"0xA9C28516A6DC9D56","ns":"PED","name":"GET_META_PED_ASSET_GUIDS","slug":"GET_META_PED_ASSET_GUIDS","official":true,"named":true,"luaName":"GetMetaPedAssetGuids","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"index","type":"int"},{"name":"drawable","type":"Hash*"},{"name":"albedo","type":"Hash*"},{"name":"normal","type":"Hash*"},{"name":"material","type":"Hash*"}],"summary":"This is a way to get what drawables a ped has equipped","descriptions":[{"source":"alloc8or","format":"text","body":"This is a way to get what drawables a ped has equipped\nExample: you are able to tell if the ped has the drawable PLAYER_ZERO_HAT_017 attached\nNote: this works with non shop components, direct .ydd files."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/GET_META_PED_ASSET_GUIDS","markdownUrl":"https://natives.borderlinerp.com/natives/PED/GET_META_PED_ASSET_GUIDS.md","snippets":{"lua":"local retval, drawable, albedo, normal, material = GetMetaPedAssetGuids(ped, index)","luaInvoke":"local retval, drawable, albedo, normal, material = Citizen.InvokeNative(0xA9C28516A6DC9D56, ped, index, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())","js":"const [retval, drawable, albedo, normal, material] = GetMetaPedAssetGuids(ped, index);","jsInvoke":"const [retval, drawable, albedo, normal, material] = Citizen.invokeNative('0xA9C28516A6DC9D56', ped, index, Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());","csharp":"var drawable = new OutputArgument();\nvar albedo = new OutputArgument();\nvar normal = new OutputArgument();\nvar material = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xA9C28516A6DC9D56, ped, index, drawable, albedo, normal, material);\n// drawable.GetResult<int>()\n// albedo.GetResult<int>()\n// normal.GetResult<int>()\n// material.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order."]}}