{"hash":"0x7E02E4218D916B94","ns":"PED","name":"_GET_SHOP_ITEM_HAT_COMPONENT","slug":"_GET_SHOP_ITEM_HAT_COMPONENT","official":false,"named":true,"luaName":"GetShopItemHatComponent","game":"rdr3","apiset":"client","returnType":"Any","params":[{"name":"ped","type":"Ped"},{"name":"metapedType","type":"int"},{"name":"p2","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":["eMetaPedType"],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/_GET_SHOP_ITEM_HAT_COMPONENT","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_SHOP_ITEM_HAT_COMPONENT.md","snippets":{"lua":"local retval = GetShopItemHatComponent(ped, metapedType, p2)","luaInvoke":"local retval = Citizen.InvokeNative(0x7E02E4218D916B94, ped, metapedType, p2, Citizen.ResultAsInteger())","js":"const retval = GetShopItemHatComponent(ped, metapedType, p2);","jsInvoke":"const retval = Citizen.invokeNative('0x7E02E4218D916B94', ped, metapedType, p2, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x7E02E4218D916B94, ped, metapedType, p2);","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."]}}