Simple Question Entity's

I understand that entities have different variables such as the allowed one to set a entity to only a certain job/class. Is there a way to flip this like for example, not allowed jobs. The reason why i come here to ask first is because i dont want to restart my server with 50+ players on it then have a lua problem. Kinda looks bad ya know xD



DarkRP.createEntity( "Entity Number 100000000", {
	ent = "NothingHere",
	model = "MoodleNumber69",
	price = 1337,
	max = 666,
	cmd = "buythisthingy",
	notallowed = criminalTeams	--<--- EXAMPLE
} )


Im guessing here becuase im kinda a beginner but cant you use something like team.GetName( Entity( 1 ):Team() ) ? Just a guess though

I just want it to allow every team but 1-10 teams and that cant specify the teams i dont want so no

You can if you seperate the team names with commas.



DarkRP.createEntity( "Entity Number 100000000", {
	ent = "NothingHere",
	model = "MoodleNumber69",
	price = 1337,
	max = 666,
	cmd = "buythisthingy",
	allow = {TEAM_MEDIC, TEAM_THIEF, TEAM_MAYOR, etc}
} )


Yes i understand that, but i would like to have notallow or something because i have like 100+ jobs and i only want one of them not to be able to spawn the entity

[editline]30th October 2016[/editline]



DarkRP.createEntity( "Entity Number 100000000", {
	ent = "NothingHere",
	model = "MoodleNumber69",
	price = 1337,
	max = 666,
	cmd = "buythisthingy",
	notallow = {TEAM_MEDIC, TEAM_THIEF, TEAM_MAYOR, THIS_TEAM_IS_NOT_ALLOWED_TO_BUY_THIS, ect.}
} )


EXAMPLE ^^^^