why dont u just use this?
its easier
ctime - C++ Reference
i feel like a huge noob asking this but i wanna learn how to use the DrawText/PrintText function so i wanna add time and date to my d3d menu hack ive tried this on my own just crashes the game
[php]
#include <time.h>
struct tm * current_tm;
time_t current_time;time (¤t_time);
current_tm = localtime (¤t_time);
char *month []={"January","February","March","April","May","June ","July","August","September","October","November" ,"December"};
char *logbuf = new char[ 256 ];
sprintf( logbuf, "%02dth %s %d [%02d:%02d:%02d]",current_tm->tm_mday,month[current_tm->tm_mon],current_tm->tm_year-100, current_tm->tm_hour, current_tm->tm_min, current_tm->tm_sec);
PrintText(pFont, 10, 1, Green,logbuf);
[/php]
thats wat i got so far any help plz /
thanks in advance
why dont u just use this?
its easier
ctime - C++ Reference
◘◘◘◘◘◘ (10-15-2010)
nvm im not sure what ur trying to do