Hook
From GMod Wiki
Library Functions
hook.Add
hook.Call
hook.GetTable
hook.Remove
Hooks
A Hook is function that is called when an event happens. There can be an unlimited amount of Hooks hooked to one event when called with hook.Add, but only one hook when overriding the event's function such as GM:PlayerSpawn.
Example: