I am making an autosniper - the SCAR-20 - from Counter Strike Global Offensive work on Trouble on Terrorist Town.
There is one problems. First, when I equip the weapon the view model does not appear (i.e the gun doesn’t show on my hands) - When trying to shoot the weapon everything works perfectly fine, so does the sound of the shot.
There is no lua error displayed on the console
My viewmodel mdl file is in C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\models\weapons
There is shows 4 things relating to the viewmodel:
v_snip_scar20.mdl - the viewmodel in the script
In the shared.lua file, the path is as follows
SWEP.ViewModel = "models/weapons/v_snip_scar20.mdl"
Any ideas what is wrong?