Mc.Code Learning...
Posts : 17 Join date : 2007-12-28 Age : 35 Location : Romania
| Subject: Simple InGame screen resolution Fri Dec 28, 2007 7:41 pm | |
| Its a simple InGame Trainer which will show your windows resolution What you need: 1. Visual Basic 6 2. Trainer Module 6 3. Draw Text v2.0 What you must know: 1. How-to make simple trainers 2. How-to use code from modules Ok lets go 1. Run VB.6 2. We selcet "New Project" and choose "Standard EXE" Step 1Create 2 buttons: 1st button name "Draw Resolution" and second button name "Clear all". Ok now we have nice buttons Step 2Now we need some code This code injects your trainer into game: - Code:
-
Private Sub Form_Load() CurrentProcess = "Delta Force, V1.5.0.5" End Sub This is the code which declares your screen resolution: - Code:
-
Public Function ScreenResolution() As String
ScreenResolution = Screen.Width \ Screen.TwipsPerPixelX & _ " x " & Screen.Height \ Screen.TwipsPerPixelY
End Function Now we must program our buttons: - Code:
-
Private Sub Command1_Click()
Call DrawText(0, Screen.Width \ Screen.TwipsPerPixelX & _ " x " & Screen.Height \ Screen.TwipsPerPixelY, &HFFFF4F, 280, 200, True) End Sub And last button clear your resolution into game: - Code:
-
Private Sub Command2_Click() Call DrawText(0, "", &HF, 0, 0, False) End Sub ----------------------------------------------------------- Project.rar If you need help, just contact me: mercedesf400@hotmail.com Enjoy!!! ~Grammar edited by Jtwizzle to make it more eligible . Nice tut. | |
|
xXx V.I.P
Posts : 40 Join date : 2007-12-23
| Subject: Re: Simple InGame screen resolution Mon Dec 31, 2007 12:50 am | |
| | |
|
-TM- V.I.P
Posts : 78 Join date : 2008-01-04
| Subject: Re: Simple InGame screen resolution Fri Jan 04, 2008 7:22 am | |
| Nice, I'll credit you if I use this, my old way was more complicated and stupid then this, nice job. | |
|
Jtwizzle Admin
Posts : 163 Join date : 2007-12-21
| Subject: Re: Simple InGame screen resolution Mon Jan 07, 2008 12:42 am | |
| Good job mercedes. | |
|
Sponsored content
| Subject: Re: Simple InGame screen resolution | |
| |
|