Garry's Mod Wiki

SpawnIcon:SetBodyGroup

SpawnIcon:SetBodyGroup

  SpawnIcon:SetBodyGroup( number bodygroup, number value )

Description

This is used internally - although you're able to use it you probably shouldn't. This is done automatically by SpawnIcon. You do not need to call this. Doing so may cause unforeseen consequences.

Sets the bodygroups, so it can be retrieved with SpawnIcon:GetBodyGroup. Use Panel:SetModel instead.

Arguments

1 number bodygroup
The id of the bodygroup you're setting. Starts from 0.
2 number value
The value you're setting the bodygroup to. Starts from 0.

Special Pages


Wikis

?

Render Time: 78ms

DB GetPage 58
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 7