20.11.2011, 20:19
The OnPlayerSpawn callback is called when a player spawns. If you die, you will respawn, OnPlayerSpawn is then called. You must remove the SetPlayerSkin function from OnPlayerSpawn, spawn the player, get his skin id and output the data either as a message or directly to the server console.