Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- BLOCKLANDLIVE.GUI
- //--- OBJECT WRITE BEGIN ---
- new GuiControl(BlocklandLive) {
- profile = "GuiDefaultProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "0 0";
- extent = "320 240";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- themed = "1";
- new GuiWindowCtrl(BlocklandLive) {
- profile = "GuiWindowProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "0 0";
- extent = "320 240";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- command = "canvas.popDialog(BlocklandLiveGui);";
- accelerator = "escape";
- text = "BlocklandLive";
- maxLength = "255";
- resizeWidth = "0";
- resizeHeight = "0";
- canMove = "1";
- canClose = "1";
- canMinimize = "0";
- canMaximize = "0";
- minSize = "50 50";
- new GuiTextCtrl() {
- profile = "GuiBigTextProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "63 60";
- extent = "193 40";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- text = "BlocklandLive";
- maxLength = "255";
- themed = "1";
- };
- new GuiBitmapButtonCtrl() {
- profile = "BlockButtonProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "95 115";
- extent = "140 30";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- command = "AddonsButtonPush();";
- text = "Addons";
- groupNum = "-1";
- buttonType = "PushButton";
- bitmap = "base/client/ui/button2";
- lockAspectRatio = "1";
- alignLeft = "0";
- alignTop = "0";
- overflowImage = "0";
- mKeepCached = "0";
- mColor = "255 255 255 255";
- themed = "1";
- };
- new GuiBitmapButtonCtrl() {
- profile = "BlockButtonProfile";
- horizSizing = "right";
- vertSizing = "bottom";
- position = "95 150";
- extent = "140 30";
- minExtent = "8 2";
- enabled = "1";
- visible = "1";
- clipToParent = "1";
- command = "SavesButtonPush();";
- text = "Saves";
- groupNum = "-1";
- buttonType = "PushButton";
- bitmap = "base/client/ui/button2";
- lockAspectRatio = "1";
- alignLeft = "0";
- alignTop = "0";
- overflowImage = "0";
- mKeepCached = "0";
- mColor = "255 255 255 255";
- themed = "1";
- };
- };
- };
- //--- OBJECT WRITE END ---
- function Open_BlocklandLive(%toggle)
- {
- if(%toggle)
- {
- if(BlocklandLiveGUI.isAwake())
- {
- canvas.popDialog(BlocklandLiveGUI);
- }
- else
- {
- canvas.pushDialog(BlocklandLiveGUI);
- }
- }
- }
- --- CLIENT.CS
- function BlLive::initiate()
- {
- exec("./BlocklandLive.gui");
- $remapDivision[$remapCount] = "BlocklandLive";
- $remapName[$remapCount] = "Open";
- $remapCmd[$remapCount] = "Open_BlocklandLive";
- $remapCount++;
- }
- BlLive::initiate();
Advertisement
Add Comment
Please, Sign In to add comment