• DarkRP error message
    4 replies, posted
Warning: Unhandled usermessage '_Notify' How do you fix this? I can't seem to spawn in Vehicles and switch to some jobs.
Are you using a custom hud?
Yes
if you are navigate into your custom huds main cl_hud file and add in this line of code [code] /*--------------------------------------------------------------------------- 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 MsgC(Color(255, 20, 20, 255), "[DarkRP] ", Color(200, 200, 200, 255), txt, "\n") end usermessage.Hook("_Notify", DisplayNotify) [/code] [editline]29th September 2016[/editline] _notify is basically what happens when you see a notification has come up on your screen "User has changed job " sometimes HUD Makers forget to add this in.
Ah thank you!
Sorry, you need to Log In to post a reply to this thread.