• DarkRP Custom Job For Specific Person
    2 replies, posted
Hey! I see some servers that have VIP jobs for only certain people... I was wondering how I could do that on my server... Please help!
[lua]TEAM_DONATORJOB = DarkRP.createJob("Swat", { color = Color(238, 99, 99, 255), model = "models/player/mossman.mdl", description = [[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]], weapons = {}, command = "Swat", max = 2, salary = 45, admin = 0,. vote = false, hasLicense = false, customCheck = function(ply) local tbl = { -- ADD STEAMIDs TO THIS TABLE "STEAM_0:0:0000", "STEAM_0:0:0001", -- etc } return table.HasValue( tbl, ply:SteamID() ) end })[/lua] Framework taken from [url=http://wiki.darkrp.com/index.php/Donator_Job_configuration]here[/url], edit as you will.
Thanks a bunch mate! :)
Sorry, you need to Log In to post a reply to this thread.