IS_OBJECT_A_PORTABLE_PICKUP
Returns true if the object is a portable pickup.
Signature
BOOL IS_OBJECT_A_PORTABLE_PICKUP(Object object); // 0x0378C08504160D0D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | object | Object |
Facts
| Name | IS_OBJECT_A_PORTABLE_PICKUP |
|---|---|
| Hash | 0x0378C08504160D0D |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x0378C08504160D0D, -- IS_OBJECT_A_PORTABLE_PICKUP
0 -- Object object
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x0378C08504160D0D", // IS_OBJECT_A_PORTABLE_PICKUP
0, // Object object
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x0378C08504160D0D, // IS_OBJECT_A_PORTABLE_PICKUP
0 // Object object
);Related OBJECT natives
- IS_OBJECT_VISIBLE
- _HIDE_PICKUP_OBJECT
- _IS_PICKUP_PICKABLE_FOR_TEAM
- _IS_PICKUP_TYPE_VALID
- ATTACH_PORTABLE_PICKUP_TO_PED
- CREATE_PORTABLE_PICKUP
- DETACH_PORTABLE_PICKUP_FROM_PED
- DOES_PICKUP_OBJECT_EXIST
- GET_PICKUP_OBJECT
- PREVENT_COLLECTION_OF_PORTABLE_PICKUP
- SET_ACTIVATE_OBJECT_PHYSICS_AS_SOON_AS_IT_IS_UNFROZEN
- SET_TEAM_PICKUP_OBJECT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.