1. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

DarkRP not showing CustomCheckFailMSG

Discussion in 'DarkRP Modding Questions & Help' started by bongLord, Jan 11, 2017.

  1. bongLord

    bongLord New Member

    Currently, whenever I try and choose a job that I don't have access to (be it a VIP or staff job) , the custom check fail message doesn't appear.

    Likewise when I chose a job (eg police) and quickly try and choose another (eg thief) it doesn't tell me that I have to wait 5 seconds before I can use /job again.


    Any help is appreciated!
    --- Double Post Merged, Jan 11, 2017 ---
    Code (Text):
    local function DisplayNotify(msg)
        local txt = msg:ReadString()
        GAMEMODE:AddNotify(txt, msg:ReadShort(), msg:ReadLong())

        MsgC(Color(255, 20, 20, 255), "[DarkRP] ", Color(200, 200, 200, 255), txt, "\n")
    usermessage.Hook("_Notify", DisplayNotify)
    Just added that to the bottom of my hud (if its not just cl_hudreplacement it will be whatever the cl_ file is.)
    Last edited: Jan 11, 2017
  2. Sir Klutch

    Sir Klutch Active Member

  3. bongLord

    bongLord New Member

    First line of my jobs.lua is
    Code (Text):
    isVIP = function(ply) return CLIENT or table.HasValue({"owner", "staffmanager", "vipsuperadmin", "vipadmin", "vipmod", "viptmod", "vip"}, ply:GetNWString("usergroup")) end
  4. Sir Klutch

    Sir Klutch Active Member

    oh okaz

Share This Page