• [HELP] Need a finishing touch on this script
    3 replies, posted
TEAM_COP = AddExtraTeam( "Undercover Cop", Color( 30, 75, 25, 255 ), [B]{ "models/player/corpse1.mdl", "models/player/kleiner.mdl", "models/player/mossman.mdl", "models/player/monk.mdl," "models/player/group01/male_01.mdl", "models/player/group03/male_01.mdl" }[/B], [[You're the undercover cop. Dress up as any person in the city and join them in ther illegal activites and bust them out from the inside.]], { "arrest_stick", "unarrest_stick", "weapon_glock2", "door_ram", "weaponchecker" }, "undercover", 5, 0, 0, false, false ) How would I go about having the models, if selected change to a different class color? Essentially the undercover cop would change it's job name on it's own and have it's class color the same as whatever model class he chooses.
You would have to hard code it into the gamemode. Just an FYI, adding a "Undercover Cop" does not make your server unique, special or playable in any way shape or form. It's just another Darkrp server trying to stand out.
[QUOTE=Science;32447389] Just an FYI, adding a "Undercover Cop" does not make your server unique, special or playable in any way shape or form. It's just another Darkrp server trying to stand out.[/QUOTE] I'm well aware of that, thank you very much captain obvious. And almost everyone else that owns a DarkRP server.
Well, the very quick, basic and messy way is to make another job, such as TEAM_SPYNEW and make it a requierment they have to be the regular spy before they can be this. This will allow them to switch disguises, but, if he is using the class "spynew", then somebody else could join the regular spy and break the system. As for the name, just simply call him "Citizen" and have his name in citizen color. People should read descriptions before they take on jobs lol. That's how it is in my server. Its bad, but its simple and it works.
Sorry, you need to Log In to post a reply to this thread.