{"hash":"0x11CD066F54DA0133","ns":"TASK","name":"_IS_HAT_BEING_PICKED_UP","slug":"_IS_HAT_BEING_PICKED_UP","official":false,"named":true,"luaName":"IsHatBeingPickedUp","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\n_IS_A* - _IS_D*"},{"source":"vorp","format":"text","body":"new name _IS_CARRIABLE_HAT_PICKUP_AVAILABLE, Checks if a carriable hat object on the ground can currently be picked up"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_IS_HAT_BEING_PICKED_UP","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_IS_HAT_BEING_PICKED_UP.md","snippets":{"lua":"local retval = IsHatBeingPickedUp(hatObject)","luaInvoke":"local retval = Citizen.InvokeNative(0x11CD066F54DA0133, hatObject, Citizen.ReturnResultAnyway())","js":"const retval = IsHatBeingPickedUp(hatObject);","jsInvoke":"const retval = Citizen.invokeNative('0x11CD066F54DA0133', hatObject, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x11CD066F54DA0133, 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."]}}