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.

Warning: Unhandled usermessage '_Notify'

Discussion in 'DarkRP Modding Questions & Help' started by annilator3000, Mar 27, 2015.

  1. annilator3000

    annilator3000 New Member

    Here is the problem.
    The nofitication doesn't want to appear and instead of appear it say in the console:
    "Warning: Unhandled usermessage '_Notify'"
    I'm running the darkrp on a Dedicated Server, in 2.6.0 and the latest version of GMOD.

    Help please.
     
  2. MaccyD

    MaccyD Member

    are you using a custom hud? if so navigate to the main file which is usually cl_hud.lua and add this block of code
    Code (Text):
    local function DisplayNotify(msg)
        local txt = msg:ReadString()
        GAMEMODE:AddNotify(txt, msg:ReadShort(), msg:ReadLong())
        surface.PlaySound("buttons/lightswitch2.wav")

        MsgC(Color(255, 20, 20, 255), "[DarkRP] ", Color(200, 200, 200, 255), txt, "\n")
    end
    usermessage.Hook("_Notify", DisplayNotify)
     
  3. MaccyD

    MaccyD Member

  4. Cake

    Cake Active Member

    90% Sure this error is caused by using a very old DarkRP addon on the new version.
     
  5. MaccyD

    MaccyD Member

    well you are wrong, the user message _notify is a custom function FPtje has setup and basically when you see that notification come up on your screen saying BlahBlah Has Changed Job, that is the _notify hook, some hud makers are either to lazy to do a quick google for it or don't know about it, so its nothing to do with a very old DarkRP addon
     
  6. MaccyD

    MaccyD Member

Share This Page