PDA

View Full Version : Repair, refuel, rearm... heal and ESC key... :)


HR_Grainovich
11-19-2011, 10:46 AM
Currently this is impossible? true? :(:sad:

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:

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

SendMessage(Process.GetCurrentProcess().MainWindow Handle,0x100,0x27, 1);

But C# and me... aren´t so friends! not work! :grin:

Thanks very much comrades!!:wink: