Needless to say this is my first time making something.
I was working from some template I found, loads fine and no errors or anything, but when I press the button to fire it just goes *click*.
Any help?
[CODE]if SERVER then
AddCSLuaFile("shared.lua")
end
if CLIENT then
SWEP.PrintName = "Admin Gun"
SWEP.Author = "NnyAskC"
SWEP.Slot = 3
SWEP.SlotPos = 1
SWEP.IconLetter = "a"
killicon.AddFont("weapon_physcannon", "CSKillIcons", SWEP.IconLetter, Color(255, 80, 0, 255))
end
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.ViewModel = "models/weapons/v_superphyscannon.mdl"
SWEP.WorldModel = "models/weapons/w_superphyscannon.mdl"
SWEP.Weight = 5
SWEP.AutoSwitchTo = true
SWEP.AutoSwitchFrom = true
SWEP.HoldType = "physcannon"
SWEP.Primary.Recoil = 0
SWEP.Primary.Damage = 10
SWEP.Primary.NumShots = 25
SWEP.Primary.Cone = 0.01
SWEP.Primary.ClipSize = -1
SWEP.Primary.Delay = 0.07
SWEP.Primary.DefaultClip = -1
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "smg1"
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1
SWEP.Secondary.Automatic = false
SWEP.Secondary.Ammo = "none"
[/CODE]
Sorry, you need to Log In to post a reply to this thread.