Skip to content

Commit 41ef83b

Browse files
committed
added tattooshop doc
1 parent 07e6124 commit 41ef83b

10 files changed

+6115
-17
lines changed

index.css

+32-11
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,14 @@ body{
8989
}
9090
}
9191

92+
:is(html[class~="light"] p) {
93+
color: rgb(53, 53, 53) !important;
94+
}
95+
96+
:is(html[class~="dark"] p) {
97+
color: rgb(206, 206, 206) !important;
98+
}
99+
92100
a {
93101
text-decoration: none !important;
94102
}
@@ -194,7 +202,7 @@ footer{
194202
.btn--style{
195203
/* border-radius: 3px; */
196204
border-radius: 30px;
197-
205+
198206
/* opacity: 0.5; */
199207
/* background-color: #202020 !important; */
200208
}
@@ -375,7 +383,7 @@ footer{
375383
transition: 0.5s;
376384
/* z-index: 1; */
377385
}
378-
386+
379387
.card__profile .content {
380388
position: relative;
381389
width: 100%;
@@ -450,7 +458,7 @@ footer{
450458
.banner{
451459
display: block;
452460
height: 100%;
453-
461+
454462
}
455463

456464
.container--desc_profile{
@@ -538,7 +546,7 @@ footer{
538546
}
539547

540548

541-
549+
542550
.card__profile:hover{
543551
transform: scale(1.04);
544552
}
@@ -553,7 +561,7 @@ footer{
553561
opacity: 1 !important;
554562
z-index: 99999 !important;
555563
}
556-
564+
557565
.line{
558566
font-weight: 600;
559567
}
@@ -579,26 +587,39 @@ footer{
579587
.page_404 img{ width:100%;}
580588

581589
.four_zero_four_bg{
582-
590+
583591
background-image: url(https://cdn.dribbble.com/users/285475/screenshots/2083086/dribbble_1.gif);
584592
height: 400px;
585593
background-position: center;
586594
}
587-
588-
595+
596+
589597
.four_zero_four_bg h1{
590598
font-size:80px;
591599
}
592-
600+
593601
.four_zero_four_bg h3{
594602
font-size:80px;
595603
}
596-
597-
.link_404{
604+
605+
.link_404{
598606
color: #fff!important;
599607
padding: 10px 20px;
600608
background: #39ac31;
601609
margin: 20px 0;
602610
display: inline-block;}
603611
.contant_box_404{ margin-top:-50px;}
604612

613+
:is(html[class~="dark"] hr){
614+
border: 0;
615+
height: 1px;
616+
background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75), rgba(0, 0, 0, 0));
617+
margin: 20px 0;
618+
}
619+
620+
hr{
621+
border: 0;
622+
height: 1px;
623+
background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
624+
margin: 20px 0;
625+
}

pages/_meta.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22
"index": {
33
"title": "Introduction"
44
},
5-
5+
66
"icHud": "icHud",
77
"icMySQL": {
88
"title": "icMySQL"
99
},
1010
"icTrophies": {
1111
"title": "icTrophies"
12+
},
13+
"icTattooShop": {
14+
"title": "icTattooShop"
1215
}
16+
1317
}

pages/assets/icTattooshop.png

2.02 MB
Loading

pages/icTattooShop.mdx

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# IC Tattoo Shop
2+
3+
An advanced system for tattoo creation and management in FiveM, designed with intuitive tools and a wide range of customisation options to enrich the player experience.
4+
5+
![icTattooshop](./assets/icTattooshop.png)
6+
7+
### Why?
8+
9+
We developed this tattoo system because, although there are good solutions on the market, we wanted to offer something new to the FiveM community. We have added innovative features that are missing in other systems, and we hope you will find our system useful and easy to integrate.
10+
11+
### Support
12+
13+
Right now we only give support in our [Discord Server](https://discord.gg/3DhEgXAX2U). If you ask in the forum we will try to answer you as soon as possible but to make sure to get an answer join our [Discord Server](https://discord.gg/3DhEgXAX2U).

pages/icTattooShop/Guide.mdx

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
title: Guide
3+
---
4+
import { Steps } from 'nextra-theme-docs';
5+
import { Callout } from 'nextra/components';
6+
import { Tabs, Tab } from 'nextra-theme-docs';
7+
8+
## Add custom tattoos to your server
9+
10+
To expand the selection of tattoos available on your FiveM server, you can add new designs by following these steps. Make sure you have the tattoo designs you want to add ready.
11+
12+
<Steps>
13+
### Modify AddonTattoos.json
14+
15+
First, you will need to edit the `AddonTattoos.json` file located in the `src/shared/assets/` path. This is where you will define the new tattoos you want to add.
16+
17+
```path showLineNumbers filename="File location"
18+
src/shared/assets/AddonTattoos.json
19+
```
20+
21+
Each entry in the `AddonTattoos.json` file must follow this format:
22+
23+
```json {2-9} showLineNumbers filename="AddonTattoos.json"
24+
[
25+
{
26+
"collection": "nombre_de_colección",
27+
"hashFemale": "identificador_del_tatuaje_para_mujeres",
28+
"hashMale": "identificador_del_tatuaje_para_hombres",
29+
"name": "nombre_único_del_tatuaje",
30+
"price": precio_en_números,
31+
"zone": "zona_del_cuerpo"
32+
},
33+
...
34+
]
35+
```
36+
37+
- collection: The name of the collection the tattoo belongs to. Use a unique identifier if you are creating a new collection.
38+
39+
- hashFemale and hashMale: Unique identifiers for the male and female versions of the tattoo.
40+
41+
- name: A unique name for the tattoo, used internally by the script.
42+
43+
- price: The price of the tattoo in the game.
44+
45+
- zone: The area of the body where the tattoo will be applied.
46+
47+
### Add Tattoo XML Files
48+
49+
After defining the new tattoos in the JSON file (`AddonTattoos.json`), you will need to add the tattoo XML files to the server. These files are located in the `src/modules/screenshots/xml/` path.
50+
51+
Make sure your XML file name follows the format *_overlays.xml, where * is an identifier that matches the name of your collection in AddonTattoos.json.
52+
53+
### Execute Command in FiveM
54+
55+
Once you have placed the XML files in the correct location, you must run the following command on your FiveM server to generate screenshots of the custom tattoos. This is necessary for the tattoos to display correctly in the menus.
56+
57+
```bash showLineNumbers filename="Fivem Command"
58+
/ screenshotTattoosCustom
59+
```
60+
61+
This command will process the XML and AddonTattoos.json files and generate screenshots of the tattoos. The screenshots will be saved in the `src/nui/assets/tattoos` path automatically.
62+
63+
</Steps>

0 commit comments

Comments
 (0)