Files
VnUtest/garrysmod/addons/tacrp/lua/weapons/tacrp_nade_flashbang.lua
2026-03-31 10:27:04 +03:00

36 lines
831 B
Lua

AddCSLuaFile()
SWEP.Base = "tacrp_base_nade"
SWEP.Spawnable = TacRP.AreTheGrenadeAnimsReadyYet
SWEP.IconOverride = "entities/tacrp_ammo_flashbang.png"
// names and stuff
SWEP.PrintName = "Светошумовая граната"
SWEP.Category = "[FT] Специальное Оружие"
SWEP.ViewModel = "models/weapons/tacint/v_throwable_flashbang.mdl"
SWEP.WorldModel = "models/weapons/tacint/w_flashbang.mdl"
SWEP.ViewModelFOV = 65
SWEP.Slot = 4
SWEP.PrimaryGrenade = "flashbang"
SWEP.FiremodeName = "Throw"
SWEP.AnimationTranslationTable = {
["prime_grenade"] = "pullpin",
["throw_grenade"] = "throw",
["throw_grenade_underhand"] = "throw",
}
SWEP.TTTReplace = {["weapon_ttt_confgrenade"] = 1}
SWEP.Attachments = {}
SWEP.HoldType = "melee"
SWEP.HoldTypeSprint = "normal"
SWEP.HoldTypeBlindFire = false