Awesome
This is for menu's in D3D hacks
Snippet for playing music in the background while hack is in use
Add that to top of source file
[highlight=c++]#pragma comment( lib, "Winmm.lib" )[/highlight]
[highlight=c++]#include <Windows.h>[/highlight]
Include that in the header file
Sound code ^Code:PlaySound((LPCTSTR)L"C:\\Windows\\Media\\chimes.wav",nullptr,SND_SYNC);
------------------------------------
Playing wav sound when a selected key is in play (Hotkey-ish)
Each game has different, structures so when using it for your desired game you might have to change a word or something.Code:void Music() // could be beep also { if(CH_Music) { { if(GetAsyncKeyState(VK_RIGHT)) { PlaySound("C:\\Windows\\Media\\chime.wav",NULL,SND_SYNC); // to add a song/ audio file just change the destination in the location. } } } }
Credits :
Hassan ( Source code for nonhotkey snippet)
Shunnai writing the hotkey snippet
Good luck, will post some more useful stuff
Warrock Minion 8-13-2011 - N/AA.V.A Minion since 11-1-11 - 11-12-11
Awesome
It always starts with one thing...
amaze
اَللّهُ اَكْبَرُ
.:If u can respect other people work, then u will get what u want:.