1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Bodygroups on Jobs and a Weird Bug with it

Discussion in 'DarkRP Modding Questions & Help' started by [TXG] Church, May 23, 2016.

  1. [TXG] Church

    [TXG] Church New Member

    Hello!

    So I'm trying to create some custom jobs with more than one body group edit so on the job I've go this bit of code:

    Code (Text):
    PlayerSpawn = function(ply) ply:SetBodygroup(1, 1) ply:SetBodygroup(2, 1) ply:SetBodygroup(3, 1) end,
    but for some reason it changes the body group of this job.. and the other 2 jobs in the same category..

    Then in another job I've got

    Code (Text):
    PlayerSpawn = function(ply) ply:SetBodygroup(1, 1) end,
    and then none of the playermodels have the correct body groups, in fact none are changed from default at all.

    So am I doing this wrong, does SetBodygroup no longer work, or what?..

    Thanks in advance!
     

Share This Page