• Notify isn't working?
    3 replies, posted
I'm getting this message in my console - Warning: Unhandled usermessage '_Notify' I'm using this HUD - [url]https://scriptfodder.com/scripts/view/704[/url] Any ideas on how to fix this issue?
Ask the content creator on ScriptFodder for help, that is if you bought the script.
Okay I will do. And yes I bought the script just as I buy all the scripts I use. :|
Fixed it :D Needed to add this to HUD (Your custom hud addon folder) - Client - and NAME_hud.lua then add this at the end: local function DisplayNotify(msg) local txt = msg:ReadString() GAMEMODE:AddNotify(txt, msg:ReadShort(), msg:ReadLong()) surface.PlaySound("buttons/lightswitch2.wav") -- Log to client console MsgC(Color(255, 20, 20, 255), "[DarkRP] ", Color(200, 200, 200, 255), txt, "\n") end usermessage.Hook("_Notify", DisplayNotify)
Sorry, you need to Log In to post a reply to this thread.