_Notify is not working for my server.

Hello, I have recently updated DarkRP and i have added a new hud, right after that, the _Notify seemed to stop working BUT everything else is working FINE… any idea as to how or why this would happen?

(I did not touch core files)

Thanks
-Dan

No one has an answer? :’(

Show some code?

What code? there is no lua error "Warnning: Unhandled Usermessage ‘_Notify’ "

This is what pops up on the bottom left of your screen, when you get a salary or someones changes jobs… ect… :stuck_out_tongue: idk where the code for it is, and nore have i touched it so idk whats up, the code i do not think is needed. if so id give it up if i knew where it was located. :stuck_out_tongue:

Add this to your custom HUD



/*---------------------------------------------------------------------------
Display notifications
---------------------------------------------------------------------------*/
local function DisplayNotify(msg)
	local txt = msg:ReadString()
	GAMEMODE:AddNotify(txt, msg:ReadShort(), msg:ReadLong())
	surface.PlaySound("buttons/lightswitch2.wav")

	-- Log to client console
	print(txt)
end
usermessage.Hook("_Notify", DisplayNotify)


so is this just a small bit that would be missing?
and thank you i will try this very soon.