• Adding weapons to the pointshop
    1 replies, posted
p90 = { Name = "p90", Enabled = true, Description = "Get a p90!", Cost = 200, Model = "models/weapons/w_gla_p90.mdl", Functions = { OnGive = function(ply, item) ply:Give("weapon_p90") end, OnTake = function(ply, item) item.Hooks.PlayerDeath(ply, item) end }, Hooks = { PlayerDeath = function(ply, item) if ply:PS_HasItem(item.ID) then ply:PS_TakeItem(item.ID) if ply:GetWeapon("weapon_p90") then ply:GetWeapon("weapon_p90"):Remove() end end end } } What i need is when the TTT round is over when you spawn back you have the weapon.
Can't you just remove that :remove()?
Sorry, you need to Log In to post a reply to this thread.