void Spin()
    {
        int score_now = guiManager.GetNowScore();
        int betscore  = guiManager.GetBetScore();

        if (score_now >= betscore)
        {
            // 計算可用分數
            score_now -= betscore;

            // Disable 4組按鍵 , 更改可用分數顯示
            guiManager.OnClick_Spin(score_now);

            RtmpC2S.BeginGame("beginGame2", 50, betscore / 50);

            slotmachine.StartSpin();
        }
        else
        {
            if (m_GameAppInfo.f_sm_state == SM_State.AUTOSPIN)
            {
                // 結束自動轉
                m_GameAppInfo.f_sm_state = SM_State.NORMAL;
            }

            // 可用分數不足,跳出通知訊息。
            string context     = "";
            string language_id = Localization.language;
            if (language_id == "TW")
            {
                context = tw_ErrorMsg[0];
            }
            else if (language_id == "CN")
            {
                context = cn_ErrorMsg[0];
            }
            else
            {
                context = en_ErrorMsg[0];
            }

            guiManager.ShowWindowMsg(context);

            // 復原按鍵
            guiManager.AllowSpin();

            m_but_allowInfo.Maxbet   = true;
            m_but_allowInfo.Exchange = true;
            m_but_allowInfo.Dollar   = true;
        }
    }