• Counter strike crosshair problem for TTT
    0 replies, posted
So recently i have found a gamemode that has the crosshair movement of counter strike and i tried moving it to weapon_tttbase. It works, but for some reason when trying to zoom in with a sniper, theres this glitch where there is no scope. It just zooms in. This is what I have placed into the funtion SWEP:Initialize() --Spread Change self:SetNWInt("crouchcone", self.CrouchCone) self:SetNWInt("crouchwalkcone", self.CrouchWalkCone) self:SetNWInt("walkcone", self.WalkCone) self:SetNWInt("aircone", self.AirCone) self:SetNWInt("standcone", self.StandCone) self:SetNWInt("ironsightscone", self.IronsightsCone) self:SetWeaponHoldType( self.HoldType ) and this is what I place in SWEP:think() which was empty at first and replaced it with function SWEP:Think() if self.Owner:OnGround() and (self.Owner:KeyDown(IN_FORWARD) or self.Owner:KeyDown(IN_BACK) or self.Owner:KeyDown(IN_MOVERIGHT) or self.Owner:KeyDown(IN_MOVELEFT)) then if self.Owner:KeyDown(IN_DUCK) then self.Primary.Cone = self:GetNWInt("crouchwalkcone") else self.Primary.Cone = self:GetNWInt("walkcone") end elseif self.Owner:OnGround() and self.Owner:KeyDown(IN_DUCK) then self.Primary.Cone = self:GetNWInt("crouchcone") elseif not self.Owner:OnGround() then self.Primary.Cone = self:GetNWInt("aircone") else if (self:SetIronsights() == true) then self.Primary.Cone = self:GetNWInt("ironsightscone") else self.Primary.Cone = self:GetNWInt("standcone") end end
Sorry, you need to Log In to post a reply to this thread.