SWEP.Scoped = false
SWEP.Scoped = true
problem 1
=================================
SWEP.IronSightsPos = Vector( 0 , 0 , 0 )
SWEP.IronSightsAng = Vector( 0 , 0 , 0 )
SWEP.IronSightsLow = Vector( 0 , 0 , 0 )
useless
=====================================
SWEP.Primary.Damage = 024
just use 24
===================================
SWEP.Primary.Cone = ( ( 032 ) / 15 ) / 180
SWEP.Primary.Delay = ( 60 / ( 634 - 60 ) )
SWEP.Primary.Recoil = ( 032 ) / 20
use decimals not fractions
==================================
SWEP.Primary.ClipMax = 30 * 3
dont use equations use solid numbers
=================================
SWEP.Damage = {}
SWEP.Damage['head'] = {131 , 091}
SWEP.Damage['chest & arm'] = {032 , 022}
SWEP.Damage['stomach'] = {041 , 028}
SWEP.Damage['leg'] = {024 , 024}
TTT does this automaticly, stay with SWEP.Primary.Damage, if u want more damage ona headhsot use the headshot multiplyer line.
=================================
those were examples from your script, change all like it.
=========================
===========================
=================================
=======================================
if SERVER then
AddCSLuaFile( "shared.lua" )
end
SWEP.HoldType = "ar2"
if CLIENT then
SWEP.PrintName = "AUG"
SWEP.Author = "SniperDuck"
SWEP.Slot = 2
SWEP.SlotPos = 0
SWEP.Icon = "VGUI/ttt/icon_m249"
SWEP.ViewModelFlip = true
end
SWEP.Base = "weapon_tttbase"
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.Kind = WEAPON_HEAVY
SWEP.Primary.Damage = 19
SWEP.Primary.Delay = 0.06
SWEP.Primary.Cone = 0.03
SWEP.Primary.ClipSize = 30
SWEP.Primary.ClipMax = 60
SWEP.Primary.DefaultClip = 30
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "smg1"
SWEP.AutoSpawnable = true
SWEP.Primary.Recoil = 1.5
SWEP.Primary.Sound = Sound("Weapon_AUG.Single")
SWEP.ViewModel = "models/weapons/v_rif_aug.mdl"
SWEP.WorldModel = "models/weapons/w_rif_aug.mdl"
SWEP.AmmoEnt = "item_ammo_smg1_ttt"
SWEP.HeadshotMultiplier = 2.2
SWEP.IronSightsPos = Vector(5.99,-3,.985)
SWEP.IronSightsAng = Vector(2.4,1.9,45)
an example of a working code.