• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] record time
#1
PHP Code:
main() { 

SetTimer("update"10true);

}



ReturnTime(timevariable)

//Used in the OnPlayerEnterRaceCheckpoint code.

{

? ? new 
milliseconds timevariablestring[20];

? ? while(
milliseconds 999)

? ? {

? ? ? ? 
//Add to the seconds variable

? ? ? ? milliseconds milliseconds 10;

? ? ? ? 
//Take away 10 from the ms variable

? ? }

? ? 
format(stringsizeof(string), "%05d"milliseconds);

? ? return 
string;







Quote:00588

00589

00590

00591

00592

00593

00594

00595

00596

00597

00598

00599



I just want them to be like this?https://youtu.be/v62Gt38ngzM?t=28

[Image: unknown.png]



7.865 second



Any help please
  Reply


Messages In This Thread
record time - by Zow - 2021-11-12, 11:05 PM
RE: record time - by Y_Less - 2021-11-18, 11:20 PM

Forum Jump: