Swep programming trouble(PLZ HELP!!!!)

ok, so i got a little lazy and didn’t feel like designing swep models, but i did feel like making a swep. I go onto garrysmod.org and find resident evil gun models:http://www.garrysmod.org/downloads/?a=view&id=16747
and i say “hey…these would make pretty good sweps!”
but once i finish installing them and creating an lua file for them i go to test them out, but no dice…and that’s my story

PLZ HELP!!!````


(User was banned for this post ("Wrong section" - Jaanus))

Okay. First, let me say, go to the Lua Scripting Garrysmod Section

Second of all, those are not viewmodels so they wouldn’t work for a swep.

Third of all, you should let us see your lua script for the weapon, so we know you didn’t make some bullshit script that goes


mouse1 = shoot
r = reload
mouse2 = special
if person wants to shoot then shoot

How come all these 1post fuckers miss the garrysmod section?

http://weknowmemes.com/wp-content/uploads/2011/10/you-must-be-new-here-willy-wonka.jpg


(User was banned for this post ("Image macro" - Jaanus))

// Matilda
if ( SERVER ) then
AddCSLuaFile( “shared.lua” )
SWEP.HoldType = “ar2”
end
if ( CLIENT ) then
SWEP.PrintName = “Matilda”
SWEP.Author = “Zeinox”
SWEP.Slot = 2
SWEP.SlotPos = 3
SWEP.IconLetter = “b”
killicon.AddFont( “weapon_ak47”, “CSKillIcons”, SWEP.IconLetter, Color( 255, 80, 0, 255 ) )
end
SWEP.AdminSpawnable = false
SWEP.ViewModelFOV = 64
SWEP.ViewModel = “models/weapons/matilda.mdl”
SWEP.WorldModel = “models/weapons/matilda.mdl”
SWEP.AutoSwitchTo = true
SWEP.HoldType = “pistol”
SWEP.Spawnable = true
SWEP.AutoSwitchFrom = true
SWEP.FiresUnderwater = false
SWEP.Weight = 3
SWEP.DrawCrosshair = true
SWEP.Category = “Resident Evil SWEPS”
SWEP.DrawAmmo = true
SWEP.ReloadSound = Sound(“Weapon_SMG1.Reload”)
SWEP.Instructions = “Point, Shoot, Kill”
SWEP.Contact = “SteamID: Zeinox”
SWEP.Purpose = “kill…Kill…KILL”
SWEP.base = “weapon_base”
SWEP.Primary.Sound = Sound(“Weapon_357.Single”)
SWEP.Primary.Damage = 10
SWEP.Primary.TakeAmmo = 3
SWEP.Primary.ClipSize = 21
SWEP.Primary.Ammo = “pistol”
SWEP.Primary.DefaultClip = 21
SWEP.Primary.Spread = 3
SWEP.Primary.NumbShots = 3
SWEP.Primary.Automatic = false
SWEP.Primary.Recoil = 4
SWEP.Primary.Delay = 2
SWEP.Primary.Force = 4

---->and is there anyway to obtain the Viewmodels for them, or convert one of the files to a veiwmodel?

Why do you ALWAYS have to ask for the goddamn error? Just show the goddamn error already

we’re already pretty sure the error is the viewmodel, but i need to create/convert for a proper and working viewmodel.
:confused: