• Hide a job
    4 replies, posted
-Snip
nr. 25.
Go to Darkrp/gamemode/showteamtabs and put this between line 423 and 424. [code] if name == "Civil Protection" then return false end [/code]
Got it working thanks
So did you end up with this once inserting the code? [code] local function AddIcon(Model, name, description, Weapons, command, special, specialcommand) if name == "Civil Protection" then return false end local icon = vgui.Create("SpawnIcon") ... [/code] Also in DarkRP/gamemode/shared.lua did you change the cop job from what it is by default? If so change "Civil Protection" to the name that you used. My CP job is below: [code] 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) [/code] Ah ok then you have it working now :)
Sorry, you need to Log In to post a reply to this thread.