Adding player models to a shop, getting errors

Hello all,
I am running a TTT server on Gmod and I’m running into some problems with the point shop. I’m trying to add in some new player models. I drag and drop the lua, model, and materials files into my srcds directory and merge them with the current folders, then find an existing working player model and change the directory that it looks for the model in to where the new one is, so it’s essentially the same LUA as the working models, only it takes another model. However I have no experience with LUA so this may be wrong.

Basically, it loads in the model into the shop, but it’s an error. Any ideas?

http://forum.facepunch.com/showthread.php?t=1243853

-snip-

Yeah for which file? The new model or the old working kleiner model or both?

Are you sure you have the model on your computer?

Kleiner

[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]

Hitler

[lua]ITEM.Name = ‘Hitler’
ITEM.Price = 250
ITEM.Model = ‘models/player/hitlr.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]

[editline]31st January 2013[/editline]

Also yes, I see that hitler is mispelled, that’s the correct file name though.
And yes, I put them into the directory that the LUA is asking for