main() {
SetTimer("update", 10, true);
}
ReturnTime(timevariable)
//Used in the OnPlayerEnterRaceCheckpoint code.
{
? ? new milliseconds = timevariable, string[20];
? ? while(milliseconds > 999)
? ? {
? ? ? ? //Add to the seconds variable
? ? ? ? milliseconds = milliseconds - 10;
? ? ? ? //Take away 10 from the ms variable
? ? }
? ? format(string, sizeof(string), "%05d", milliseconds);
? ? return string;
}