Beispiel #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StructEditGuiScript"/> class.
        /// </summary>
        public StructEditGuiScript()
        {
            this.width  = GTA.Game.Resolution.Width;
            this.height = GTA.Game.Resolution.Height;

            BindConsoleCommand("si-gui", new GTA.ConsoleCommandDelegate(openGui_console), "- opens the StructEdit GUI");
            BindConsoleCommand("si_gui", new GTA.ConsoleCommandDelegate(openGui_console), "- opens the StructEdit GUI");

            this.form = new StructEditGuiForm(this, this.width, this.height);
        }
Beispiel #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="StructEditGuiScript"/> class.
        /// </summary>
        public StructEditGuiScript()
        {
            this.width = GTA.Game.Resolution.Width;
            this.height = GTA.Game.Resolution.Height;

            BindConsoleCommand("si-gui", new GTA.ConsoleCommandDelegate(openGui_console), "- opens the StructEdit GUI");
            BindConsoleCommand("si_gui", new GTA.ConsoleCommandDelegate(openGui_console), "- opens the StructEdit GUI");

            this.form = new StructEditGuiForm(this, this.width, this.height);
        }