Hooking AddNotify?

I’ve been trying for about 5 minutes now, can’t hook **[Gamemode.AddNotify

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Gamemode.AddNotify)** to a hook. The script is not in gamemode files. Could someone give an example of how to hook it with **[Hook.Add

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Hook.Add)**?

Also, it needs to be sent only for a single player.

Why would you need to hook it?

[lua]
Player:Notify(string)
[/lua]

Player.Notify() is a nil function, I’ve figured it out tho:


lua_run_cl GAMEMODE:AddNotify("A Notification", NOTIFY_GENERIC, 1)