Garry's Mod Wiki

Entity:ViewModelIndex

Entity:ViewModelIndex

  number 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

1 number
View model index, ranges from 0 to 2, nil if the entity is not a view model

Special Pages


Wikis

?

Render Time: 17ms

DB GetPage 2
Generate Html 1
SaveChanges (1) 5
Render Body 0
Render Sidebar 7