Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement