-- TeamsTEAM_CITIZEN = 1 -- Normal CitizensTEAM_POLICE = 2 -- Police Officers (CPs)TEAM_MAYOR = 3 -- MayorsTEAM_GANG = 4 -- GangstersTEAM_MOB = 5 -- Mob BossesTEAM_GUN = 6 -- Gun DealersTEAM_MEDIC = 7 -- MedicsTEAM_COOK = 8 -- CooksTEAM_CHIEF = 9 -- Police Chiefs (CP Chiefs)team.SetUp(TEAM_CITIZEN, "Citizen", Color(20, 150, 20, 255))team.SetUp(TEAM_POLICE, "Civil Protection", Color(25, 25, 170, 255))team.SetUp(TEAM_MAYOR, "Mayor", Color(150, 20, 20, 255))team.SetUp(TEAM_GANG, "Gangster", Color(75, 75, 75, 255))team.SetUp(TEAM_MOB, "Mob Boss", Color(25, 25, 25, 255))team.SetUp(TEAM_GUN, "Gun Dealer", Color(255, 140, 0, 255))team.SetUp(TEAM_MEDIC, "Medic", Color(47, 79, 79, 255))team.SetUp(TEAM_COOK, "Cook", Color(238, 99, 99, 255))team.SetUp(TEAM_CHIEF, "Civil Protection Chief", Color(20, 20, 255, 255))RPExtraTeams = {}function AddExtraTeam( Name, color, model, Description, Weapons, command, maximum_amount_of_this_class, Salary, admin, Vote, NeedToChangeFrom) if not Name or not color or not model or not Description or not Weapons or not command or not maximum_amount_of_this_class or not Salary or not admin or Vote == nil then local text = "One of the custom teams is wrongly made! Attempt to give name of the wrongly made team!(if it's nil then I failed):\n" .. tostring(Name) print(text) hook.Add("PlayerSpawn", "TeamError", function(ply) if ply:IsAdmin() then ply:ChatPrint("WARNING: "..text) end end) end table.insert(RPExtraTeams, {name = Name, model = model, Des = Description, Weapons = Weapons, command = command, max = maximum_amount_of_this_class, salary = Salary, admin = admin or 0, Vote = tobool(Vote), NeedToChangeFrom = NeedToChangeFrom}) team.SetUp(9 + #RPExtraTeams, Name, color) local Team = 9 + #RPExtraTeams return Teamend/*--------------------------------------------------------HOW TO MAKE AN EXTRA CLASS!!!!--------------------------------------------------------You can make extra classes here. Set everything up here and the rest will be done for you! no more editing 100 files without knowing what you're doing!!!Ok here's how:To make an extra class do this:AddExtraTeam( "<NAME OF THE CLASS>", Color(<red>, <Green>, <blue>, 255), "<Player model>" , [[<the description(it can have enters)>]], { "<first extra weapon>","<second extra weapon>", etc...}, "<chat command to become it(WITHOUT THE /!)>", <maximum amount of this team> <the salary he gets>, 0/1/2 = public /admin only / superadmin only, <1/0/true/false Do you have to vote to become it>, TEAM: Which team you need to be to become this team)The real example is here: it's the Hobo: */--VAR without /!!! The name the color(what you see in tab) the player model The descriptionTEAM_HOBO = AddExtraTeam("Hobo", Color(80, 45, 0, 255), "models/player/corpse1.mdl", [[The lowest member of society. All people see you laugh. You have no home.Beg for your food and moneySing for everyone who passes to get moneyMake your own wooden home somewhere in a corner or outside someone else's door]], {"weapon_bugbait"}, "hobo", 5, 0, 0, false)//No extra weapons say /hobo to become hobo Maximum hobo's = 5 his salary = 0 because hobo's don't earn money. 0 = everyone can become hobo , false = you don't have to vote to become hobo// MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:// TEAM_/DUDE IS WROOOOOONG !!!!!!// HAVING "/dude" IN THE COMMAND FIELD IS WROOOOOOOONG!!!!//ADD TEAMS UNDER THIS LINE:TEAM_PET = AddExtraTeam("Pet", Color(255, 200, 0, 255), "models/player/renamon_b5.mdl", [[Be someone's pet, make sure he treats you well.If you don't get treated well, bite him.Pet's can't have guns or toolgun(unless you're admin)]], {"bite"}, "pet", 2, 0, 1, false)//TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0, 0, 255, 255), "models/player/urban.mdl", [[Help The Civil Protection If Needed!]], {"weapon_glock2","weapon_m42","door_ram","stunstick","unarrest_stick","arrest_stick","talk"} , "swat", 5, 150, 0, true) //TEAM_news = AddExtraTeam("News Caster", Color(102,0,255,255), "models/player/magnusson.mdl", [[Somone Who Reports The News! Must Have Microphone!]], {}, "news", 1, 90, 0, false) //TEAM_specops = AddExtraTeam("SpecOps", Color(204,0,204,255), "models/player/alyx.mdl", [[ For Those Times When Arresting Just Won't Cut It!]], {"weapon_m42","ls_sniper","weapon_glock2", "weapon_cracker","weapon_spiderman"} , "specops", 3, 100, 1, false) //TEAM_body = AddExtraTeam("Bodyguard", Color(255,255,0,255), "models/player/odessa.mdl", [[If People Want A Bodyguard Just Ask. You Have To Buy Weapons!]], {}, "body", 2, 100, 0, true) //TEAM_banker = AddExtraTeam("Banker", Color(102,255,204,255), "models/barney.mdl", [[Give Loans And More!]], {}, "banker", 1, 150, 2, false)//TEAM_bounty = AddExtraTeam("Bounty Hunter", Color(153,204,0,255), "models/player/leet.mdl", [[A Normal Citizen, But He Tracks Down and Arrests Wanted People. Use The Arrest Baton and Only Fire Back When They Shoot You.The Bounty Hunter Helps Out The Police When Needed. They Come Out When A Crime Occurs To Increase The Police's Chances Of Catching The Criminal.]], {"weapon_glock2","arrest_stick","talk"}, "bounty", 2, 120, 0,true)//TEAM_real = AddExtraTeam("Real Estate Agent", Color(255,102,51,255), "models/player/eli.mdl", [[Sell Houses Earn Money]], {}, "real", 2, 100, 0, false)//TEAM_ninja = AddExtraTeam("Ninja", Color(102,255,0,255), "models/player/phoenix.mdl", [[Do Somthing Good For The Town & Save The Day!]], {"weapon_spiderman",,"weapon_glock2", "ls_sniper", "lockpick"}, "ninja", 2, 150, 0, true)//TEAM_terrorist = AddExtraTeam("Terrorist", Color(204,204,255,255), "models/player/guerilla.mdl", [[Blow Up The Town & City Or Rob People!]], {"weapon_ak472"}, "terrorist", 2, 100, 0, true)//TEAM_sniper = AddExtraTeam("Sniper", Color(204,51,0,255), "models/player/swat.mdl", [[A Military Sniper Used In Missions To Catch Criminals]], {"ls_sniper"}, "sniper", 3, 150, 0, true)//