So I can get the basic models to show up into the pointshop. The pictures work the price is set. you click buy and yes to confirm your buy, but then nothing happens from there. My lua for the Alyx skin is.
ITEM.Name = 'Alyx'
ITEM.Price = 10000
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)
endend
Any thing wrong with this? or is there something else i need to do to get it to work. I know the files for Alyx are in the game i can access the model files and material files.
Player Models in Point shop.
-
- New to forums
- Posts: 9
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Mon Apr 22, 2013 8:48 am
Re: Player Models in Point shop.
Oh yes please, someone has got to make a guide to the pointshop addon
I think it will be very helpful to everyone.
I think it will be very helpful to everyone.