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 (Template usage.)
 
(One intermediate revision by one user not shown)
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=gamemodes/base/gamemode/player_class/player_default.lua
|File_Line=93
+
|Line=92
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 17:28, 26 January 2015

 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