Vetement NPC

  • Initiateur de la discussion Pierre97
  • Date de début
  • Initiateur de la discussion
Pierre97

Pierre97

Geek
Messages
360
Score réaction
68
Points
70
j'ai le npc pour changer de vetement et accesoire, et je veux savoir comment installer une tenue (printer scell, la jaune pour la meth) comment faire pour l'ajouter ? merci !
 
PierreB

PierreB

Geek suprême
Messages
342
Score réaction
64
Points
130
Bonjour, tu voudrais que la tenue soit disponible a l'achat c'est ca ?
 
  • Initiateur de la discussion
Pierre97

Pierre97

Geek
Messages
360
Score réaction
68
Points
70
oui exactement
 
  • Initiateur de la discussion
Pierre97

Pierre97

Geek
Messages
360
Score réaction
68
Points
70
Toujours pas ?
 
wil.95

wil.95

Geek
Messages
33
Score réaction
3
Points
45
Bonjour , Va dans addons/char/lua/csd
Ouvre sh_charsyst.lua
Code:
charSyst.clothShop = { Male = { ["male_01"] = { "models/humans/modern/male_01_01.mdl", "models/humans/modern/male_01_02.mdl", "models/humans/modern/male_01_03.mdl", "models/player/suits/male_01_closed_coat_tie.mdl", "models/player/suits/male_01_closed_tie.mdl", "models/player/suits/male_01_open.mdl", "models/player/suits/male_01_open_tie.mdl", "models/player/suits/male_01_open_waistcoat.mdl", "models/player/suits/male_01_shirt.mdl", "models/player/suits/male_01_shirt_tie.mdl", }, ["male_02"] = { "models/humans/modern/male_02_01.mdl", "models/humans/modern/male_02_02.mdl", "models/humans/modern/male_02_03.mdl", "models/player/suits/male_02_closed_coat_tie.mdl", "models/player/suits/male_02_closed_tie.mdl", "models/player/suits/male_02_open.mdl", "models/player/suits/male_02_open_tie.mdl", "models/player/suits/male_02_open_waistcoat.mdl", "models/player/suits/male_02_shirt.mdl", "models/player/suits/male_02_shirt_tie.mdl", }, ["male_03"] = { "models/humans/modern/male_03_01.mdl", "models/humans/modern/male_03_02.mdl", "models/humans/modern/male_03_03.mdl", "models/humans/modern/male_03_04.mdl", "models/humans/modern/male_03_05.mdl", "models/humans/modern/male_03_06.mdl", "models/humans/modern/male_03_07.mdl", "models/player/suits/male_03_closed_coat_tie.mdl", "models/player/suits/male_03_closed_tie.mdl", "models/player/suits/male_03_open.mdl", "models/player/suits/male_03_open_tie.mdl", "models/player/suits/male_03_open_waistcoat.mdl", "models/player/suits/male_03_shirt.mdl", "models/player/suits/male_03_shirt_tie.mdl", }, ["male_04"] = { "models/humans/modern/male_04_01.mdl", "models/humans/modern/male_04_02.mdl", "models/humans/modern/male_04_03.mdl", "models/humans/modern/male_04_04.mdl", "models/player/suits/male_04_closed_coat_tie.mdl", "models/player/suits/male_04_closed_tie.mdl", "models/player/suits/male_04_open.mdl", "models/player/suits/male_04_open_tie.mdl", "models/player/suits/male_04_open_waistcoat.mdl", "models/player/suits/male_04_shirt.mdl", "models/player/suits/male_04_shirt_tie.mdl", }, ["male_05"] = { "models/humans/modern/male_05_01.mdl", "models/humans/modern/male_05_02.mdl", "models/humans/modern/male_05_03.mdl", "models/humans/modern/male_05_04.mdl", "models/humans/modern/male_05_05.mdl", "models/player/suits/male_05_closed_coat_tie.mdl", "models/player/suits/male_05_closed_tie.mdl", "models/player/suits/male_05_open.mdl", "models/player/suits/male_05_open_tie.mdl", "models/player/suits/male_05_open_waistcoat.mdl", "models/player/suits/male_05_shirt.mdl", "models/player/suits/male_05_shirt_tie.mdl", }, ["male_06"] = { "models/humans/modern/male_06_01.mdl", "models/humans/modern/male_06_02.mdl", "models/humans/modern/male_06_03.mdl", "models/humans/modern/male_06_04.mdl", "models/humans/modern/male_06_05.mdl", "models/player/suits/male_06_closed_coat_tie.mdl", "models/player/suits/male_06_closed_tie.mdl", "models/player/suits/male_06_open.mdl", "models/player/suits/male_06_open_tie.mdl", "models/player/suits/male_06_open_waistcoat.mdl", "models/player/suits/male_06_shirt.mdl", "models/player/suits/male_06_shirt_tie.mdl", }, ["male_07"] = { "models/humans/modern/male_07_01.mdl", "models/humans/modern/male_07_02.mdl", "models/humans/modern/male_07_03.mdl", "models/humans/modern/male_07_04.mdl", "models/humans/modern/male_07_05.mdl", "models/humans/modern/male_07_06.mdl", "models/player/suits/male_07_closed_coat_tie.mdl", "models/player/suits/male_07_closed_tie.mdl", "models/player/suits/male_07_open.mdl", "models/player/suits/male_07_open_tie.mdl", "models/player/suits/male_07_open_waistcoat.mdl", "models/player/suits/male_07_shirt.mdl", "models/player/suits/male_07_shirt_tie.mdl", }, ["male_08"] = { "models/humans/modern/male_08_01.mdl", "models/humans/modern/male_08_02.mdl", "models/humans/modern/male_08_03.mdl", "models/humans/modern/male_08_04.mdl", "models/player/suits/male_08_closed_coat_tie.mdl", "models/player/suits/male_08_closed_tie.mdl", "models/player/suits/male_08_open.mdl", "models/player/suits/male_08_open_tie.mdl", "models/player/suits/male_08_open_waistcoat.mdl", "models/player/suits/male_08_shirt.mdl", "models/player/suits/male_08_shirt_tie.mdl", }, ["male_09"] = { "models/humans/modern/male_09_01.mdl", "models/humans/modern/male_09_02.mdl", "models/humans/modern/male_09_03.mdl", "models/humans/modern/male_09_04.mdl", "models/player/suits/male_09_closed_coat_tie.mdl", "models/player/suits/male_09_closed_tie.mdl", "models/player/suits/male_09_open.mdl", "models/player/suits/male_09_open_tie.mdl", "models/player/suits/male_09_open_waistcoat.mdl", "models/player/suits/male_09_shirt.mdl", "models/player/suits/male_09_shirt_tie.mdl", }, ["male_10"] = { "LEMODELQUETUVEUT", }, }, Female = { ["female_01"] = { "models/humans/modern/female_01.mdl", }, ["female_02"] = { "models/humans/modern/female_02.mdl", }, ["female_03"] = { "models/humans/modern/female_03.mdl", }, ["female_04"] = { "models/humans/modern/female_04.mdl", }, ["female_06"] = { "models/humans/modern/female_06.mdl", }, ["female_07"] = { "models/humans/modern/female_07.mdl", }, },
}
Voila regarde pour le skin male_10 et tu met le playermodel que tu veut
 
  • Banni
