Graal Pastebin
New PastePasted on October 1, 2011.
View the raw file
//#CLIENTSIDE function onCreated() { this.minversion = 6; if (graalversion < this.minversion) { showMessage(); } else { hideMessage(); } } function ShowMessage() { new GuiShowImgCtrl("Msg") { x = 0; y = 0; width = GraalControl.width; height = 50; polygon = { 0, 0, width, 0, width, height, 0, height }; red = green = blue = 0; alpha = 1; new GuiMLTextCtrl("MsgText") { x = 430; y = 5; width = GraalControl.width - 20; height = 257; useOwnProfile = true; profile.fonttype = "Tempsitc"; profile.fontsize = 30; profile.fontcolor = { 255, 255, 255, 255 }; profile.fontcolorhl = { 0, 0, 0, 192 }; profile.fillcolorhl = { 255, 255, 255, 255 }; text = "You are using an old version of the Graal Client!"; } } } function HideMessage() { Msg.Visible = false; MsgText.visible = false; }