View Single Post
  #1  
Old 11-19-2011, 09:46 AM
HR_Grainovich HR_Grainovich is offline
Approved Member
 
Join Date: Nov 2011
Posts: 14
Default Repair, refuel, rearm... heal and ESC key... :)

Currently this is impossible? true?

we can check health pilot and destroy aircraft parts .. but we can't reverse this, I have not found any function in maddox.world which can do it, not exist, i'm right?

At best case, we can only spawn a new plane and move players in there, but heal it's impossible, right?

Another questión, anyone knows how (in game) to force back to the army selection screen??, something as simulating to press ESC key... any idea?

I tried something like this:

Code:
[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)]  
static extern IntPtr SendMessage(IntPtr hWnd, int Msg, int wParam, int lParam);  

SendMessage(Process.GetCurrentProcess().MainWindowHandle,0x100,0x27, 1);
But C# and me... aren´t so friends! not work!

Thanks very much comrades!!
Reply With Quote