Trails in pointshop not going away when in spectator mode or killed

Im using default trails and they dont seem to go away when somebody dies or there in spectator mode

local Player = FindMetaTable(‘Player’)

function Player:PS_PlayerSpawn()
if not self:PS_CanPerformAction() then return end

-- TTT ( and others ) Fix
if TEAM_SPECTATOR != nil and self:Team() == TEAM_SPECTATOR then return end
if TEAM_SPEC != nil and self:Team() == TEAM_SPEC then return end

timer.Simple(1, function()
	if !IsValid(self) then return end
	for item_id, item in pairs(self.PS_Items) do
		local ITEM = PS.Items[item_id]
		if item.Equipped then
			ITEM:OnEquip(self, item.Modifiers)
		end
	end
end)

end

function Player:PS_PlayerDeath()
for item_id, item in pairs(self.PS_Items) do
if item.Equipped then
local ITEM = PS.Items[item_id]
ITEM:OnHolster(self, item.Modifiers)
end
end
end

Use [lua] tags or


How do i do that?

What gamemode are you using?

[editline]21st January 2014[/editline]

And are you using any silly addons?

We are using jailbreak as our gamemode, and the only addons we have are ulx and pointshop

You can use code tags by typing [lua] lua code here [?lua] (replace the ? with /)

[lua] hey [/lua]