Jump to content
Sign in to follow this  
moran679

Game overlay (like in game trainers)

Recommended Posts

moran679

Is it possible to make a GUI that will be on top of the game?

Its not for a trainer, its for GTA:SA multiplayer admin commands.

Here is an example:

Posted Image

Share this post


Link to post
Share on other sites
JRowe

Yes, very possible.

http://www.autoitscript.com/autoit3/docs/f...WinSetOnTop.htm

For example, open up notepad, and then run the following snippet, it should set the Untitled window on top :P

WinSetOnTop("Untitled -", "", 1)

You can also put it in a function, to be activated whenever you press a hotkey.

Share this post


Link to post
Share on other sites
CodeMaster Rapture

Please note that WinSetOnTop() does not work for most DirectX and OpenGL fullscreen applications.

Share this post


Link to post
Share on other sites
moran679

Forgot to mention I already tried WinSetOnTop(), didn't work.

So, is it possible?

Share this post


Link to post
Share on other sites
Paulie

Only truely reliable way i know of is to get a DirectX API hook for the application you are overlaying

Share this post


Link to post
Share on other sites
CodeMaster Rapture

Nope.

The problem is, Dx/OpenGL in fullscreen mode override windows's GUIMsg pump and sometimes keyboard msg pump. You would have to either force the application out of fullscreen mode and/or hook the DLL (which is considered cheating by most games and if this is for CSS, instant ban). You may want to look into playing your game in windowed mode and see if there is a way to remove the title bar/border and use Au3 to maximize it. That way uoi can do your overlay.

-CMR

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.