Pretty sure createPlayer has multiple parameters. Not sure what they are, however. I believe position is one though. GameConnection::spawnPlayer only has the one object variable though, to my knowledge.
edit:
gameConnection::createPlayer(%this, %spawnPoint)