Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...