Entity/ViewModelIndex

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

Description

Returns the index of this view model, it can be used to identify which one of the player's view models this entity is.

Returns

number

View model index, ranges from 0 to 2, nil if the entity is not a view model
Personal tools
Navigation