====== Plugin:OnPlayerSpawn ======
OnPlayerSpawn is called after a player has spawned or re-spawned after death. You can't override regular server behavior with this function, but it's possible to make several additional actions using this callback.
===== Parameters =====
OnChat has only one parameter, which is the player who spawns.
<code lua>
function OnPlayerSpawn( Player )

end
</code>
===== Return Values =====
This callback shouldn't return anything.

===== Register Callback =====
To register your plugin for a callback on this function use the hook [[api:plugin:hooks | HOOK_PLAYER_SPAWN]]
<code lua>
PluginManager = cPluginManager:GetPluginManager()
PluginManager:AddHook( Plugin, cPluginManager.HOOK_PLAYER_SPAWN )
</code>