View Single Post
  #1  
Old 08-19-2012, 01:59 AM
Bleachlover551 Bleachlover551 is offline
Soul Reaper
Bleachlover551's Avatar
Join Date: Jul 2012
Location: Brunswick
Posts: 34
Bleachlover551 is an unknown quantity at this point
AP Changer Script :)

Hope You Like

PHP Code:
//Script By Toshi!
//#CLIENTSIDE
function onCreated() {
  new 
GuiTextCtrl("MyGUI_TextEdit1") {
    
profile GuiBlueTextProfile;
    
81;
    
5;
    
height 20;
    
text "";
  }
}
function 
onMouseDown(mode) {
  if (
mode == "Left") {
    for (
plplayers) {
      if ( 
mousex in pl.0.5pl.2.5| && mousey in pl.ypl.3|) {
        if (
pl != NULL) {
           new 
GuiWindowCtrl("MyGUI_Window1") {
    
profile GuiBlueWindowProfile;
    
clientrelative true;
    
clientextent "115,126";

    
canmaximize false;
    
canminimize false;
    
canmove true;
    
canresize false;
    
closequery false;
    
destroyonhide true;
    
text "AP Changer";
    
100;

    new 
GuiButtonCtrl("MyGUI_Button1") {
      
profile GuiBlueButtonProfile;
      
text "Ap = 0";
      
width 115;
    }
    new 
GuiButtonCtrl("MyGUI_Button2") {
      
profile GuiBlueButtonProfile;
      
text "Ap = 50";
      
width 115;
      
29;
    }
    new 
GuiButtonCtrl("MyGUI_Button3") {
      
profile GuiBlueButtonProfile;
      
text "Ap = 100";
      
width 115;
      
58;
    }
    new 
GuiTextEditCtrl("MyGUI_TextEdit1") {
      
profile GuiBlueTextEditProfile;
      
height 20;
      
width 115;
      
0;
      
106;
      
MyGUI_TextEdit1.text player.nick;
    }
      new 
GuiTextEditCtrl("MyGUI_TextEdit2") {
      
profile GuiBlueTextEditProfile;
      
height 20;
      
width 115;
      
0;
      
88;
      
MyGUI_TextEdit2.text player.ap;
    }
  }
}
}
function 
MyGUI_Button1.onAction() {
player.ap "0";
}

function 
MyGUI_Button2.onAction() {
player.ap "50";
}

function 
MyGUI_Button3.onAction() {
player.ap "100";
}
        }
      }
    } 
Reply With Quote