Playermodels not showing up.No errors or anything

This is my code for it


ITEM.Name = 'Vendetta'
ITEM.Price = 1000
ITEM.Model = 'models/code_gs/vendetta/vendettaplayer.mdl'
ITEM.AllowedUserGroups = { "vip", "uvip", "manager", "manager", "donator", "admin", "superadmin","moderatorplus", "owner" }

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

try making the file name and item name lowercase.

if that doesn’t work try maybe adding a space between “superadmin” and “moderatorplus”

[lua]
ITEM.Name = ‘Alyx’
ITEM.Price = 300
ITEM.Model = ‘models/player/alyx.mdl’
ITEM.AllowedUserGroups = { “user”, “member”, “Vip”, “vip+”, “moderator”, “trialmod”, “admin”, “superadmin” }

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

function ITEM:PlayerSetModel(ply)
ply:SetModel(self.Model)
end
[/lua]
This is a playermodel I did, it works. Use this as your base.

Thanks ill try that :slight_smile: