PDA

View Full Version : I Need your help x)



IloveCF123
06-29-2011, 07:29 AM
Hey... I want to make a "DrugFinder" for MTA :) I want to have the textures transparent thats no problem but... how can i rename the file when the game is running? then cames error... just like xray for minecraft but for drugs^^

PS: Sorry for my bad english :D

EDIT: All in one... how can i rename the file with pressing Shift and F12 or clicking on a button?... im amateur in vb :D

DeHaterZ
06-29-2011, 12:27 PM
Well, do you have all the code setup and everything?
Changing the name of the file should be:
[CODE]' Change "c:\test.txt" to the path and filename for the file that
' you want to rename.
My.Computer.FileSystem.RenameFile("C:\Test.txt", "SecondTest.txt")
[CODE]
Then Set a Key with this:

First we will declare
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer

-------------------------------------
Secound we will Add a timer! And these properties :

Code:
Timer1.interval = 10, timer1.enabled = true
-------------------------------------
Third, add this code to the timer:

Code:
Dim Hotkeyss As Boolean
Hotkeyss = GetAsyncKeyState(Keys.F10)

If Hotkeyss = True Then
YOUR CODE HERE
End If

IloveCF123
06-29-2011, 05:15 PM
Dim path As String = "c:\Program Files (x86)\Rockstar Games\GTA San Andreas\models\gta3.IMG"
Dim destination As String = "c:\Program Files (x86)\Rockstar Games\GTA San Andreas\models\GTA3BackupFileDrugFinderByBeasT.IMG"
If File.Exists(path) And Not File.Exists(destination) Then
File.Copy(path, destination)
Label1.Text = "File Copied Successfully"
Else
Label1.Text = "Dieser Vorgang wurde schon durchgeführt."
End If

With a Button ^^

I Dont understand right... how does it changes with the key?

ringrong
06-29-2011, 05:46 PM
Are you attempting to skin a weapon or something? I don't quite understand...

IloveCF123
07-25-2011, 10:17 PM
Ahh forget this ;D I want to make a "FlyingBot"
I try to explain x)
If i press F2 the plane is flying to Point A, if the plane is at Point A, (then the plane disapears) walk into the marker and press on a Button. Possible?

Sorry. xD Bad english o.O

DeHaterZ
07-25-2011, 11:47 PM
Im not sure if this is possible you might want to get int C++.

IloveCF123
07-26-2011, 03:29 AM
I'll try it... hmm i mean its simulating key pushing (XD?)
Maybe now? I dont mean its detecting Point A and fly to it there are mountins and trees x)

Thank you :-)