Donator restrictions

Hello,

How can I do this to only donators.

AddEntity(“Weed Pot”, {
ent = “weed_plant”,
model = “models/nater/weedplant_pot.mdl”,
price = 500,
max = 5,
cmd = “/weedpot”

Which admin mod are you using?

ULX

Create a function and specify the user group


function GetJob ( ply )
If ply:IsUserGroup("admin", "superadmin", "donator")
then 
--Etc.

Sorry that wasn’t much help. I’m on my phone now. Ill try to give you a better example when I get home