Bodygroupr Help

So I’ve been using the Bodygroupr addon recently and ran into a problem…in the read me the author says to add this to a job


--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.

})

But what if the job has multiple models to it?
What would I do then?

what you would do then, young sir, is to submit a ticket to the developer on ScriptFodder so he can assist you.

you just add the other models to the list? assuming you’re going to be using my models they all use the same bodygroup names so there are no issues.

I am not using your addons?
What do you mean by adding the models to a list?

Would use it if you added suits though :smiley:



model = {
		"models/player/zelpa/male_01.mdl",
		"models/player/zelpa/male_02.mdl",
		"models/player/zelpa/male_03.mdl",
		"models/player/zelpa/male_04.mdl",
	},


etc.

I’m not sure what you mean still…
Here is an example of one of my jobs which has multiple models to spawn from and each model has different bodygroups…

How would I go upon specifying certain bodygroups for each model?

you can’t. the models should all have the same bodygroups.