gmod_src: Added Player:SetActiveWeapon( entity )

Revision 670
Added Player:SetActiveWeapon( entity )
Added ViewModel:SetWeaponModel( string, weapon )Changed Files:
[ul]
[li]trunk/src_garrysmod/garrysmod/Objects/lua_entity.cpp[/li][li]trunk/src_garrysmod/garrysmod/Objects/lua_player.cpp[/li][/ul]
Committed By Garry Newman

Interesting, no?

SetWeaponModel might fix the extra view models not working. I requested SetActiveWeapon so I could delay the view model change, so you can have holster sequences that don’t break fast weapon switching.