mirror of
https://github.com/cheat-engine/cheat-engine
synced 2026-08-15 02:26:08 -04:00
21 lines
No EOL
313 B
Text
21 lines
No EOL
313 B
Text
#include <time.h>
|
|
#include <string.h>
|
|
char sec[50];
|
|
|
|
|
|
struct tm *timep;
|
|
time_t c;
|
|
c=time(0);
|
|
|
|
timep=localtime(&c);
|
|
sprintf(sec,"sec=%d",timep->tm_sec);
|
|
ce_showmessage(sec);
|
|
|
|
if (timep->tm_sec>=30)
|
|
ce_showmessage("bigger");
|
|
else
|
|
ce_showmessage("smaller");
|
|
|
|
|
|
|
|
ce_showmessage("still allive"); |