1
0
mirror of https://github.com/r4sas/ExtraMirror synced 2025-01-08 22:07:56 +00:00
This commit is contained in:
shelru 2016-09-28 00:22:51 +03:00 committed by GitHub
parent 66070ee656
commit b24a1f2fe3
2 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,7 @@ void InitHack(){
} }
if (!(g_Engine.Con_IsVisible() != 0))g_Engine.pfnClientCmd("toggleconsole"); if (!(g_Engine.Con_IsVisible() != 0))g_Engine.pfnClientCmd("toggleconsole");
ConsolePrintColor(0, 255, 11, "-- Extra Mirror v1.9\n"); ConsolePrintColor(0, 255, 11, "-- Extra Mirror v2.0a\n");
ConsolePrintColor(255, 255, 255, "-- Use 'credits' for more information\n"); ConsolePrintColor(255, 255, 255, "-- Use 'credits' for more information\n");
ConsolePrintColor(255, 255, 255, "-- Thank's to Realwar for title\n"); ConsolePrintColor(255, 255, 255, "-- Thank's to Realwar for title\n");
ConsolePrintColor(255, 255, 255, "-- Thank's to FightMagister for functions\n"); ConsolePrintColor(255, 255, 255, "-- Thank's to FightMagister for functions\n");

View File

@ -492,6 +492,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved){
switch (fdwReason) switch (fdwReason)
{ {
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
srand(GetTickCount());
TCHAR moduleFileName[MAX_PATH]; TCHAR moduleFileName[MAX_PATH];
GetModuleFileName(hinstDLL, moduleFileName, ARRAYSIZE(moduleFileName)); GetModuleFileName(hinstDLL, moduleFileName, ARRAYSIZE(moduleFileName));
LoadLibrary(moduleFileName); LoadLibrary(moduleFileName);