I created a fire extinguisher swep using the swep construction kit. The only issue left is that the swep returns to the original model when dropped… I’ve tried a few different things but none of it seems to be working. Any ideas?
if (SERVER) then
util.AddNetworkString("rprint_setCSModel")
function SWEP:OnDrop()
self:SetModel("models/props/cs_office/fire_extinguisher.mdl")
net.Start("rprint_setCSModel")
net.WriteEntity(self)
net.Send(player.GetAll())
end
else
net.Receive("rprint_setCSModel", function()
local ent = net.ReadEntity()
ent:SetModel("models/props/cs_office/fire_extinguisher.mdl")
end)
end