Make job hide if unavailable and in a certain DarkRP category?
0 replies, posted
I am trying to make it hide jobs in a certain category that are unavailable to the user.
My code I have been trying:
[CODE] local cat = DarkRP.getCategories()
if jobUnavailable and cat == "Custom Jobs" then
self:Hide()
self:SetVisible(false)
return false
end
[/CODE]
Sorry, you need to Log In to post a reply to this thread.