示例#1
0
        public static Scaleform Leaderboard()
        {
            var sf = RequestScaleform("sc_leaderboard");

            sf.CallFunction("SET_DISPLAY_TYPE");
            sf.CallFunction("SET_MULTIPLAYER_TITLE", "LEADERBOARD");
            sf.CallFunction("SET_TITLE", "TITLE");

            sf.CallFunction("SET_SLOT_STATE", 0, 1);
            sf.CallFunction("SET_SLOT", 0, 1);

            RAGE.Game.Graphics.BeginTextCommandScaleformString("NUMBER");
            Ui.AddTextComponentInteger(1);
            Graphics.EndTextCommandScaleformString();
            Graphics.PopScaleformMovieFunctionVoid();
            return(sf);
        }