RegisterServerHook

Registers a server hook event. Keep them at the bottom of your script, with your function at the top.

Example 1:

Example 2:

Example 3:

Example 4:

Example 5:

Example 6: