Nice
Code:float fLastTickCount = 0.0f; float fCurrentTickCount; char cFrameRate[30]; fCurrentTickCount = clock() * 0.001f; noFps++; if((fCurrentTickCount - fLastTickCount) > 1.0f) { fLastTickCount = fCurrentTickCount; sprintf(FPSxD, "%d", noFps); noFps = 0; }Code:char date[20]; struct tm * current_tm; time_t current_time; time (¤t_time); current_tm = localtime (¤t_time); sprintf( DatexD, "%d-%02d-%d",current_tm->tm_mon+1,current_tm->tm_mday,current_tm->tm_year-100+2000);Simple ways of doing it /Code:#include <time.h> char date[20]; struct tm * current_tm; time_t current_time; time (¤t_time); current_tm = localtime (¤t_time); sprintf( TimexD,"%02d:%02d:%02d", current_tm->tm_hour, current_tm->tm_min, current_tm->tm_sec );
Last edited by flameswor10; 12-08-2010 at 03:31 AM.
No I do not make game hacks anymore, please stop asking.
Nice
Last edited by o-o; 12-08-2010 at 05:50 AM.
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
flameswor10 (12-08-2010)
My Time Function is a bit smaller. And i think you dont have to include the time.h.
Bcuz i didnt included it and it works.
Thanks Cosmos
Sydney (12-09-2010)
the is now without the "/" at beginning xD
Creditz for FPS: Sardonik(i think)
time idk but its so simple xD
The Internet SHOULD Be Illegal
When you say
"Java is a great programming language because it works on all platforms"
it is just like
"anal sex is great because it works on all genders"
Are YOU a Troll?
flameswor10 (12-09-2010)
Good job dude and thanks
Thanks man, good job.
"Depending on the context, I may or may not enjoy getting stoned to death" - zιтнιυм™
Ex WarRock Minion Force
Nice Job Bro. But there is a slightly better way of doing it!
xD I do time and date differently.
[php]#include <ctime>
time_t t = time(0);
cpp.PrintText(ScreenCenterX-1, 10, D3DCOLOR_XRGB(0,0,0), cpp.pFont1, ctime(&t));[/php]
Very simple...
Goals:
Green = Done
Blue = Getting Somewhere
Red = Not Done
- Mouse Grid
- PTC Method
- Trigger Bot
I'm trying to think of more stuff!