TTT Player Models disapear once the round started.
3 replies, posted
Hey guys, I have a question, I couldn't find out how to fix this nor where to look. :(
Whenever a round starts the custom player model someone is using disappears and it's being reset to the default one, only happens once the round started though.
Does anybody know what it is?
Here's the code for the Pointshop I'm using...
[QUOTE]ITEM.Name = 'Patriot'
ITEM.Price = 0
ITEM.Model = 'models/avengers/iron man/patriot_player.mdl'
ITEM.AllowedUserGroups = { "superadmin", "vip", "senioradmin2", "admin2", "volunteermoderator2", "vipmember" }
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[/QUOTE]
Regards.
Go to player_ext.lua and delete or comment out line 271
Also, put ttt_playercolor 0 in your server.cfg
Sweet, works!
Thanks!
Sorry, you need to Log In to post a reply to this thread.