No. spawnPlayer returns the created player object. Do not use that code, you will break other add-ons.
package somepackage
{
function GameConnection::spawnPlayer(%client)
{
// Stuff that happens before the player spawns.
%result = parent::spawnPlayer(%client);
// Stuff that happens after the player spawns.
return %result;
}
};
activatepackage(somepackage);
Always, always, always check to see if the parent returns a value when packaging a function or you will break core functionality.
P.S. It violates coding semantics to start a variable with a capital letter.