Player models reset after round start. [TTT Pointshop]

I am using pointshop by _undefined http://forum.facepunch.com/showthread.php?t=1228438

Even the default models that come with gmod dont work. They work, the animations and everything works, it’s just that when the round starts any player’s model is reset to the default actor pmodel.

Once the round is over and enters pre round, the pmodels they equipped w/ pointshop are back, until the round starts. Over and over.

Any clue why?

This is an example of one of my many pointshop luas.


ITEM.Name = 'Alyx'
ITEM.Price = 650
ITEM.Model = 'models/player/alyx.mdl'

function ITEM:OnEquip(ply, modifications)
	if not ply._OldModel then
		ply._OldModel = ply:GetModel()
	end
	
	timer.Simple(1, function() ply:SetModel(self.Model) end)
end

function ITEM:OnHolster(ply)
	if ply._OldModel then
		ply:SetModel(ply._OldModel)
	end
end

I found something out.

For some, wierd reason, you can kill pre round now. This wasn’t true when I made this post but whatever. The point is, when someone respawns I think pointshop checks and updates their model. It’s reverting afterwards. The question is why.
Maybe we can make pointshop double check at the round begin event? I don’t know extensive lua.


(User was banned for this post ("Help & Support" - Orkel))

I have the same issue with the player models.

Anyone have any suggestions?