Garry's Mod Wiki

Garry's Mod Wiki

  GM:OnViewModelChanged( Entity viewmodel, string oldModel, string newModel )

Description

Called when the player changes their weapon to another one - and their viewmodel model changes.

This is not always called clientside.

Issue Tracker: 2473

Arguments

1 Entity viewmodel
The viewmodel that is changing
2 string oldModel
The old model
3 string newModel
The new 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...