• What is wrong with these?
    2 replies, posted
AddEntity("Cannabis Pot", { ent = "ent_cannabispot", model = "models/props_c17/pottery09a.mdl", price = 100, max = 4, cmd = "/buycannabispot", allowed = {TEAM_DRUGDEALER}, }) AddEntity("Meth Lab", { ent = "ent_methfac", model = "models/props_wasteland/laundry_basket001.mdl", price = 1000, max = 3, cmd = "/buymethfac", allowed = {TEAM_DRUGDEALER}, }) AddEntity("Cocaine Lab", { ent = "ent_cokefac", model = "models/props_lab/reciever_cart.mdl", price = 1000, max = 2, cmd = "/buycokefac", allowed = {TEAM_DRUGDEALER}, }) AddEntity("Unrefined Cocaine", { ent = "ent_cocainepack", model = "models/cocn.mdl", price = 50, max = 10, cmd = "/buycoke", allowed = {TEAM_DRUGDEALER}, }) AddEntity("Meth Refill", { ent = "ent_methrefill", model = "models/props_lab/jar01a.mdl", price = 1000, max = 10, cmd = "/buymeth", allowed = {TEAM_DRUGDEALER}, }) How do I make them for one team?
It should only work for TEAM_DRUGDEALER. Can you put your code in [lua] tags please?
Solved
Sorry, you need to Log In to post a reply to this thread.