{"hash":"0x4ECCC2815CA79AE2","ns":"TASK","name":"_IS_HAT_BEING_PICKED_UP_2","slug":"_IS_HAT_BEING_PICKED_UP_2","official":false,"named":true,"luaName":"IsHatBeingPickedUp_2","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"hatObject","type":"Object"}],"summary":"Returns true while a hat is being picked up.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns true while a hat is being picked up. Similar to 0x11CD066F54DA0133\n_IS_A* - _IS_D*"},{"source":"vorp","format":"text","body":"old name _IS_HAT_BEING_PICKED_UP_2\nReturns whether a carriable hat equip request is currently active Usually becomes true right after `_REQUEST_CARRIABLE_HAT_EQUIP_TO_PED` is called"}],"examples":[],"aliases":["_IS_CARRIABLE_HAT_PICKUP_REQUEST_ACTIVE"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_IS_HAT_BEING_PICKED_UP_2","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_IS_HAT_BEING_PICKED_UP_2.md","snippets":{"lua":"local retval = IsHatBeingPickedUp_2(hatObject)","luaInvoke":"local retval = Citizen.InvokeNative(0x4ECCC2815CA79AE2, hatObject, Citizen.ReturnResultAnyway())","js":"const retval = IsHatBeingPickedUp_2(hatObject);","jsInvoke":"const retval = Citizen.invokeNative('0x4ECCC2815CA79AE2', hatObject, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x4ECCC2815CA79AE2, hatObject);","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."]}}