Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function SWEP:PrimaryAttack()
- local ply = LocalPlayer()
- if !ply:Team() == ROLE_TRAITOR and ply:GetActiveWeapon():GetClass() == "weapon_zm_moltov" then
- ply:ChatPrint("You cannot throw this weapon!")
- return
- end
- self:SetNextPrimaryFire(CurTime() + self.Primary.Delay)
- if GetRoundState() == ROUND_PREP and GetConVar("ttt_no_nade_throw_during_prep"):GetBool() then
- return
- end
- self:PullPin()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement