Jobs/custom attributes for only specific players.

I am giving out a custom admin on duty player model to each and every one of my admins and I need to learn how to make it so when I make the new admin on duty job what else I need to add to it to make it so only 1 specific admin can use that job (I can provide steam ID’s). I’m also going to be making 1 slot unique jobs for my server (all players can use this custom job) and I would like to add custom things to the job like custom health. Can you guys please help me first with the custom player models for admins? I want to take this 1 step at a time and really slow. I am at the very beginning of learning LUA coding, just past making custom jobs and adding entities. Thanks for all you help and support everyone!

Here’s a bit of source code for you. Honestly you could have just googled it.
http://wiki.darkrp.com/

http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields

TEAM_CUSTOMJOB = DarkRP.createJob(“Custom Job”, {
color = Color(255, 0, 0, 255),
model = “models/player/gman_high.mdl”,
description = [[Custom Job.]],
weapons = {“weapon_ak472”},
command = “customjob”,
max = 2,
salary = 20,
admin = 0,
vote = false,
– Insert Custom Check Here
})

– Donator Code / Only players there is in the Donator group can see the job.
customCheck = function(ply) return ply:GetNWString(“usergroup”) == “Donator” end,
CustomCheckFailMsg = “This job is donator only.”

– Donator Code / All players can see the job.
customCheck = function(ply) return CLIENT or ply:GetNWString(“usergroup”) == “Donator” end,
CustomCheckFailMsg = “This job is donator only.”

– SteamID Code / Only players with that SteamID can see the job.
customCheck = function(ply) return ply:SteamID() == “STEAM_***” end,
CustomCheckFailMsg = “This job is donator only.”

– SteamID Code / All players can see the job.
customCheck = function(ply) return CLIENT or ply:SteamID() == “STEAM_***” end,
CustomCheckFailMsg = “This job is donator only.”

For armor and health it should be this function.

PlayerLoadout = function(ply) ply:SetArmor(100) ply:SetHealth (100) end, <---- you will need to add this function inside a player loadout under CustomCheck or CustomCheckFailMsg

Got everything working, thank you.

No problem please be sure to mark this thread as solved now that its fixed!