I currently have only the Kleiner player model, but it does not show up during the round. It only appears if I respawn myself or if I ragdoll myself. Any suggestions?
Here is the player model code:
[lua]
ITEM.Name = 'Kleiner'
ITEM.Price = 250
ITEM.Model = 'models/player/kleiner.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[/lua]
Hold on one second,i know how to fix this,lettme check
[editline]31st July 2013[/editline]
Goto gamemodes/terrortown/gamemode/player_ext.lua and remove line 271!
[QUOTE=Hydrogengamin;41661898]Hold on one second,i know how to fix this,lettme check
[editline]31st July 2013[/editline]
Goto gamemodes/terrortown/gamemode/player_ext.lua and remove line 271![/QUOTE]
Ok, thanks it worked.
Sorry, you need to Log In to post a reply to this thread.