_COLLECTABLE_INCREMENT_NUM_TURNED_IN
Hash
0x398FAB9C96A81924Runtime name
CollectableIncrementNumTurnedInNamespaceCOLLECTABLE
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _COLLECTABLE_INCREMENT_NUM_TURNED_IN(Hash collectableItem, int amount);Parameters
| Name | Type | Description |
|---|---|---|
collectableItem | Hash | — |
amount | int | — |
Returns void
Usage
CollectableIncrementNumTurnedIn(collectableItem, amount)
-- always works, by hash
Citizen.InvokeNative(0x398FAB9C96A81924, collectableItem, amount)JavaScript and C#
CollectableIncrementNumTurnedIn(collectableItem, amount);
// by hash
Citizen.invokeNative('0x398FAB9C96A81924', collectableItem, amount);Function.Call((Hash)0x398FAB9C96A81924, 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.