{"hash":"0xAA0AF6025160243A","ns":"TASK","name":"_TASK_EQUIP_HAT","slug":"_TASK_EQUIP_HAT","official":false,"named":true,"luaName":"TaskEquipHat","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"hatObject","type":"Object"},{"name":"ped","type":"Ped"}],"summary":"Immediately applies the given hat to the ped’s head without any animation Directly equips the hat, skipping the pickup anim flow","descriptions":[{"source":"alloc8or","format":"text","body":"_A*"},{"source":"vorp","format":"text","body":"Immediately applies the given hat to the ped’s head without any animation Directly equips the hat, skipping the pickup anim flow"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_TASK_EQUIP_HAT","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_TASK_EQUIP_HAT.md","snippets":{"lua":"TaskEquipHat(hatObject, ped)","luaInvoke":"Citizen.InvokeNative(0xAA0AF6025160243A, hatObject, ped)","js":"TaskEquipHat(hatObject, ped);","jsInvoke":"Citizen.invokeNative('0xAA0AF6025160243A', hatObject, ped);","csharp":"Function.Call((Hash)0xAA0AF6025160243A, hatObject, ped);","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."]}}