GMOD Pointshop steam id whitelist

I know I make too many threads sorry.

I’ve been trying to figure this out but I actually broke my gmod trying.
Is there an easy way to make it where only certain people can buy from the itemshop.

Like the

customCheck = function(ply) return ply:SteamID() == STEAM:blah end

In darkrp

ITEM.AllowedUserGroups = { "admin", "vip" }


Yeah I saw that, is there a way I can only allow certain steam ids?

[editline]11th June 2014[/editline]

Oh wait I think I can use

function ITEM:CanPlayerBuy(ply)
    return ply:Alive() -- only if alive

Sorry I didn’t look at source, thank you sooo much.