Guest User

Untitled

a guest
Oct 20th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.41 KB | None | 0 0
  1. /*--------------------------------------------------------
  2. Default teams. If you make a team above the citizen team, people will spawn with that team!
  3. --------------------------------------------------------*/
  4. TEAM_CITIZEN = AddExtraTeam("Citizen", Color(20, 150, 20, 255), {
  5. "models/player/Group01/Female_01.mdl",
  6. "models/player/Group01/Female_02.mdl",
  7. "models/player/Group01/Female_03.mdl",
  8. "models/player/Group01/Female_04.mdl",
  9. "models/player/Group01/Female_06.mdl",
  10. "models/player/Group01/Female_07.mdl",
  11. "models/player/group01/male_01.mdl",
  12. "models/player/Group01/Male_02.mdl",
  13. "models/player/Group01/male_03.mdl",
  14. "models/player/Group01/Male_04.mdl",
  15. "models/player/Group01/Male_05.mdl",
  16. "models/player/Group01/Male_06.mdl",
  17. "models/player/Group01/Male_07.mdl",
  18. "models/player/Group01/Male_08.mdl",
  19. "models/player/Group01/Male_09.mdl"},
  20. [[The Citizen is the most basic level of society you can hold
  21. besides being a hobo.
  22. You have no specific role in city life.]], {}, "citizen", 0, 45, 0, false, false)
  23.  
  24.  
  25.  
  26. TEAM_POLICE = AddExtraTeam("Civil Protection", Color(25, 25, 170, 255), "models/player/police.mdl", [[The protector of every citizen that lives in the city .
  27. You have the power to arrest criminals and protect innocents.
  28. Hit them with your arrest baton to put them in jail
  29. Bash them with a stunstick and they might learn better than to disobey
  30. the law.
  31. The Battering Ram can break down the door of a criminal with a warrant
  32. for his/her arrest.
  33. The Battering Ram can also unfreeze frozen props(if enabled).
  34. Type /wanted <name> to alert the public to this criminal
  35. 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)
  36. W
  37. TEAM_GANG = AddExtraTeam("Gangster", Color(75, 75, 75, 255), {
  38. "models/player/Group03/Female_01.mdl",
  39. "models/player/Group03/Female_02.mdl",
  40. "models/player/Group03/Female_03.mdl",
  41. "models/player/Group03/Female_04.mdl",
  42. "models/player/Group03/Female_06.mdl",
  43. "models/player/Group03/Female_07.mdl",
  44. "models/player/group03/male_01.mdl",
  45. "models/player/Group03/Male_02.mdl",
  46. "models/player/Group03/male_03.mdl",
  47. "models/player/Group03/Male_04.mdl",
  48. "models/player/Group03/Male_05.mdl",
  49. "models/player/Group03/Male_06.mdl",
  50. "models/player/Group03/Male_07.mdl",
  51. "models/player/Group03/Male_08.mdl",
  52. "models/player/Group03/Male_09.mdl"}, [[The lowest person of crime.
  53. A gangster generally works for the Mobboss who runs the crime family.
  54. The Mobboss sets your agenda and you follow it or you might be punished.]], {}, "gangster", 3, 45, 0, false, false)
  55.  
  56. 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.
  57. With his power he coordinates the gangsters and forms an efficent crime
  58. organization.
  59. He has the ability to break into houses by using a lockpick.
  60. The Mobboss also can unarrest you.]], {"lockpick", "unarrest_stick"}, "mobboss", 1, 60, 0, false, false)
  61.  
  62. 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
  63. people.
  64. However, make sure you aren't caught selling guns that are illegal to
  65. the public.
  66. /Buyshipment <name> to Buy a weapon shipment
  67. /Buygunlab to Buy a gunlab that spawns P228 pistols]], {}, "gundealer", 2, 45, 0, false, false)
  68.  
  69. TEAM_MEDIC = AddExtraTeam("Medic", Color(47, 79, 79, 255), "models/player/kleiner.mdl", [[With your medical knowledge, you heal players to proper
  70. health.
  71. Without a medic, people can not be healed.
  72. Left click with the Medical Kit to heal other players.
  73. Right click with the Medical Kit to heal yourself.]], {"med_kit"}, "medic", 3, 45, 0, false, false)
  74.  
  75. 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
  76. of your city.
  77. You can spawn a microwave and sell the food you make:
  78. /Buymicrowave]], {}, "cook", 2, 45, 0, 0, false)
  79.  
  80. 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.
  81. Coordinate the police forces to bring law to the city
  82. Hit them with arrest baton to put them in jail
  83. Bash them with a stunstick and they might learn better than to
  84. disobey the law.
  85. The Battering Ram can break down the door of a criminal with a
  86. warrant for his/her arrest.
  87. Type /wanted <name> to alert the public to this criminal
  88. 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)
  89.  
  90. 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
  91. of the people.
  92. If you are the mayor you may create and accept warrants.
  93. Type /wanted <name> to warrant a player
  94. Type /jailpos to set the Jail Position
  95. Type /lockdown initiate a lockdown of the city.
  96. Everyone must be inside during a lockdown.
  97. The cops patrol the area
  98. /unlockdown to end a lockdown]], {}, "mayor", 1, 85, 0, true, false/*, {TEAM_CHIEF, TEAM_POLICE}*/)
  99.  
  100. TEAM_ASSASSIN = AddExtraTeam("Assassin", Color(75, 75, 75, 255), {
  101. "models/player/combine_super_soldier.mdl"}, [[The Local "travel agent".
  102. You arrange hits with people with a minimum fee of $500. You must OOC
  103. your hits (// Hit accepted, <buyer>. // Hit Complete.]], {}, "assassin", 30, 0, 0, false, false)
  104. /*
  105. --------------------------------------------------------
  106. HOW TO MAKE AN EXTRA CLASS!!!!
  107. --------------------------------------------------------
  108.  
  109. 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!!!
  110. Ok here's how:
  111.  
  112. To make an extra class do this:
  113. 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)
  114.  
  115. The real example is here: it's the Hobo: */
  116.  
  117. --VAR without /!!! The name the color(what you see in tab) the player model The description
  118. TEAM_HOBO = AddExtraTeam("Hobo", Color(80, 45, 0, 255), "models/player/corpse1.mdl", [[The lowest member of society. All people see you laugh.
  119. You have no home.
  120. Beg for your food and money
  121. Sing for everyone who passes to get money
  122. Make your own wooden home somewhere in a corner or
  123. outside someone else's door]], {"weapon_bugbait"}, "hobo", 5, 0, 0, false)
  124. //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
  125. // MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:
  126. // TEAM_/DUDE IS WROOOOOONG !!!!!!
  127. // HAVING "/dude" IN THE COMMAND FIELD IS WROOOOOOOONG!!!!
  128. //ADD TEAMS UNDER THIS LINE:
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138. /*
  139. --------------------------------------------------------
  140. HOW TO MAKE A DOOR GROUP
  141. --------------------------------------------------------
  142. AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.)
  143.  
  144. WARNING: THE DOOR GROUPS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
  145.  
  146.  
  147. The default door groups, can also be used as examples:
  148. */
  149. AddDoorGroup("cops and mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR)
  150. AddDoorGroup("gundealer only", TEAM_GUN)
  151.  
  152.  
  153. /*
  154. --------------------------------------------------------
  155. HOW TO MAKE An agenda
  156. --------------------------------------------------------
  157. AddAgenda(Title of the agenda, Manager (who edits it), Listeners (the ones who just see and follow the agenda))
  158.  
  159. WARNING: THE AGENDAS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
  160.  
  161. The default agenda's, can also be used as examples:
  162. */
  163. AddAgenda("Gangster's agenda", TEAM_MOB, {TEAM_GANG})
  164. AddAgenda("Police agenda", TEAM_MAYOR, {TEAM_CHIEF, TEAM_POLICE})
Add Comment
Please, Sign In to add comment