• What is wrong with this jobrealted.lua? It says something wrong near line 165
    1 replies, posted
/*-------------------------------------------------------- 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/male_01.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_FCITIZEN = AddExtraTeam("Citizen", Color(20, 150, 20, 255), "models/player/group01/female_01.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.]], {}, "fcitizen", 0, 45, 0, false, false) TEAM_DOCTOR = AddExtraTeam("Doctor", Color(20, 255, 242, 255), "models/player/kleiner.mdl", [[You can heal people for cash but you must heal governmental jobs for free.]], {med_kit}, "Doctor", 0, 45, 0, true, true) TEAM_handicapped = AddExtraTeam("Handicapped", Color(170,150,30,255), "models/player/group01/male_01.mdl", [[You are a Handicapped man You need help to the most simple things like, go to the bathroom]], {}, "handicapped", 10, 50, 0, false) TEAM_HOBO = AddExtraTeam("Hobo", Color(80, 45, 0, 255), "models/player/corpse1.mdl", [[The lowest ember 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) 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_NEWSANCHOR = AddExtraTeam("NewsAnchor", Color(0, 51, 102, 255), "models/player/gman_high.mdl", [[NewsAnchor Help The NewsMan get His Local News Station BOOOMING WITH BUISNESS.]], {}, "job newsanchor", 2, 68, 0, false, false, false) TEAM_NEWSMAN = AddExtraTeam("NewsMan", Color(51, 51, 153, 255), "models/player/gman_high.mdl", [[NewsMan Order Your NewsAnchors to do Everything to Help You Get Your News Station BOOOMING WITH BUISNESS]], {}, "job newsman", 1, 69, 0, true, 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_busdriver = AddExtraTeam("Bus Driver", Color(204,153,0,255), "models/player/monk.mdl", [[Plan a route, drive it and pick up other players. ]], {}, "busdriver", 1, 50, 0, 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_BAR = AddExtraTeam("BARTENDER", Color(255, 140, 0, 255), "models/player/alyx.mdl", [[You can sell beer and cigarettes to people and set up a bar!]], {}, "bartender", 2, 45, 0, false, false) TEAM_HEAVY = AddExtraTeam("Heavy Gun Dealer", Color(255, 102, 0, 255), "models/player/monk.mdl", [[This class can sell heavy weapons to other players.]], {"m9k_luger"}, "heavy", 2, 65, 0, false, false, false) //Created using DeaDeye's Classmaker TEAM_CARDEALER = AddExtraTeam("Car Dealer", Color(70, 70, 70, 255), "models/player/barney.mdl", [[Car Dealer You Sell Cars to People]], {}, "cardealer", 2, 60, 0, true, false, false) TEAM_bankmanager = AddExtraTeam("Bank manager", Color(255,225,0,255), "models/player/breen.mdl", [[Keep other players money or props, or Vehicles safe Do not use it by your self! Or Take it! If they ask for it, you give them it! ]], {}, "bankmanager", 1, 100, 0, true) 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_UnderCover = AddExtraTeam("UnderCover Police", { color = Color(25, 25, 170, 255), model = {"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/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"}, description = [[The hidden protector of every citizen that lives in the city. You have the power to arrest criminals and protect innocents. Hit a player with your arrest baton to put them in jail. Bash a player with a stunstick and they may learn to obey the law. The Battering Ram can break down the door of a criminal, with a warrant for their arrest. The Battering Ram can also unfreeze frozen props (if enabled). Type /wanted <name> to alert the public to the presence of a criminal.]], weapons = {"arrest_stick", "unarrest_stick", "weapon_glock2", "stunstick", "door_ram", "weaponchecker","rphands"}, command = "undercover", max = 4, salary = 65, admin = 0, vote = false, hasLicense = true, customCheck = function(ply) return table.HasValue({"Donator", "VIP", "VIP+", "DonerAdmin", "superadmin", "DonerMod", "Coder", "Owner"}, ply:GetNWString("usergroup")) end }) 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_SWAT = AddExtraTeam("S.W.A.T", Color(51,102,102,255), "models/player/urban.mdl", [[S.W.A.T Tactical Forces Unit. Very dangerious but very sweet job. Cleans the streets from high terror attacks. ]], {"weapon_real_cs_pumpshotgun", "weapon_real_cs_awp", "weapon_real_cs_smoke", "weapon_mp52", "weapon_fiveseven2", "arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weaponchecker", "keypad_cracker"}, "swat", 3, 75, 0, true) TEAM_SWATCHIEF = AddExtraTeam("S.W.A.T Chief", Color(51,102,51,255), "models/player/riot.mdl", [[S.W.A.T Tactical Forces Unit. Even sweeter and even more dangerous! Cleans the streets from high terror attacks. Oh yeah, your incharge! ]], {"weapon_real_cs_pumpshotgun", "weapon_real_cs_awp", "weapon_real_cs_flash", "weapon_real_cs_smoke", "arrest_stick", "door_ram", "stunstick", "unarrest_stick", "weapon_deagle2", "weapon_m42", "weapon_pumpshotgun2", "weaponchecker", "keypad_cracker"}
Try using this... [URL="puu.sh/8VxYW.txt"]Click[/URL]
Sorry, you need to Log In to post a reply to this thread.