I got really bored on spring break and messed around with DarkRP's class maker...



/*--------------------------------------------------------
Default teams. If you make a team above the citizen team, people will spawn with that team!
--------------------------------------------------------*/
TEAM_CITIZEN = AddExtraTeam("Citizen", Color(20, 150, 20, 255), {
"models/player/Group01/Female_01.mdl",
"models/player/Group01/Female_02.mdl",
"models/player/Group01/Female_03.mdl",
"models/player/Group01/Female_04.mdl",
"models/player/Group01/Female_06.mdl",
"models/player/Group01/Female_07.mdl",
"models/player/group01/male_01.mdl",
"models/player/Group01/Male_02.mdl",
"models/player/Group01/male_03.mdl",
"models/player/Group01/Male_04.mdl",
"models/player/Group01/Male_05.mdl",
"models/player/Group01/Male_06.mdl",
"models/player/Group01/Male_07.mdl",
"models/player/Group01/Male_08.mdl",
"models/player/Group01/Male_09.mdl"},
[[The Citizen is the most basic level of society you can hold
besides being a hobo. 
You have no specific role in city life.]], {}, "citizen", 0, 45, 0, false, false)
TEAM_POLICE = AddExtraTeam("Civil Protection", Color(25, 25, 170, 255), "models/player/police.mdl", [[The protector of every citizen that lives in the city . 
You have the power to arrest criminals and protect innocents. 
Hit them with your arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to disobey 
the law.
The Battering Ram can break down the door of a criminal with a warrant 
for his/her arrest.
The Battering Ram can also unfreeze frozen props(if enabled).
Type /wanted <name> to alert the public to this criminal
OR go to tab and warrant someone by clicking the warrant button]], {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker"}, "cp", 4, 65, 0, true, true)
TEAM_GANG = AddExtraTeam("Gangster", Color(75, 75, 75, 255), {
"models/player/Group03/Female_01.mdl",
"models/player/Group03/Female_02.mdl",
"models/player/Group03/Female_03.mdl",
"models/player/Group03/Female_04.mdl",
"models/player/Group03/Female_06.mdl",
"models/player/Group03/Female_07.mdl",
"models/player/group03/male_01.mdl",
"models/player/Group03/Male_02.mdl",
"models/player/Group03/male_03.mdl",
"models/player/Group03/Male_04.mdl",
"models/player/Group03/Male_05.mdl",
"models/player/Group03/Male_06.mdl",
"models/player/Group03/Male_07.mdl",
"models/player/Group03/Male_08.mdl",
"models/player/Group03/Male_09.mdl"}, [[The lowest person of crime. 
A gangster generally works for the Mobboss who runs the crime family. 
The Mobboss sets your agenda and you follow it or you might be punished.]], {}, "gangster", 3, 45, 0, false, false)
TEAM_MOB = AddExtraTeam("Mob boss", Color(25, 25, 25, 255), "models/player/gman_high.mdl", [[The Mobboss is the boss of the criminals in the city. 
With his power he coordinates the gangsters and forms an efficent crime
organization. 
He has the ability to break into houses by using a lockpick. 
The Mobboss also can unarrest you.]], {"lockpick", "unarrest_stick"}, "mobboss", 1, 60, 0, false, false)
TEAM_GUN = AddExtraTeam("Gun Dealer", Color(255, 140, 0, 255), "models/player/monk.mdl", [[A gun dealer is the only person who can sell guns to other 
people. 
However, make sure you aren't caught selling guns that are illegal to 
the public.
/Buyshipment <name> to Buy a weapon shipment
/Buygunlab to Buy a gunlab that spawns P228 pistols]], {}, "gundealer", 2, 45, 0, false, false)
TEAM_MEDIC = AddExtraTeam("Medic", Color(47, 79, 79, 255), "models/player/kleiner.mdl", [[With your medical knowledge, you heal players to proper 
health. 
Without a medic, people can not be healed. 
Left click with the Medical Kit to heal other players.
Right click with the Medical Kit to heal yourself.]], {"med_kit"}, "medic", 3, 45, 0, false, false)
TEAM_COOK = AddExtraTeam("Cook", Color(238, 99, 99, 255), "models/player/mossman.mdl", [[As a cook, it is your responsibility to feed the other members 
of your city. 
You can spawn a microwave and sell the food you make:
/Buymicrowave]], {}, "cook", 2, 45, 0, 0, false)
TEAM_CHIEF = AddExtraTeam("Civil Protection Chief", Color(20, 20, 255, 255), "models/player/combine_soldier_prisonguard.mdl", [[The Chief is the leader of the Civil Protection unit. 
Coordinate the police forces to bring law to the city
Hit them with arrest baton to put them in jail
Bash them with a stunstick and they might learn better than to 
disobey the law.
The Battering Ram can break down the door of a criminal with a 
warrant for his/her arrest.
Type /wanted <name> to alert the public to this criminal
Type /jailpos to set the Jail Position]], {"arrest_stick", "unarrest_stick", "weapon_deagle2", "stunstick", "door_ram", "weaponchecker"}, "chief", 1, 75, 0, false, true, TEAM_POLICE)
TEAM_MAYOR = AddExtraTeam("Mayor", Color(150, 20, 20, 255), "models/player/breen.mdl", [[The Mayor of the city creates laws to serve the greater good 
of the people.
If you are the mayor you may create and accept warrants.
Type /wanted <name> to warrant a player
Type /jailpos to set the Jail Position
Type /lockdown initiate a lockdown of the city. 
Everyone must be inside during a lockdown. 
The cops patrol the area
/unlockdown to end a lockdown]], {}, "mayor", 1, 85, 0, true, false/*, {TEAM_CHIEF, TEAM_POLICE}*/)
/*
TEAM_VOTEVP = AddExtraTeam("Vice President", Color(255,150,0,255), "models/player/eli.mdl", [[The VP! Help the president manage the city. If he gets too powerful, overrun him.]], {"weapon_p2282"}, "votevp", 1, 70, 0, true) 
TEAM_SUBDEALER = AddExtraTeam("Substance Dealer", Color(0,52,68,255), "models/player/odessa.mdl", [[Sells Illegal Substances... <Bad Boy!>]], {"weapon_fiveseven2"}, "subdealer", 2, 60, 0, false) 
TEAM_MERCH = AddExtraTeam("Merchant", Color(055,135,10,255), "models/player/group01/male_04.mdl", [[Buy And Sell Stuff For A Living Self Explained...]], {"weapon_bugbait"}, "merch", 2, 50, 0, false) 
TEAM_WORK = AddExtraTeam("Office Worker", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Works At The Office Pretty Much The Backbone Of OfficeRP]], {"weapon_p2282"}, "work", 5, 50, 0, false) 
TEAM_GUARD = AddExtraTeam("Guard", Color(255,40,55,255), "models/player/barney.mdl", [[Gaurd For Hire BE PROTECTED IN THIS WORLD OF EVIL]], {"weapon_ak472"}, "guard", 3, 60, 0, true) 
TEAM_BUILD = AddExtraTeam("Builder", Color(0,255,55,255), "models/player/alyx.mdl", [[Hire This Guy To Build A PRO Base! ]], {"weapon_bugbait"}, "build", 5, 50, 0, false) 
TEAM_CLIENT = AddExtraTeam("Client", Color(255,120,20,255), "models/player/group03/male_07.mdl", [[You Are The Client... Do What Your Supposed To...]], {"weapon_deagle2"}, "client", 15, 50, 0, false) 
TEAM_WIRENERD = AddExtraTeam("Wire Nerd", Color(70,0,255,255), "models/player/group03/female_07.mdl", [[You Are A Pro At Wire, Build Wire Stuff For $$$]], {"weapon_bugbait"}, "wirenerd", 2, 50, 0, false) 
TEAM_security = AddExtraTeam("Security", Color(50,0,150,255), "models/player/group03/male_02.mdl", [[You ARE The Backup...The Security... YOU ARE EPIC]], {"weapon_m162"}, "sec", 3, 60, 0, false) 
TEAM_tech = AddExtraTeam("Technician", Color(0,200,50,255), "models/player/barney.mdl", [[Sell Installations For PCMod With The Install Disk.]], {"pcmod_installdisk"}, "technician", 1, 50, 0, false) 
TEAM_bar = AddExtraTeam("Bartender", Color(200,30,0,255), "models/player/classic.mdl", [[Buy A Beer Rack And Sell Some Beer.(Leagal) ]], {"weapon_bugbait"}, "bartender", 2, 50, 0, false) 
TEAM_DRUG = AddExtraTeam("Drug Baron", Color(50,0,150,255), "models/player/arctic.mdl", [[Sell Drugz ]], {}, "drugbaron", 10, 100, 2, false) 
TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect ]], {"weapon_ak472", "weapon_pumpshotgun2"}, "swat", 3, 300, 0, true) 
TEAM_SWATCHIEF = AddExtraTeam("S.W.A.T Chief", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect Also Command ]], {"weapon_ak472", "weapon_pumpshotgun2", "weapon_mp52", "weapon_real_cs_smoke"}, "swatchief", 1, 500, 0, true, TEAM_SWAT) 
TEAM_TERRORIST = AddExtraTeam("Terrorist", Color(55,55,55,255), "models/player/urban.mdl", [[Blow Up Some stuff, For Allah ]], {"weapon_p2282", "weapon_jihadbomb"}, "terrorist", 1, 50, 0, true) 
TEAM_NINJA = AddExtraTeam("Ninja", Color(55,55,55,255), "models/player/urban.mdl", [[Blow Up Some stuff, For Allah]], {"weapon_p2282", "spiderman", "weapon_real_cs_awp"}, "ninja", 2, 50, 0, true) 
TEAM_FOOD = AddExtraTeam("Food Salesman", Color(55,55,55,255), "models/player/urban.mdl", [[Sell Food WITHOUT Poison Or Go To Jail]], {"weapon_p2282"}, "foodsalesman", 2, 50, 0, false) 
TEAM_ADMIN = AddExtraTeam("Admin Police", Color(255,255,255,255), "models/Combine_Super_Soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.]], {"weapon_pumpshotgun2", "weapon_p90", "stunstick", "arrest_stick", "unarrest_stick"}, "adminpolice", 10, 20000, 1, false) 
TEAM_LOCK = AddExtraTeam("Locksmith", Color(55,55,55,255), "models/player/urban.mdl", [[Break Some Locks Fix Some More Locks]], {"weapon_pumshotgun2", "lockpick"}, "locksmith", 2, 50, 0, true) 
TEAM_SNIPER = AddExtraTeam("S.W.A.T Sniper", Color(55,55,55,255), "models/player/artic.mdl", [[HEADSHOT SOME TERRORISTS!]], {"weapon_p2282", "spiderman", "weapon_real_cs_awp"}, "swatsniper", 2, 50, 0, true) 
TEAM_HIT = AddExtraTeam("Hitman", Color(55,55,55,255), "models/player/urban.mdl", [[Killz 4 Cashz]], {"weapon_deagle2", "weapon_real_cs_awp"}, "hitman", 2, 100, 0, true) 
TEAM_ZOMB = AddExtraTeam("Zombie", Color(200,30,0,255), "models/player/classic.mdl", [[Braaaaaaaaaaaiiinzzzzzz]], {"spiderman"}, "zombie", 2, 50, 0, true) 
TEAM_MG = AddExtraTeam("MaintenanceGuard", Color(102, 0, 0, 255), "models/player/combine_super_soldier.mdl", [[You guard Maintenance at all costs]], {"arrest_stick","unarrest_stick","weapon_glock2","stunstick","door_ram","weaponcheacker","med_kit","weapon_mp52","weapon_pumpshotgun2"}, "mg", 10, 120, 1, false, true)
TEAM_MAINT = AddExtraTeam("TheGreatMaintenance", Color(255, 0, 0, 255), "models/player/riot.mdl", [[You have no guns you own all guns You are the server owner]], {}, "maint", 2, 120, 2, false, true)
--------------------------------------------------------
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>, true/false DOES THIS TEAM HAVE A GUN LICENSE?, 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 description
TEAM_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 money
Sing for everyone who passes to get money
Make 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_VOTEVP = AddExtraTeam("Vice President", Color(255,150,0,255), "models/player/eli.mdl", [[The VP! Help the president manage the city. If he gets too powerful, overrun him.]], {"weapon_p2282"}, "votevp", 1, 70, 0, true) 
TEAM_SUBDEALER = AddExtraTeam("Substance Dealer", Color(0,52,68,255), "models/player/odessa.mdl", [[Sells Illegal Substances... <Bad Boy!>]], {"weapon_fiveseven2"}, "subdealer", 2, 60, 0, false) 
TEAM_MERCH = AddExtraTeam("Merchant", Color(055,135,10,255), "models/player/group01/male_04.mdl", [[Buy And Sell Stuff For A Living Self Explained...]], {"weapon_bugbait"}, "merch", 2, 50, 0, false) 
TEAM_WORK = AddExtraTeam("Office Worker", Color(55,55,55,255), "models/player/ct_urban.mdl", [[Works At The Office Pretty Much The Backbone Of OfficeRP]], {"weapon_p2282"}, "work", 5, 50, 0, false) 
TEAM_GUARD = AddExtraTeam("Guard", Color(255,40,55,255), "models/player/barney.mdl", [[Gaurd For Hire BE PROTECTED IN THIS WORLD OF EVIL]], {"weapon_ak472"}, "guard", 3, 60, 0, true) 
TEAM_BUILD = AddExtraTeam("Builder", Color(0,255,55,255), "models/player/alyx.mdl", [[Hire This Guy To Build A PRO Base! ]], {"weapon_bugbait"}, "build", 5, 50, 0, false) 
TEAM_CLIENT = AddExtraTeam("Client", Color(255,120,20,255), "models/player/group03/male_07.mdl", [[You Are The Client... Do What Your Supposed To...]], {"weapon_deagle2"}, "client", 15, 50, 0, false) 
TEAM_WIRENERD = AddExtraTeam("Wire Nerd", Color(70,0,255,255), "models/player/group03/female_07.mdl", [[You Are A Pro At Wire, Build Wire Stuff For $$$]], {"weapon_bugbait"}, "wirenerd", 2, 50, 0, false) 
TEAM_security = AddExtraTeam("Security", Color(50,0,150,255), "models/player/group03/male_02.mdl", [[You ARE The Backup...The Security... YOU ARE EPIC]], {"weapon_m162"}, "sec", 3, 60, 0, false) 
TEAM_tech = AddExtraTeam("Technician", Color(0,200,50,255), "models/player/barney.mdl", [[Sell Installations For PCMod With The Install Disk.]], {"pcmod_installdisk"}, "technician", 1, 50, 0, false) 
TEAM_bar = AddExtraTeam("Bartender", Color(200,30,0,255), "models/player/classic.mdl", [[Buy A Beer Rack And Sell Some Beer.(Leagal) ]], {"weapon_bugbait"}, "bartender", 2, 50, 0, false) 
TEAM_DRUG = AddExtraTeam("Drug Baron", Color(50,0,150,255), "models/player/arctic.mdl", [[Sell Drugz ]], {}, "drugbaron", 10, 100, 2, false) 
TEAM_SWAT = AddExtraTeam("S.W.A.T", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect ]], {"weapon_ak472", "weapon_pumpshotgun2"}, "swat", 3, 300, 0, true) 
TEAM_SWATCHIEF = AddExtraTeam("S.W.A.T Chief", Color(0,0,153,255), "models/player/barney.mdl", [[Raid And Protect Also Command ]], {"weapon_ak472", "weapon_pumpshotgun2", "weapon_mp52", "weapon_real_cs_smoke"}, "swatchief", 1, 500, 0, true, TEAM_SWAT) 
TEAM_TERRORIST = AddExtraTeam("Terrorist", Color(55,55,55,255), "models/player/urban.mdl", [[Blow Up Some stuff, For Allah ]], {"weapon_p2282", "weapon_jihadbomb"}, "terrorist", 1, 50, 0, true) 
TEAM_NINJA = AddExtraTeam("Ninja", Color(55,55,55,255), "models/player/urban.mdl", [[Hit ppl]], {"weapon_p2282", "spiderman", "weapon_real_cs_awp"}, "ninja", 2, 50, 0, true) 
TEAM_FOOD = AddExtraTeam("Food Salesman", Color(55,55,55,255), "models/player/urban.mdl", [[Sell Food WITHOUT Poison Or Go To Jail]], {"weapon_p2282"}, "foodsalesman", 2, 50, 0, false) 
TEAM_ADMIN = AddExtraTeam("Admin Police", Color(255,255,255,255), "models/Combine_Super_Soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.]], {"weapon_pumpshotgun2", "weapon_p90", "stunstick", "arrest_stick", "unarrest_stick"}, "adminpolice", 10, 20000, 1, false) 
TEAM_LOCK = AddExtraTeam("Locksmith", Color(55,55,55,255), "models/player/urban.mdl", [[Break Some Locks Fix Some More Locks]], {"weapon_pumshotgun2", "lockpick"}, "locksmith", 2, 50, 0, true) 
TEAM_SNIPER = AddExtraTeam("S.W.A.T Sniper", Color(55,55,55,255), "models/player/artic.mdl", [[HEADSHOT SOME TERRORISTS!]], {"weapon_p2282", "spiderman", "weapon_real_cs_awp"}, "swatsniper", 2, 50, 0, true) 
TEAM_HIT = AddExtraTeam("Hitman", Color(55,55,55,255), "models/player/urban.mdl", [[Killz 4 Cashz]], {"weapon_deagle2", "weapon_real_cs_awp"}, "hitman", 2, 100, 0, true) 
TEAM_ZOMB = AddExtraTeam("Zombie", Color(200,30,0,255), "models/player/classic.mdl", [[Braaaaaaaaaaaiiinzzzzzz]], {"spiderman"}, "zombie", 2, 50, 0, true) 
TEAM_MG = AddExtraTeam("MaintenanceGuard", Color(102, 0, 0, 255), "models/player/combine_super_soldier.mdl", [[You guard Maintenance at all costs]], {"arrest_stick","unarrest_stick","weapon_glock2","stunstick","door_ram","weaponcheacker","med_kit","weapon_mp52","weapon_pumpshotgun2"}, "mg", 10, 120, 1, false, true)
TEAM_MAINT = AddExtraTeam("TheGreatMaintenance", Color(255, 0, 0, 255), "models/player/riot.mdl", [[You have no guns you own all guns You are the server owner]], {}, "maint", 2, 120, 2, false, true)
 
 
 
 
 
 
 
 
/*
--------------------------------------------------------
HOW TO MAKE A DOOR GROUP
--------------------------------------------------------
AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.)
WARNING: THE DOOR GROUPS HAVE TO BE AT THE _BOTTOM_ OF SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
 
The default door groups, can also be used as examples:
*/
AddDoorGroup("cops and mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
AddDoorGroup("gundealer only", TEAM_GUN)
AddDoorGroup("Admins Only", TEAM_MG, TEAM_MAINT, TEAM_ADMIN)
AddDoorGroup("Misfits Only", TEAM_NINJA, TEAM_ZOMB, TEAM_WIRENERD)
AddDoorGroup("Drug Dealers Only only", TEAM_DRUG)


This maricale happened when i got bored for a full week and thought, why not scr*w around with the Dark RP classes… so i did this it is un tested because i don not have any money on my credit card to buy a server…Nor do i even have my own website to donate to…

But most of those are useless :confused:

All of those are already roleplayable and some of them are really unserious. I mean, personally i try to make DarkRP as much serious as possible.

You need to combine them with addshipments.lua aswell.

You made sub par content instead of partying with above par looking females, you are a sub par life form.

English please, im not very good at scripting and LUAing… so i dont know half the terms… and i fixed it i just added this one during beta its fixed now and the TEAM_MG & MAINT are removed along with some of the other useless ones… I was thinking i might add a Hippie team … also im still trying to make it more serious so dont go pointin fingers!

TEAM_NINJA
TEAM_SNIPER
TEAM_ADMIN

Seriously, what.

http://www.insidesocal.com/tomhoffarth/archives/willie.jpg

“Ach! Ya got a wax in yer noodle?! Ya cooddn’t feind a good class if it came oop and booted yer behind!”

Bill - “Can I buy that computer?”

Bob - “lul no nub, you have to be the ‘client’ job dumb head…”

Who makes a client job, seriously what the hell.

Client was from the dark rp website, so dont complian about some of them go tell the creators

Probably the same guy who makes 3 admin classes. Even one is too many.

At least make some descriptive info on them sigh

Even if i had a DarkRP server, it would NOT use any classes other than citizen, cop and mayor. I dont need people metagaming jobs.