The Lab
COLLECTABLE native

_COLLECTABLE_INCREMENT_NUM_FOUND

returns void2 paramsbuild 1207

Increases the found count of the collectable item by amount.

Signature

C
void _COLLECTABLE_INCREMENT_NUM_FOUND(Hash collectableItem, int amount); // 0x3EA62E56F386C997 b1207

Parameters

#NameType
1collectableItemHash
2amountint

Facts

Facts about _COLLECTABLE_INCREMENT_NUM_FOUND
Name
_COLLECTABLE_INCREMENT_NUM_FOUND
Hash
0x3EA62E56F386C997
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x3EA62E56F386C997, -- _COLLECTABLE_INCREMENT_NUM_FOUND
  GetHashKey("name"), -- Hash collectableItem
  0 -- int amount
)
JavaScript
Citizen.invokeNative("0x3EA62E56F386C997", // _COLLECTABLE_INCREMENT_NUM_FOUND
  GetHashKey("name"), // Hash collectableItem
  0 // int amount
);
C#
Function.Call((Hash)0x3EA62E56F386C997, // _COLLECTABLE_INCREMENT_NUM_FOUND
  (uint)API.GetHashKey("name"), // Hash collectableItem
  0 // int amount
);
All COLLECTABLE natives

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