also bin zur m4 waffe lua gegangen und habe
inLua Code:
AddCSLuaFile( "shared.lua" ) SWEP.HoldType = "ar2"end
if ( CLIENT ) then SWEP.PrintName = "M16" SWEP.Author = "Counter-Strike" SWEP.Slot = 3 SWEP.SlotPos = 1 SWEP.IconLetter = "w" killicon.AddFont( "weapon_m16", "CSKillIcons", SWEP.IconLetter, Color( 255, 80, 0, 255 ) )end
SWEP.Base = "weapon_cs_base" SWEP.Category = "Counter-Strike" SWEP.Spawnable = true SWEP.AdminSpawnable = true SWEP.ViewModel = "models/weapons/v_rif_m4a1.mdl" SWEP.WorldModel = "models/weapons/w_rif_m4a1.mdl" SWEP.Weight = 5 SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = false SWEP.Primary.Sound = Sound( "Weapon_M4A1.Single" ) SWEP.Primary.Recoil = 1 SWEP.Primary.Damage = 30 SWEP.Primary.NumShots = 1 SWEP.Primary.Cone = 0.02 SWEP.Primary.ClipSize = 25 SWEP.Primary.Delay = 0.1 SWEP.Primary.DefaultClip = 50 SWEP.Primary.Automatic = true SWEP.Primary.Ammo = "smg1" SWEP.Secondary.ClipSize = -1 SWEP.Secondary.DefaultClip = -1 SWEP.Secondary.Automatic = false SWEP.Secondary.Ammo = "none" SWEP.IronSightsPos = Vector( 6.25, -4, 0.0 ) SWEP.IronSightsAng = Vector( 6, 2, 6 )
Lua Code:
AddCSLuaFile( "shared.lua" ) SWEP.HoldType = "ar2"end
if ( CLIENT ) then SWEP.PrintName = "M16" SWEP.Author = "Counter-Strike" SWEP.Slot = 3 SWEP.SlotPos = 1 SWEP.IconLetter = "w" killicon.AddFont( "weapon_m16", "CSKillIcons", SWEP.IconLetter, Color( 255, 80, 0, 255 ) )end
SWEP.Base = "weapon_cs_base" SWEP.Category = "Counter-Strike" SWEP.Spawnable = true SWEP.AdminSpawnable = true SWEP.ViewModel = "models/weapons/v_rif_m4a1.mdl" SWEP.WorldModel = "models/weapons/w_rif_m4a1.mdl" SWEP.Weight = 5 SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = false SWEP.Primary.Sound = Sound( "Weapon_M4A1.Single" ) SWEP.Primary.Recoil = 1 SWEP.Primary.Damage = 30 SWEP.Primary.NumShots = 1 SWEP.Primary.Cone = 0.02 SWEP.Primary.ClipSize = 999 SWEP.Primary.Delay = 0.1 SWEP.Primary.DefaultClip = 999 SWEP.Primary.Automatic = true SWEP.Primary.Ammo = "smg1" SWEP.Secondary.ClipSize = -1 SWEP.Secondary.DefaultClip = -1 SWEP.Secondary.Automatic = false SWEP.Secondary.Ammo = "none" SWEP.IronSightsPos = Vector( 6.25, -4, 0.0 ) SWEP.IronSightsAng = Vector( 6, 2, 6 )
geändert , dann gmod gestartet und den befehl in die console geschrieben , dann hat sich das spiel kurz aufgehangen und hab mich selbst gekillt , waffe wieder genommen aber immernoch die magazingröße