Entity:GetBodygroup
Description
Gets the exact value for specific bodygroup of given entity.
If called for Weapon (after Initialize hook) with different body groups on world model and view model will return value form view model.
Arguments
Returns
Example
Gets the value of bodygroup 2 of entity player 1 is aiming at.
Output: "1" in console, if player 1 is aiming at airboat.