- Initiateur de la discussion
theosol
Geek suprême
- Messages
- 305
- Score réaction
- 12
- Points
- 115
J'ai un problème avec cette addons je n'est pas trop compris comment le configurer pour les skin modifiable genre la police pour mettre un gilet par balle ou l'enlever ba sa sa marche pas et j'ai vue que au job il dise d'ajouter sa
et ducoup j'ai pas trop compris comment on configure help please !!-- Arizard's bodyGroupr
-- How to edit jobs.lua
--Simple Example
TEAM_CITIZEN = DarkRP.createJob("Citizen", {
color = Color(20, 150, 20, 255),
model = {
"models/player/zelpa/male_04.mdl",
},
description = [[The Citizen is the most basic level of society you can hold besides being a hobo. You have no specific role in city life.]],
weapons = {},
command = "citizen",
max = 0,
salary = GAMEMODE.Config.normalsalary,
admin = 0,
vote = false,
hasLicense = false,
candemote = false,
-- !!! LOOK HERE !!! --
skins = {4,5,6}, -- example configuration
bodygroups = {
["torso"] = {0,2,3},
["legs"] = {0,1,2,3,4,5},
["beanies"] = {0,1,2},
["glasses"] = {0,1}, -- these are all examples, please don't actually copy-paste them because they might not work.
} -- check below for playermodels that support this addon, and use the sandbox playermodel selector to check bodygroups.
armorbodygroups = { -- configure armor to give players here (for Prior). first number in the pair is the bodygroup, second number is how much armor to give.
-- eg. in this case, setting the "torso" bodygroup to 2 gives the player 30 armor.
-- Note that armor is only given on spawn, and is reduced if the player takes off the bodygroup.
["torso"] = { {0,10},{1,20}, {2,30} },
["legs"] = {{0,12},{1,13},{2,14}},
}
})
-- some supported playermodels:
-- Steam Community :: Error -- Enhanced Citizens Playermodels [Zelpa]
-- Steam Workshop :: Halo 3 Spartan Playermodels (MPSC) -- Halo 3 Spartan Playermodels [Vipes]
-- Steam Workshop :: Metropolice Pack -- Metropolice Pack [DPotatoMan]