You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
298 B
13 lines
298 B
// time_string_ms(time_in_tics)
|
|
|
|
// make the vars
|
|
var ms = string(floor((argument0 mod 60)*1.667));
|
|
// check if they're right length
|
|
if (string_length(ms) < 2) then ms = "0"+ms;
|
|
// and check to make sure this needs to be unset if negative
|
|
if (argument0 < 0){
|
|
ms = "--";
|
|
}
|
|
// done
|
|
return "."+ms;
|