_COLLECTABLE_GET_NUM_FOUND
Returns how many times the given collectable item has been found.
Signature
int _COLLECTABLE_GET_NUM_FOUND(Hash collectableItem); // 0xF83D3DDA4D3C8169 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | collectableItem | Hash |
Facts
| Name | _COLLECTABLE_GET_NUM_FOUND |
|---|---|
| Hash | 0xF83D3DDA4D3C8169 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xF83D3DDA4D3C8169, -- _COLLECTABLE_GET_NUM_FOUND
GetHashKey("name"), -- Hash collectableItem
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0xF83D3DDA4D3C8169", // _COLLECTABLE_GET_NUM_FOUND
GetHashKey("name"), // Hash collectableItem
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xF83D3DDA4D3C8169, // _COLLECTABLE_GET_NUM_FOUND
(uint)API.GetHashKey("name") // Hash collectableItem
);Related COLLECTABLE natives
- _COLLECTABLE_CATEGORY_GET_NUM_FOUND
- _COLLECTABLE_GET_NUM_TURNED_IN
- _COLLECTABLE_GET_COLLECTABLE_ITEM_HASH
- _COLLECTABLE_CATEGORY_GET_NUM_COLLECTABLES
- _COLLECTABLE_CATEGORY_GET_NUM_TURNED_IN
- _COLLECTABLE_INCREMENT_NUM_FOUND
- _COLLECTABLE_GET_CATEGORY
- _COLLECTABLE_GET_IPL
- _COLLECTABLE_GET_PLACEMENT_LOCATION
- _COLLECTABLE_GET_SUBCATEGORY
- _COLLECTABLE_CATEGORY_GET_TOAST_TEXTURE_DICTIONARY
- _COLLECTABLE_CATEGORY_GET_TOAST_TEXTURE_NAME
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.