Skip to content

Commit a0acdbd

Browse files
freedy694mmonium
andauthored
Document GET_TATTOO_SHOP_DLC_ITEM_INDEX (citizenfx#1023)
* Document GET_TATTOO_SHOP_DLC_ITEM_INDEX Added information and fixed the parameters. * Update N_0x10144267dd22866c.md Fixes a few issues * Forgot to edit the parameter types: * Update N_0x10144267dd22866c.md * Update N_0x10144267dd22866c.md Prettier formatting. * Rename N_0x10144267dd22866c.md to GetTattooShopDlcItemIndex.md File-name change. --------- Co-authored-by: ammonia-cfx <[email protected]>
1 parent 3e5a365 commit a0acdbd

File tree

2 files changed

+22
-29
lines changed

2 files changed

+22
-29
lines changed

FILES/GetTattooShopDlcItemIndex.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
ns: FILES
3+
aliases: ["0x10144267DD22866C"]
4+
---
5+
## GET_TATTOO_SHOP_DLC_ITEM_INDEX
6+
7+
```c
8+
// 0x10144267DD22866C
9+
int GET_TATTOO_SHOP_DLC_ITEM_INDEX(cs_type(Hash) int character, int collection, int preset);
10+
```
11+
12+
```
13+
NativeDB Introduced: v2189
14+
```
15+
16+
## Parameters
17+
* **character**: AKA eFaction in shop_tattoo.meta. Which character this tattoo belongs to. See [GET_NUM_TATTOO_SHOP_DLC_ITEMS](#_0x278F76C3B0A8F109).
18+
* **collection**: Which collection this tattoo belongs to. If you specify `-1`, it will check all collections.
19+
* **preset**: Which preset this tattoo belongs to.
20+
21+
## Return value
22+
Returns the actual index (Not ID from `shop_tattoo.meta`) from `0` to [GET_NUM_TATTOO_SHOP_DLC_ITEMS](#_0x278F76C3B0A8F109), or `-1` (if it failed to find the tattoo) of a tattoo.

FILES/N_0x10144267dd22866c.md

-29
This file was deleted.

0 commit comments

Comments
 (0)