kayxy

kayxy

Geek suprême
Messages
824
Score réaction
97
Points
160
Pierre97 à dit:
j'ai le npc pour changer de vetement et accesoire, et je veux savoir comment installer une tenue (printer scell, la jaune pour la meth) comment faire pour l'ajouter ? merci !
Ses quoi l'addon pour changer de vêtement? ;)
 
wil.95

wil.95

Geek
Messages
33
Score réaction
3
Points
45
C'est charsystem, il avait fait une autre demande hier
 
  • Initiateur de la discussion
Pierre97

Pierre97

Geek
Messages
360
Score réaction
68
Points
70
ca na pas marcher.. je n'ai pas de error ... mais rien ne sait ajouter... il apparait ou ?
 
  • Initiateur de la discussion
Pierre97

Pierre97

Geek
Messages
360
Score réaction
68
Points
70
charSyst.clothShop = {
Male = {
["male_01"] = {
"models/humans/modern/male_01_01.mdl",
"models/humans/modern/male_01_02.mdl",
"models/humans/modern/male_01_03.mdl",
"models/player/suits/male_01_closed_coat_tie.mdl",
"models/player/suits/male_01_closed_tie.mdl",
"models/player/suits/male_01_open.mdl",
"models/player/suits/male_01_open_tie.mdl",
"models/player/suits/male_01_open_waistcoat.mdl",
"models/player/suits/male_01_shirt.mdl",
"models/player/suits/male_01_shirt_tie.mdl",
},
["male_02"] = {
"models/humans/modern/male_02_01.mdl",
"models/humans/modern/male_02_02.mdl",
"models/humans/modern/male_02_03.mdl",
"models/player/suits/male_02_closed_coat_tie.mdl",
"models/player/suits/male_02_closed_tie.mdl",
"models/player/suits/male_02_open.mdl",
"models/player/suits/male_02_open_tie.mdl",
"models/player/suits/male_02_open_waistcoat.mdl",
"models/player/suits/male_02_shirt.mdl",
"models/player/suits/male_02_shirt_tie.mdl",
},
["male_03"] = {
"models/humans/modern/male_03_01.mdl",
"models/humans/modern/male_03_02.mdl",
"models/humans/modern/male_03_03.mdl",
"models/humans/modern/male_03_04.mdl",
"models/humans/modern/male_03_05.mdl",
"models/humans/modern/male_03_06.mdl",
"models/humans/modern/male_03_07.mdl",
"models/player/suits/male_03_closed_coat_tie.mdl",
"models/player/suits/male_03_closed_tie.mdl",
"models/player/suits/male_03_open.mdl",
"models/player/suits/male_03_open_tie.mdl",
"models/player/suits/male_03_open_waistcoat.mdl",
"models/player/suits/male_03_shirt.mdl",
"models/player/suits/male_03_shirt_tie.mdl",
},
["male_04"] = {
"models/humans/modern/male_04_01.mdl",
"models/humans/modern/male_04_02.mdl",
"models/humans/modern/male_04_03.mdl",
"models/humans/modern/male_04_04.mdl",
"models/player/suits/male_04_closed_coat_tie.mdl",
"models/player/suits/male_04_closed_tie.mdl",
"models/player/suits/male_04_open.mdl",
"models/player/suits/male_04_open_tie.mdl",
"models/player/suits/male_04_open_waistcoat.mdl",
"models/player/suits/male_04_shirt.mdl",
"models/player/suits/male_04_shirt_tie.mdl",
},
["male_05"] = {
"models/humans/modern/male_05_01.mdl",
"models/humans/modern/male_05_02.mdl",
"models/humans/modern/male_05_03.mdl",
"models/humans/modern/male_05_04.mdl",
"models/humans/modern/male_05_05.mdl",
"models/player/suits/male_05_closed_coat_tie.mdl",
"models/player/suits/male_05_closed_tie.mdl",
"models/player/suits/male_05_open.mdl",
"models/player/suits/male_05_open_tie.mdl",
"models/player/suits/male_05_open_waistcoat.mdl",
"models/player/suits/male_05_shirt.mdl",
"models/player/suits/male_05_shirt_tie.mdl",
},
["male_06"] = {
"models/humans/modern/male_06_01.mdl",
"models/humans/modern/male_06_02.mdl",
"models/humans/modern/male_06_03.mdl",
"models/humans/modern/male_06_04.mdl",
"models/humans/modern/male_06_05.mdl",
"models/player/suits/male_06_closed_coat_tie.mdl",
"models/player/suits/male_06_closed_tie.mdl",
"models/player/suits/male_06_open.mdl",
"models/player/suits/male_06_open_tie.mdl",
"models/player/suits/male_06_open_waistcoat.mdl",
"models/player/suits/male_06_shirt.mdl",
"models/player/suits/male_06_shirt_tie.mdl",
},
["male_07"] = {
"models/humans/modern/male_07_01.mdl",
"models/humans/modern/male_07_02.mdl",
"models/humans/modern/male_07_03.mdl",
"models/humans/modern/male_07_04.mdl",
"models/humans/modern/male_07_05.mdl",
"models/humans/modern/male_07_06.mdl",
"models/player/suits/male_07_closed_coat_tie.mdl",
"models/player/suits/male_07_closed_tie.mdl",
"models/player/suits/male_07_open.mdl",
"models/player/suits/male_07_open_tie.mdl",
"models/player/suits/male_07_open_waistcoat.mdl",
"models/player/suits/male_07_shirt.mdl",
"models/player/suits/male_07_shirt_tie.mdl",
},
["male_08"] = {
"models/humans/modern/male_08_01.mdl",
"models/humans/modern/male_08_02.mdl",
"models/humans/modern/male_08_03.mdl",
"models/humans/modern/male_08_04.mdl",
"models/player/suits/male_08_closed_coat_tie.mdl",
"models/player/suits/male_08_closed_tie.mdl",
"models/player/suits/male_08_open.mdl",
"models/player/suits/male_08_open_tie.mdl",
"models/player/suits/male_08_open_waistcoat.mdl",
"models/player/suits/male_08_shirt.mdl",
"models/player/suits/male_08_shirt_tie.mdl",
},
["male_09"] = {
"models/humans/modern/male_09_01.mdl",
"models/humans/modern/male_09_02.mdl",
"models/humans/modern/male_09_03.mdl",
"models/humans/modern/male_09_04.mdl",
"models/player/suits/male_09_closed_coat_tie.mdl",
"models/player/suits/male_09_closed_tie.mdl",
"models/player/suits/male_09_open.mdl",
"models/player/suits/male_09_open_tie.mdl",
"models/player/suits/male_09_open_waistcoat.mdl",
"models/player/suits/male_09_shirt.mdl",
"models/player/suits/male_09_shirt_tie.mdl",
},
["male_10"] = {
"models/bloocobalt/splinter cell/chemsuit_cod.mdl",
},
},
Female = {
["female_01"] = {
"models/humans/modern/female_01.mdl",
},
["female_02"] = {
"models/humans/modern/female_02.mdl",
},
["female_03"] = {
"models/humans/modern/female_03.mdl",
},
["female_04"] = {
"models/humans/modern/female_04.mdl",
},
["female_06"] = {
"models/humans/modern/female_06.mdl",
},
["female_07"] = {
"models/humans/modern/female_07.mdl",
},
},
}
 
