Rajouter des tenues entières avec l'addon suivant

  • Initiateur de la discussion
E

ElvredYT

Geek
Messages
84
Score réaction
16
Points
65
Salut à tous je cherche comment rajouter des tenues entières avec cet addon.
Merci
 
Murky

Murky

Geek suprême
Messages
140
Score réaction
45
Points
140
Il faut modifier le lua de l'addon c'est sûrement un .lua avant les fichiers client/server.

EDIT: J'ai rapidement leak l'addon histoire de regarder et c'est bien dans
lua/clothesmod/sh_config.lua

Code:
CLOTHESMOD.Female.ListDefaultPM["models/kerry/player/citizen/female_01.mdl"] = { skins = { 0,1,2,3,4 }, sex = 0, name = "female01", bodygroupstop = { ["polo"] = { group = {1,0}, tee = { 4, }, }, ["jacket"] = { group = {1,1}, tee = { 5, }, }, ["tee"] = { group = {1,2}, tee = { 7, }, }, ["suit"] = { group = {1,3}, tee = { 8, }, }, ["nude"] = { group = {1,4}, tee = { 6, }, }, }, bodygroupsbottom = { ["pant"] = { group = {2,0}, pant = { 10, }, }, ["nude"] = { group = {2,2}, pant = { 6, }, }, ["suit"] = { group = {2,1}, pant = { 10, }, }, }, eyes = { ["r"] = 2, ["l"] = 1 },
}

Pour un métier en général c'est

Code:
CLOTHESMOD.Config.ForbiddenJobsWithHeads = { [TEAM_POLICE]={ ["male01"] = "models/taggart/police01/male_01.mdl", ["female01"] = "models/taggart/police01/male_01.mdl", },
}

Ou tu peux même peut-être le faire via les commandes faudrait que tu regardes sur ton serveur
  • !createclothes create clothes of your sex and add them to the shop
  • !save_clothesmod save entities of the script that are spawned on the map, they will automatically respawned after each reboot and each cleanup.
  • !remove_clothesmod will delete the save of entities, done with !save_clothesmod. Entities saved will not respawn after a reboot.
 
Dernière édition:
  • Initiateur de la discussion
E

ElvredYT

Geek
Messages
84
Score réaction
16
Points
65
Murky à dit:
Il faut modifier le lua de l'addon c'est sûrement un .lua avant les fichiers client/server.

EDIT: J'ai rapidement leak l'addon histoire de regarder et c'est bien dans
lua/clothesmod/sh_config.lua

Code:
CLOTHESMOD.Female.ListDefaultPM["models/kerry/player/citizen/female_01.mdl"] = { skins = { 0,1,2,3,4 }, sex = 0, name = "female01", bodygroupstop = { ["polo"] = { group = {1,0}, tee = { 4, }, }, ["jacket"] = { group = {1,1}, tee = { 5, }, }, ["tee"] = { group = {1,2}, tee = { 7, }, }, ["suit"] = { group = {1,3}, tee = { 8, }, }, ["nude"] = { group = {1,4}, tee = { 6, }, }, }, bodygroupsbottom = { ["pant"] = { group = {2,0}, pant = { 10, }, }, ["nude"] = { group = {2,2}, pant = { 6, }, }, ["suit"] = { group = {2,1}, pant = { 10, }, }, }, eyes = { ["r"] = 2, ["l"] = 1 },
}

Pour un métier en général c'est

Code:
CLOTHESMOD.Config.ForbiddenJobsWithHeads = { [TEAM_POLICE]={ ["male01"] = "models/taggart/police01/male_01.mdl", ["female01"] = "models/taggart/police01/male_01.mdl", },
}

Ou tu peux même peut-être le faire via les commandes faudrait que tu regardes sur ton serveur
  • !createclothes create clothes of your sex and add them to the shop
  • !save_clothesmod save entities of the script that are spawned on the map, they will automatically respawned after each reboot and each cleanup.
  • !remove_clothesmod will delete the save of entities, done with !save_clothesmod. Entities saved will not respawn after a reboot.
merci je vais voir tout ca
 
Discord d'entraide
Rejoignz-nous sur Discord