public static void serverCmddismountVehicle(GameConnection client)
        {
            Player  player    = client["player"];
            Vehicle car       = player.getControlObject();
            Player  passenger = car.getMountNodeObject(0);

            ((PlayerData)passenger.getDataBlock()).doDismount(passenger);
            client.setControlObject(player);
        }
        public static void serverCmddismountVehicle(GameConnection client)
        {
            Player player = client["player"];
            Vehicle car = player.getControlObject();
            Player passenger = car.getMountNodeObject(0);

            ((PlayerData) passenger.getDataBlock()).doDismount(passenger);
            client.setControlObject(player);
        }
 public static void serverCmdsetPlayerControl(GameConnection client)
 {
     Player player = client["player"];
     client.setControlObject(player);
 }
        public static void serverCmdsetPlayerControl(GameConnection client)
        {
            Player player = client["player"];

            client.setControlObject(player);
        }