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


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

Why would you need to hook it?


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

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