So basicly I have custom models on my server & you’re supposed to buy them in the pointshop. Although you can just press C and select them.
So I got this code im preety sure its done but i got one problem with it & i really cant figure this out since im still kinda new to the pointshop.
[lua]hook.Add(“PlayerSpawn”, “Limit players from certain models”, function(ply)
if not IsValid(ply) then return end
if ply:GetModel() == “models/norpo/ArkhamOrigins/Assassins/Deathstroke_ValveBiped.mdl” then
if not ply:PS_HasBoughtMode(“deathstroke”) then
–if they havent bought it, return now
–Reset their model
I know that PS_HasBoughtModel wouldnt work so basicly what im asking is what would replace it?