FOnline: Reloaded
Development => Suggestions => Closed suggestions => Topic started by: jokeusa on August 13, 2015, 04:38:04 pm
-
As in topic! Local time (not server one) - should be quick and easy to implement.
-
So where's the code...?
-
So where's the code...?
#include <iostream>
#include <ctime>
using namespace std;
int main( )
{
time_t now = time(0);
tm *ltm = localtime(&now);
cout << "*"<< 1 + ltm->tm_hour << ":";
cout << 1 + ltm->tm_min << ":";
cout << 1 + ltm->tm_sec << endl;
}
-
Cool. Now build and run it each time you get a message. (If you use fullscreen, use the FOnlineGL.exe because then you can Alt+Tab. I know it's basic, but I did not know for a long time.)
-
Cool. Now build and run it each time you get a message. (If you use fullscreen, use the FOnlineGL.exe because then you can Alt+Tab. I know it's basic, but I did not know for a long time.)
:facepalm
Thanks for that though, i really needed that laugh!
That being said, blz implement!
-
Great. Now try your code with any FOnline client.
-
Great. Now try your code with any FOnline client.
I would if i knew how to/had basic knowledge about that. My point is, you don't need to be a car mechanic to know how to change an accumulator in your car.
Unless I'm utterly wrong and a local function like this IS in fact a huge issue to implement - but if that's your opinion, I'd wonder how would you back it up :-\
-
It would look messy, wouldn't it?
-
It would look messy, wouldn't it?
Just hours and minutes shouldn't make much of a difference, right?