ushort rider; rider = (ushort)(client.player.uid - 1000000); new game.map(rider, database.dmaps.mappaths[rider]); if (dmaps.loadmap(rider)) { client.player.teleport(rider, 50, 50); }