_COLLECTABLE_INCREMENT_NUM_FOUND
Hash
0x3EA62E56F386C997Runtime name
CollectableIncrementNumFoundNamespaceCOLLECTABLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _COLLECTABLE_INCREMENT_NUM_FOUND(Hash collectableItem, int amount);Parameters
| Name | Type | Description |
|---|---|---|
collectableItem | Hash | — |
amount | int | — |
Returns void
Usage
CollectableIncrementNumFound(collectableItem, amount)
-- always works, by hash
Citizen.InvokeNative(0x3EA62E56F386C997, collectableItem, amount)JavaScript and C#
CollectableIncrementNumFound(collectableItem, amount);
// by hash
Citizen.invokeNative('0x3EA62E56F386C997', collectableItem, amount);Function.Call((Hash)0x3EA62E56F386C997, collectableItem, amount);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`. - 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
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.