I need help making a job for DarkRP to A certain SteamID!
Any suggestions? Please!
What exactly do you mean..? You want a job only available to a certain SteamID?
If so.. this question could have easily been answered yourself by checking the DarkRP documentation.
[url]http://wiki.darkrp.com/index.php/DarkRP:CustomJobFields[/url]
Here's an example..
[code]
TEAM_TEST = DarkRP.createJob("Test Job", {
color = Color(255, 140, 0, 255),
model = "models/player/monk.mdl",
description = [[ test job yo ]],
weapons = {},
command = "testjob",
max = 1,
salary = 45,
admin = 0,
vote = false,
hasLicense = false,
customCheck = function(ply) return ( ply:SteamID() == "STEAM_0:1:133769" ) end,
CustomCheckFailMsg = "DON'T JUST COPY AND PASTE THIS CODE DAMMIT"
})
[/code]
Sorry, you need to Log In to post a reply to this thread.