Error Vmodel

I’m using worshipper’s Mad Cow weapon base and my pistol shows up as a Error. I changed the each model name to sglck19 and then hexed the .mdl in XVI32. I’m just starting LUA so I didnt try any of the sounds I just wanted to get vmodels working.
Heres the shared lua

// Variables that are used on both client and server

SWEP.Base 				= "weapon_mad_base"

SWEP.ViewModel			= "models/weapons/v_sglck19.mdl"
SWEP.WorldModel			= "models/weapons/w_pistol.mdl"

SWEP.Spawnable			= true
SWEP.AdminSpawnable		= false

SWEP.Primary.Sound 		= Sound("Weapon_Pistol.Single")
SWEP.Primary.Reload 		= Sound("Weapon_Pistol.Reload")
SWEP.Primary.Recoil		= 0.65
SWEP.Primary.Damage		= 6
SWEP.Primary.NumShots		= 1
SWEP.Primary.Cone			= 0.01
SWEP.Primary.Delay 		= 0.2

SWEP.Primary.ClipSize		= 17					// Size of a clip
SWEP.Primary.DefaultClip	= 15					// Default number of bullets in a clip
SWEP.Primary.Automatic		= false				// Automatic/Semi Auto
SWEP.Primary.Ammo			= "9mm"

SWEP.Secondary.ClipSize		= -1					// Size of a clip
SWEP.Secondary.DefaultClip	= -1					// Default number of bullets in a clip
SWEP.Secondary.Automatic	= false				// Automatic/Semi Auto
SWEP.Secondary.Ammo		= "none"

SWEP.ShellEffect			= "effect_mad_shell_pistol"	// "effect_mad_shell_pistol" or "effect_mad_shell_rifle" or "effect_mad_shell_shotgun"
SWEP.ShellDelay			= 0

SWEP.Pistol				= true
SWEP.Rifle				= false
SWEP.Shotgun			= false
SWEP.Sniper				= false

SWEP.IronSightsPos 		= Vector (-6.0266, -1.0035, 3.9003)
SWEP.IronSightsAng 		= Vector (0.5281, -1.3165, 0.8108)
SWEP.RunArmOffset 		= Vector (0.041, 0, 5.6778)
SWEP.RunArmAngle 			= Vector (-17.6901, 0.321, 0)

   Name: SWEP:Precache()
   Desc: Use this function to precache stuff.
function SWEP:Precache()


   Name: SWEP:Reload()
   Desc: Reload is being pressed.
function SWEP:Reload()

	if (self.ActionDelay > CurTime()) then return end 


	if (self.Weapon:Clip1() < self.Primary.ClipSize) and (self.Owner:GetAmmoCount(self.Primary.Ammo) > 0) then
		self.Owner:SetFOV( 0, 0.15 )

The Cl init lua


SWEP.PrintName			= "Glock Silenced 19"				// 'Nice' Weapon name (Shown on HUD)	
SWEP.Slot				= 1							// Slot in the weapon selection menu
SWEP.SlotPos			= 2							// Position in the slot

// Override this in your SWEP to set the icon in the weapon selection
if (file.Exists("../materials/weapons/weapon_mad_usp_match.vmt")) then
	SWEP.WepSelectIcon	= surface.GetTextureID("weapons/weapon_mad_usp_match")

Link to Lua/models/materials:
Just put Lua, Models, And materials folders into addons/mad cows weapons and let them merge,


Really Need help.

You merged the lua files of an addon with another? Then you can’t be expecting it to work properly, that’s just not how it works. You should probably reinstall the base and place your swep in another addon folder with it’s own file structure.

So I just use the base and then create my own addon folder. So it’d be like
ababs sweps-Models,Materials,Lua,Sounds,Info.txt
And then I just throw madcows base into the Lua folder and start from scratch in my own addon folder?