_IS_HAT_BEING_PICKED_UP
Returns true while a hat is being picked up
Hash
0x11CD066F54DA0133Runtime name
IsHatBeingPickedUpNamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
BOOL _IS_HAT_BEING_PICKED_UP(Object hatObject);Parameters
| Name | Type | Description |
|---|---|---|
hatObject | Object | — |
Returns BOOL
Description
Returns true while a hat is being picked up
_IS_A* - _IS_D*
new name _IS_CARRIABLE_HAT_PICKUP_AVAILABLE, Checks if a carriable hat object on the ground can currently be picked up
Usage
local retval = IsHatBeingPickedUp(hatObject)
-- always works, by hash
local retval = Citizen.InvokeNative(0x11CD066F54DA0133, hatObject, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsHatBeingPickedUp(hatObject);
// by hash
const retval = Citizen.invokeNative('0x11CD066F54DA0133', hatObject, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x11CD066F54DA0133, hatObject);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.