When making a SWep, how could I do this:
Step 1: Holster the weapon, [lua]self:SendWeaponAnim( ACT_VM_HOLSTER )[/lua]
Step 2: Change the View Model…
Step 3: Draw the new weapon out,
[lua]self:SendWeaponAnim( ACT_VM_DRAW )[/lua]
[sp]To be frank, and not the guy… it has been months since I’ve done any programming, and more than a year since I was actually good at it. I may have never released anything, except a HUD on my old account, but that was simply because I never thought anything I did was incredible enough to warrant a release.[/sp]
An example would be: The weapon starts out as the Half-Life: Source Regular Pistol, but it changes into the Half-Life: 2 Regular Pistol.
[editline]18th August 2013[/editline]
Of course, I know that if you just change the Variable and switch away From, then back To the weapon, it will update the View Model. The idea is to update it without requiring a weapon switch.