Just trying to work out how to set a players bodygroup, when I equip a certain swep, here is the code so far.
local ply = player.GetByID( 1 ) ply:SetBodyGroup( 5, 2 );
self.Owner:EmitSound( “weapons/knife/knife_deploy1.wav” );
But just continues to say SetBodyGroup is a nil value which means its not picking up the playermodel as a entity.
Has anyone got any ideas?