Jump to content

Recommended Posts

Posted

So I've been playing around in creating mods and started out with doing it the LUA method. It's been working fine and figured I'd give the DLL method a shot. In the LUA method if I wanted to print something to the screen for troubleshooting, I was able to use the following command:

 

print("3002 Switch Pressed.")

 

And it would display that on the screen when it was called upon.

 

I'm trying to find something to the same effect with the DLL method. If a button is pressed or something is done, I want to be able to write to the screen just to confirm it occured.

 

I was looking at CptSmiley's F-16 code and he has the following lines:

swprintf(dbgmsg, 255, L" F16::Airbrake (toggle): %d value: %f \r\n", command, value);

::OutputDebugString(dbgmsg);

 

but when I try them in my code, it doesn't seem to show anything. Any suggestions?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...