01.05.2017, 12:01
How would i implement that in my code thought.This is how im using GetTickCount()
count = GetTickCount();
format(string, sizeof(string), "It took %d milliseconds to get a right answer!", GetTickCount() - count);
count = 0;
EDIT:Fixed it,i needed to call it as
format(string, sizeof(string), "It took %f milliseconds to get a right answer!", floatdiv(GetTickCount() - count, 1000));
count = GetTickCount();
format(string, sizeof(string), "It took %d milliseconds to get a right answer!", GetTickCount() - count);
count = 0;
EDIT:Fixed it,i needed to call it as
format(string, sizeof(string), "It took %f milliseconds to get a right answer!", floatdiv(GetTickCount() - count, 1000));