Garry's Mod

Garry's Mod

United Kingdom Police Playermodels and NPCs
europeOS 5 Sep, 2017 @ 2:24pm
How to set Bodygroup in DarkRP jobs.lua ?
Hello there.

I'm currently using your addon for my DarkRP server. In the jobs.lua, I've set the following arguments:

PlayerSpawn = function(ply) ply:SetBodygroup(2, 1) end,

I've done this in the hopes that players who spawn as the job which uses this model will be wearing the Custodian hat. Unfortunately, this has not occurred. I've also tried the following:

PlayerSpawn = function(ply) ply:SetBodygroup(1) end,

Unfortunately, neither of these has produced the result I had anticipated. Could anybody please provide me with some assistance in identifying the remedy of this issue?
Last edited by europeOS; 5 Sep, 2017 @ 2:25pm