PLAYER/ViewModelChanged

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=ViewModelChanged |Parent=PLAYER |Description=Called when the player changes their weapon to another one causing their viewmodel model to change |Realm= |IsCl...")
 
m (Fixed Facepunch Bot fuckups)
Line 1: Line 1:
{{Func
+
{{Hook
 
|Name=ViewModelChanged
 
|Name=ViewModelChanged
 
|Parent=PLAYER
 
|Parent=PLAYER
 
|Description=Called when the player changes their weapon to another one causing their viewmodel model to change
 
|Description=Called when the player changes their weapon to another one causing their viewmodel model to change
|Realm=
+
|Realm=Client
 
|IsClass=Yes
 
|IsClass=Yes
 
|File_Name=gamemodes/base/gamemode/player_class/player_default.lua
 
|File_Name=gamemodes/base/gamemode/player_class/player_default.lua

Revision as of 14:31, 2 July 2013

 PLAYER:ViewModelChanged( )

Contents

Description

Called when the player changes their weapon to another one causing their viewmodel model to change

Arguments

Entity viewmodel

The viewmodel that is changing

Arguments

string old

The old model

Arguments

string new

The new model
Personal tools
Navigation