wil.95

wil.95

Geek
Messages
33
Score réaction
3
Points
45
Sa devrait fonctionner
 
wil.95

wil.95

Geek
Messages
33
Score réaction
3
Points
45
Code:
 Male = { -- don't translate that "models/humans/modern/male_01_01.mdl", "models/humans/modern/male_01_02.mdl", "models/humans/modern/male_01_03.mdl", "models/humans/modern/male_02_01.mdl", "models/humans/modern/male_02_02.mdl", "models/humans/modern/male_02_03.mdl", "models/humans/modern/male_03_01.mdl", "models/humans/modern/male_03_02.mdl", "models/humans/modern/male_03_03.mdl", "models/humans/modern/male_03_04.mdl", "models/humans/modern/male_03_05.mdl", "models/humans/modern/male_03_06.mdl", "models/humans/modern/male_03_07.mdl", "models/humans/modern/male_04_01.mdl", "models/humans/modern/male_04_02.mdl", "models/humans/modern/male_04_03.mdl", "models/humans/modern/male_04_04.mdl", "models/humans/modern/male_05_01.mdl", "models/humans/modern/male_05_02.mdl", "models/humans/modern/male_05_03.mdl", "models/humans/modern/male_05_04.mdl", "models/humans/modern/male_05_05.mdl", "models/humans/modern/male_06_01.mdl", "models/humans/modern/male_06_02.mdl", "models/humans/modern/male_06_03.mdl", "models/humans/modern/male_06_04.mdl", "models/humans/modern/male_06_05.mdl", "models/humans/modern/male_07_01.mdl", "models/humans/modern/male_07_02.mdl", "models/humans/modern/male_07_03.mdl", "models/humans/modern/male_07_04.mdl", "models/humans/modern/male_07_05.mdl", "models/humans/modern/male_07_06.mdl", "models/humans/modern/male_08_01.mdl", "models/humans/modern/male_08_02.mdl", "models/humans/modern/male_08_03.mdl", "models/humans/modern/male_08_04.mdl", "models/humans/modern/male_09_01.mdl", "models/humans/modern/male_09_02.mdl", "models/humans/modern/male_09_03.mdl", "models/humans/modern/male_09_04.mdl", "models/bloocobalt/splinter cell/chemsuit_cod.mdl", }, Female = { "models/humans/modern/female_01.mdl", "models/humans/modern/female_02.mdl", "models/humans/modern/female_03.mdl", "models/humans/modern/female_04.mdl", "models/humans/modern/female_06.mdl", "models/humans/modern/female_07.mdl", },
}
Remplace sa
 
  • Initiateur de la discussion
Pierre97

Pierre97

Geek
Messages
360
Score réaction
68
Points
70
Merci ! c'est bon
 
  • J'aime
Réactions: kayxy
Discord d'entraide
Rejoignz-nous sur Discord