Entity/ManipulateBoneJiggle

From Garry's Mod
Jump to: navigation, search
 Entity:ManipulateBoneJiggle( )

Contents

Description

Manipulates the bone's jiggle status. This allows non jiggly bones to become jiggly.

Arguments

number boneID

Index of the bone you want to manipulate.

Arguments

number enabled

0 = No Jiggle

1 = Jiggle

Examples

Example

Turn everyone into jelly mode

for k, v in pairs(player.GetAll()) do
	local i = 0

	while i < v:GetBoneCount() do
		v:ManipulateBoneJiggle(i, 1)
		i = i + 1
	end
end


Personal tools
Navigation