I made a TMP swep but it dosent show?? WHAT DO I DO its like this:
Addons\Silenced tmp\lua\weapons\weapon_tmpSilenced\shared.lua, but it still dosent show and here is the lua:
[lua]if( SERVER ) then
AddCSLuaFile( “shared.lua” );
end
if( CLIENT ) then
SWEP.PrintName = “Tmp2”;
SWEP.Slot = 3;
SWEP.SlotPos = 3;
SWEP.HoldType = “ar2”
SWEP.DrawCrosshair = true;
end
killicon.AddFont( "weapon_tmp", "CSKillIcons", SWEP.IconLetter, Color( 255, 80, 0, 255 ) )
end
SWEP.Base = “weapon_cs_base”
SWEP.ViewModelFlip = true
SWEP.Category = “Counter-Strike”
SWEP.Spawnable = false
SWEP.AdminSpawnable = true
–
SWEP.ViewModel = “models/weapons/v_smg_tmp.mdl” –
SWEP.WorldModel = “models/weapons/w_smg_tmp.mdl”
SWEP.Weight = 3
SWEP.AutoSwitchTo = true – If When You Spawn, It Automaticly Switches To It
SWEP.AutoSwitchFrom = true
SWEP.ForceApply = 3 –
SWEP.TracerFreq = 5 –
SWEP.Primary.Sound = Sound( “Weapon/tmp.Single” )
SWEP.Primary.Recoil = 0
SWEP.Primary.Damage = 2
SWEP.Primary.NumShots = 1
SWEP.Primary.Cone = 0 –
SWEP.Primary.ClipSize = 20
SWEP.Primary.Delay = 0.5 – SWEP.Primary.DefaultClip = 100 – SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = “smg”
WEP.IronSightsPos = Vector( 5.3, -3, 2.6 ) [/lua]
so what did i do wrong?