DarkRP Entity Help

Okay so my problem is making an entity. I want to make the Pizza in this mod http://steamcommunity.com/sharedfiles/filedetails/?id=163221745&searchtext=food+mod an entity spawnable only by my custom job. Heres the code for the ent


DarkRP.createEntity( "Pepperoni Pizza", { 
   ent = "food_pepperonipizza",
   model = "models5/peppizza01/peppizza01.mdl",
   price = 100,
   max = 100,
   cmd = "buypeppizza",
   allowed = {TEAM_Pizza_Man},
   category = "Other"
})

then heres the code for my custom job


TEAM_PIZZA_MAN = DarkRP.createJob("Pizza Man", {
   color = Color(142, 153, 25, 255),
   model = {"models/Humans/Group01/male_08.mdl"},
   description = [[You are the Pizza man. You base at the Pizza Parlor and sell your pie to the public.]],
   weapons = {},
   command = "pizzaman",
   max = 1,
   salary = 300,
   admin = 0,
   vote = false,
   hasLicense = false,
   candemote = true,
   -- CustomCheck
   medic = false,
   chief = false,
   mayor = false,
   hobo = false,
   cook = false,
   category = "Working Class",
})

But when I get into game nothing shows up, someone, anyone, please help.

Firstly we should make up our mind about the casing. The variable TEAM_Pizza_Man is not defined in your code, but TEAM_PIZZA_MAN is.

Change:


   allowed = {TEAM_Pizza_Man},

To:


   allowed = {TEAM_PIZZA_MAN},

Okay. Lets go with the second one. Anything else?