Codes

Posts 1–15 of 15 · Page 1 of 1
Codes
Date

You want to make a Date-Funktion in your d3d hack?
Us this code:

char* DATE(void)
{
static char cdate[20] = "";
struct tm * current_tm;
time_t current_time;
time (&current_time);
current_tm = localtime (&current_time);
sprintf( cdate, "%d-%02d-%d",current_tm->tm_mon+1,current_tm->tm_mday,current_tm->tm_year-100+2000);
return cdate;
}


Credits [G]a[M]e[R]

==================================================
Panickey Function

You want to make a Panickey Function in your d3d hack?
Us this code:

if(panic)
{
if( GetAsyncKeyState( VK_CONTROL))
{
if( GetAsyncKeyState( VK_SPACE))
{
ExitGame(0);
}
}
}



Credits [G]a[M]e[R]
==================================================
FPS

/* #include */
#include <time.h>
float fLastTickCount=0.0f;
float fCurrentTickCount;
char CH_FPS [20];

/* MENU[MENUMAXITEMS]; */
int CH_NoFPS=0;

/* void RebuildMenu(void) */
MenuAddItem("Framerate:",(char **)CH_FPS,0,0,MENUTEXT);

/* HRESULT WINAPI myPresent */
if(CH_FPS)
{
fCurrentTickCount=clock() * 0.001f;
CH_NoFPS++;
if((fCurrentTickCount - fLastTickCount)>1.0f)
{
fLastTickCount=fCurrentTickCount;
sprintf(CH_FPS, "%d", CH_NoFPS);
CH_NoFPS=0;
}
}
o.O looks nice will try when i am able to do it XD
well here is what i do
Code:
void do_FPS()
{
	static float  lastTime    = 0;
	static float  currTime    = 0;
	static float  FPS         = 0;
	static DWORD  FrameCnt    = 0;
	static char   FinalString[MAX_PATH];
	static time_t TimeValue;
	static tm*    timeinfo;

	if(!Menu.line[7].status) return;

	//FPS and time
	FrameCnt++;
	currTime  = (float)timeGetTime();
	if(( ( currTime - lastTime)*0.001f ) >= 1.0f )
	{
		FPS = (float)(FrameCnt / (( currTime - lastTime)*0.001f ));
		lastTime = currTime;
		FrameCnt    = 0;
	}
	time ( &TimeValue );
	timeinfo = localtime ( &TimeValue );
	sprintf(FinalString, "[FPS %0.1f][TIME %d:%d:%d]",FPS,timeinfo->tm_hour,timeinfo->tm_min,timeinfo->tm_sec);
	//Menu.DrawString(10,10,0xFF6400FF,0xCC000000,true,FinalString);
	EngineString(FinalString,10,10,0xFF6400FF,1,1);
}
btw u might want to use code tags, js
just one question all the codes ur all now posting do they work??
I am coder and yes my cod's work to 100%
HOW DO I dl the H@cks im new at this and i have no idea wat to do can someone help me out? this is like fricken a new lanuage to me lols
whats a panic key
yea,good work ill try this
you will make all off and can 1 off next off ...

you make Panic Key on push the key and all is off
lol it almoast worked (windows 7 64bit) for me xD my m700 dosnt turn to an awm dragon but it have the same damage as one xD
Quote Originally Posted by FishBone- View Post
lol it almoast worked (windows 7 64bit) for me xD my m700 dosnt turn to an awm dragon but it have the same damage as one xD
umm WHAT ?
Quote Originally Posted by FishBone- View Post
lol it almoast worked (windows 7 64bit) for me xD my m700 dosnt turn to an awm dragon but it have the same damage as one xD
This is no this section

is this spamm?
Quote Originally Posted by FishBone- View Post
lol it almoast worked (windows 7 64bit) for me xD my m700 dosnt turn to an awm dragon but it have the same damage as one xD
lol dude what are you talking about lol i think u posted in the wrong thread !"

I GOT 400 POSTS
This is funny because this has been posted 1 million times throughout these forums.
These aren't codes that you could put into hack to make it "help" you.
Panic Key exits the game quickly.
these are not hacks. These are Source Codes FOR hacks.
U cant download them so better leave this section
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us