04.07.2011, 08:16
How to make Define like this
#define Last_UpDate "17:77"
and some function re define it how?
#define Last_UpDate "17:77"
and some function re define it how?
#define Last_UpDate "17:77"
#if defined Last_UpDate
#undef Last_UpDate
#define Last_UpDate "16:77"
#endif
new Time[] = "17:77";
//in the timer
gettime(Time[0], Time[1]); //gets the current hour and minutes
format(Time, sizeof Time, "%02d:%02d", Time[0], Time[1]); //stroes it in Time