• DarkRP Bodygroup
    5 replies, posted
Hello. I am trying to setup jobs on DarkRP, and when they spawn they have a specific bodygroup set. I am using this code and I've tried various other codes and it doesn't seem to work. PlayerSpawn = function(ply) ply:SetBodygroup(1, 5) end On the bodygroup it saids "Skin", "Helmet", "Backpack", "Shoulderpad", "ShoulderPouches". Heres a screenshot: http://i.imgur.com/Mu94sG9.png So I presume on ply:SetBodygroup(1, 5) 1 would mean Skin then 5 would be the variation i work. When I spawn though, it doesn't change? Thanks.
I didn't understand the problem. Does your bodygroup simply not change?
Yes, i've sorted it for that model, now it doesn't work for a different one, for example it is for Backpack which is number 3 it doesnt do anything, but if i change it for the number 5 it changes???
[QUOTE=OfficialTemp;52277391]Yes, i've sorted it for that model, now it doesn't work for a different one, for example it is for Backpack which is number 3 it doesnt do anything, but if i change it for the number 5 it changes???[/QUOTE] Well its the bodygroup not working then, it doesn't have anything to do with the code.
It works fine if i use the easybody group tool [editline]26th May 2017[/editline] is it because im using the gamemode/jobrelated.lua and not darkrpmodifications?
It has nothing to do with darkrpmod addon or using jobrelated.lua . The bodygroup probably just doesnt work.
Sorry, you need to Log In to post a reply to this thread.