• SWEP help.
    2 replies, posted
[code] AddCSLuaFile() -- SWEP Info SWEP.Author = "Andromeda" SWEP.Category = "Andromeda SWEPS" SWEP.Base = "rg_base" SWEP.Purpose = "A reliable side arm" SWEP.Instructions = "Pull the trigger and rekt." SWEP.HoldType = "pistol" SWEP.Spawnable = true SWEP.AdminOnly = true SWEP.Slot = 1 SWEP.SlotPos = 2 SWEP.DrawAmmo = false SWEP.DrawCrosshair = true SWEP.UseHands = true SWEP.ViewModelFlip = false SWEP.ViewModelFOV = 54 SWEP.ViewModel = "" SWEP.WorldModel = "models/w_pist_glock18.mdl" SWEP.ViewModelFlip = false -- Primary SWEP.Primary.DefualtClip = -1 SWEP.Primary.Automatic = true SWEP.Primary.Delay = 2.0 SWEP.Primary.Damage = 60; SWEP.Primary.NumShots = 1; SWEP.Primary.ClipSize = 16; SWEP.Primary.DefaultClip = 16; SWEP.Primary.Ammo = "pistol"; -- Secondary SWEP.Secondary.ClipSize = -1 SWEP.Secondary.DefualtClip = -1 SWEP.Secondary.Automatic = true SWEP.Secondary.Ammo = "none" SWEP.Secondary.Delay = 1.0 -- Recoil SWEP.RecoverTime = 0.6; SWEP.MinSpread = 0.4; SWEP.MaxSpread = 0.9; SWEP.DeltaSpread = 0.3; SWEP.MinRecoil = 5; SWEP.MaxRecoil = 7; SWEP.DeltaRecoil = 1; SWEP.MinSpray = 1; SWEP.MaxSpray = 2; SWEP.DeltaSpray = 0.25; -- Iron Sites SWEP.IronSightsPos = Vector(4.3337, -6.4072, 2.6426); SWEP.IronSightsAng = Vector(2.0239, -0.0813, -0.1968); -------------------- SWEP.IronSightsPos = Vector (4.327, -2.0574, 2.7606) SWEP.IronSightsAng = Vector (0.8812, -0.0446, 0) -------------------- SWEP.IronSightZoom = 1; SWEP.UseScope = false; SWEP.ScopeScale = 0.4; SWEP.ScopeZooms = {4, 8}; SWEP.DrawSniperSights = false; [/code] Its in my garrysmod/addons on my computer and i dont see them in game and no errors?
Try moving it to garrysmod\lua\weapons
[QUOTE=MPan1;50051217]Try moving it to garrysmod\lua\weapons[/QUOTE] Hrmm okay I will.
Sorry, you need to Log In to post a reply to this thread.