Jump to content

GPSFiremaker


GPSwap

Recommended Posts

  • 2 weeks later...
  • 4 weeks later...

Grats on release bro.

A few tips:

Set a font and color for the paint using
 

g.setFont(new Font("[NAME OF FONT]", Font.PLAIN, [FONT SIZE]);

g.setColor(Color.WHITE);

 

if you use Eclipse it will give you the import options.

An efficient way to get paint to hide is using a clickable rectangle. Here's a method below: (Place it in your onStart void)

		this.bot.addMouseListener(new BotMouseListener() {
			public void mouseClicked(java.awt.event.MouseEvent e) {
				Point point = e.getPoint(); 
				 Rectangle hideButton = new Rectangle(452,326,62,11);
			        if (hideButton.contains(point)) {
			        	showPaint = !showPaint;
			        }
				
			}

			@Override
			public void mousePressed(java.awt.event.MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseReleased(java.awt.event.MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseEntered(java.awt.event.MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseExited(java.awt.event.MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public boolean blockInput(Point arg0) {
				// TODO Auto-generated method stub
				return false;
			}
			
		});
		
	}

 

Make sure you change the rectangle to your coordinates and add something like

		if (!showPaint) {
			g.drawString("[Show Paint]", 457, 332);
			return;
		}

to your paint method.

Edited by TTScripts
Link to comment
Share on other sites

1 hour ago, iroll said:

how does this run?

start acc in vwest bank and select the log type on the gui :)

36 minutes ago, TTScripts said:

Grats on release bro.

A few tips:

Set a font and color for the paint using
 


g.setFont(new Font("[NAME OF FONT]", Font.PLAIN, [FONT SIZE]);

g.setColor(Color.WHITE);

 

if you use Eclipse it will give you the import options.

An efficient way to get paint to hide is using a clickable rectangle. Here's a method below: (Place it in your onStart void)


		this.bot.addMouseListener(new BotMouseListener() {
			public void mouseClicked(java.awt.event.MouseEvent e) {
				Point point = e.getPoint(); 
				 Rectangle hideButton = new Rectangle(452,326,62,11);
			        if (hideButton.contains(point)) {
			        	showPaint = !showPaint;
			        }
				
			}

			@Override
			public void mousePressed(java.awt.event.MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseReleased(java.awt.event.MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseEntered(java.awt.event.MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void mouseExited(java.awt.event.MouseEvent e) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public boolean blockInput(Point arg0) {
				// TODO Auto-generated method stub
				return false;
			}
			
		});
		
	}

 

Make sure you change the rectangle to your coordinates and add something like


		if (!showPaint) {
			g.drawString("[Show Paint]", 457, 332);
			return;
		}

to your paint method.

gz on release on a script out almost 3 months ago? XD
font is already set, colour is set on my version but it was just a oversite on the uploaded version, and if I wanted to hide paint I would of added it :) 

Link to comment
Share on other sites

26 minutes ago, GPSwap said:

start acc in vwest bank and select the log type on the gui :)

gz on release on a script out almost 3 months ago? XD
font is already set, colour is set on my version but it was just a oversite on the uploaded version, and if I wanted to hide paint I would of added it :) 

I don't know why but you're coming off as very snide. I was only trying to be helpful because the post was commented on recently and I just saw the topic. I was only offering advice and a hide paint option is smart, You should really consider one for your scripts. Best of luck, friend.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...