The Lab
OBJECT native

GET_PICKUP_OBJECT

returns Object1 parambuild 1207

Returns the object associated with the pickup.

Signature

C
Object GET_PICKUP_OBJECT(Pickup pickup); // 0x5099BC55630B25AE b1207

Parameters

#NameType
1pickupPickup

Facts

Facts about GET_PICKUP_OBJECT
Name
GET_PICKUP_OBJECT
Hash
0x5099BC55630B25AE
Namespace
Returns
Object
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local objectOut = Citizen.InvokeNative(0x5099BC55630B25AE, -- GET_PICKUP_OBJECT
  0, -- Pickup pickup
  Citizen.ResultAsInteger()
)
print(objectOut)
JavaScript
const objectOut = Citizen.invokeNative("0x5099BC55630B25AE", // GET_PICKUP_OBJECT
  0, // Pickup pickup
  Citizen.resultAsInteger()
);
console.log(objectOut)
C#
int objectOut = Function.Call<int>((Hash)0x5099BC55630B25AE, // GET_PICKUP_OBJECT
  0 // Pickup pickup
);
All OBJECT natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.