Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Base: Make SWEP.PrintName shared #1253

Merged
merged 2 commits into from Nov 28, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -3,7 +3,6 @@ include( "ai_translations.lua" )
include( "sh_anim.lua" )
include( "shared.lua" )

SWEP.PrintName = "Scripted Weapon" -- 'Nice' Weapon name (Shown on HUD)
SWEP.Slot = 0 -- Slot in the weapon selection menu
SWEP.SlotPos = 10 -- Position in the slot
SWEP.DrawAmmo = true -- Should draw the default HL2 ammo counter
Expand Down Expand Up @@ -225,4 +224,4 @@ function SWEP:FireAnimationEvent( pos, ang, event, options )
return true
end

end
end
@@ -1,6 +1,7 @@

-- Variables that are used on both client and server

SWEP.PrintName = "Scripted Weapon" -- 'Nice' Weapon name (Shown on HUD)
SWEP.Author = ""
SWEP.Contact = ""
SWEP.Purpose = ""
Expand Down Expand Up @@ -286,4 +287,4 @@ function SWEP:DoImpactEffect( tr, nDamageType )

return false;

end
end