well simply enough u do have to have mw2 up to use any traininers so no worries
Hey all,
As you might or might not know i have made a trainer. Yeah there's 100s of them
Anyway,
If MW2 isn't running and you use the hack it completly stops.
So can someone explain the isprocessopen thing,
Heres what I used but it didn't work (btw this is VB)
[php]
if isProcessOpen ("iw4mp.exe")then
My code here
}else{
msgbox ("Modern Warfare 2 isn't running")
end if[/php]
If this is wrong please tell me what's the right code.
Thanks
Last edited by meeeeeeeeee; 08-29-2010 at 08:12 AM.
well simply enough u do have to have mw2 up to use any traininers so no worries
ir0ckyou (09-15-2010)
Doesn't the IF command need to have brackets?
try this?
Code:if isProcessOpen ("iw4mp.exe") { //your code. } else { msgbox ("Modern Warfare 2 isn't running") end if }
Nothing Is "Impossible" For The Word Itself Says "I'm Possible".
If you get a thank from me you better act like it's a reward, because I don't give them out easily.
Computer Specs:
Processor - AMD Athlon(tm) II X4 640 Processor 3.0 GHz (Not OverClocked)
RAM - 8.0 GB
OS - Microsoft Windows 7 Ultimate Edition 64-bit
Video Card - GeForce GTX 550 Ti
Video RAM 4.0 GB
Pixel Shader version 5.0
Vertex Shader version 5.0
Sound Card - NVIDIA High Definition Audio
Disk space - 1,640 GB
ohh, sorry for misunderstanding
ir0ckyou (09-15-2010)
here you go
/Marked as SolvedCode:Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load If IsProcessOpen("iw4mp") Then MsgBox("Modern Warfare 2 process found") Else MsgBox("Modern Warfare 2 process not found") End If End Sub Public Function IsProcessOpen(ByVal name As String) As Boolean For Each clsProcess As Process In Process.GetProcesses If clsProcess.ProcessName.Contains(name) Then Return True End If Next End Function End Class
Last edited by House; 08-29-2010 at 12:24 PM.