• DarkRP Jobs (Custom Check Not Working)
    1 replies, posted
The issue i have is when i create this job and add it to the server, restart the server.. you know the rest, when i try to access the job, even though it is my SteamID and i have checked multiple times, it won't let me access the job. I've tried with multiple people's SteamID's and they have the same issue.. If anyone has had the same issue but resolved, or if anyone just plain and simply knows the reason of my issue, PLEASE let me know i'm desperate at this point to find any sort of fix P.S the job works absolutely fine without the Custom Check, when i add the Custom Check i just cannot access the job via F4 Menu, i have to input a console command to access the job ( This is not viable considering i have people that want custom jobs) Many thanks in advance to anyone that is willing to input any sort of answer in this thread Much love, Winter <3 Job is placed in: garrysmod/addons/darkrpmodification-master/lua/darkrp_customthings/jobs.lua TEAM_NARUTO = DarkRP.createJob("Naruto", {     color = Color(255, 166, 0, 255),     model = {"models/player/naruto_sixpath/naruto_sixpath.mdl"},     description = [[You are Naruto]],     weapons = {"weapon_ninjaskunai", "rasengan", "lockpick", "keypadcracker"},     command = "naruto",     max = 1,     salary = 0,     admin = 0,     vote = false,     hasLicense = false,     candemote = false,     category = "Custom Jobs",     customCheck = function(ply) return CLIENT or     table.HasValue({"STEAM_1:0:109783309"}, ply:SteamID())     end,     CustomCheckFailMsg = "This job is for WinterOnyx only!", })
why CLIENT? just the steam id check should be enough
Sorry, you need to Log In to post a reply to this thread.