mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
50
gamemodes/terrortown/entities/weapons/weapon_zm_pistol.lua
Normal file
50
gamemodes/terrortown/entities/weapons/weapon_zm_pistol.lua
Normal file
@@ -0,0 +1,50 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
AddCSLuaFile()
|
||||
|
||||
SWEP.HoldType = "pistol"
|
||||
|
||||
if CLIENT then
|
||||
SWEP.PrintName = "pistol_name"
|
||||
SWEP.Slot = 1
|
||||
|
||||
SWEP.ViewModelFlip = false
|
||||
SWEP.ViewModelFOV = 54
|
||||
|
||||
SWEP.Icon = "vgui/ttt/icon_pistol"
|
||||
SWEP.IconLetter = "u"
|
||||
end
|
||||
|
||||
SWEP.Base = "weapon_tttbase"
|
||||
|
||||
SWEP.Kind = WEAPON_PISTOL
|
||||
SWEP.WeaponID = AMMO_PISTOL
|
||||
|
||||
SWEP.Primary.Recoil = 1.5
|
||||
SWEP.Primary.Damage = 25
|
||||
SWEP.Primary.Delay = 0.38
|
||||
SWEP.Primary.Cone = 0.02
|
||||
SWEP.Primary.ClipSize = 20
|
||||
SWEP.Primary.Automatic = true
|
||||
SWEP.Primary.DefaultClip = 20
|
||||
SWEP.Primary.ClipMax = 60
|
||||
SWEP.Primary.Ammo = "Pistol"
|
||||
SWEP.Primary.Sound = Sound( "Weapon_FiveSeven.Single" )
|
||||
|
||||
SWEP.AutoSpawnable = true
|
||||
SWEP.AmmoEnt = "item_ammo_pistol_ttt"
|
||||
|
||||
SWEP.UseHands = true
|
||||
SWEP.ViewModel = "models/weapons/cstrike/c_pist_fiveseven.mdl"
|
||||
SWEP.WorldModel = "models/weapons/w_pist_fiveseven.mdl"
|
||||
|
||||
SWEP.IronSightsPos = Vector(-5.95, -4, 2.799)
|
||||
SWEP.IronSightsAng = Vector(0, 0, 0)
|
||||
Reference in New Issue
Block a user