This hook is called after a player has spawned in the world. It is called after
HOOK_LOGIN and HOOK_PLAYER_JOINED, after the player name has been
authenticated, the initial worldtime, inventory and health have been sent to the player and the
player spawn packet has been broadcast to all players near enough to the player spawn place. This is
a notification-only event, plugins wishing to refuse player's entry should kick the player using the
cPlayer:Kick() function.

This hook is also called when the player respawns after death (and a respawn packet is received from
the client, meaning the player has already clicked the Respawn button).

Callback function

The default name for the callback function is OnPlayerSpawned. It has the following signature: