Get time in milliseconds
Hello,
I search function, that can return time in milliseconds. Is it possible? thx. (: |
Re: Get time in milliseconds
wanted to ask this too
and also i wanted a function what would display time in milliseconds running up on player screen |
Re: Get time in milliseconds
get_gametime() return the time since map start, with 6 decimals, if you want to print int with only 3 decimals, use %.3f.
|
Re: Get time in milliseconds
i ment, can i display time in ms realtime increasing on player screen without sending a print to client every ms ?
|
Re: Get time in milliseconds
Quote:
|
Re: Get time in milliseconds
ConnorMcLeod, thanks, its working.
But I returned time in that format — 16.437 (seconds.milliseconds). How can I get only milliseconds?) |
Re: Get time in milliseconds
Quote:
|
Re: Get time in milliseconds
Quote:
format_time? How use it? :) |
Re: Get time in milliseconds
In format_time only this parametres:
Code:
%a abbreviated weekday name (Sun) May be exist another way to get only milliseconds? How to remove seconds from the string? |
Re: Get time in milliseconds
Code:
new Float:whole_num = 12.123; |
| All times are GMT -4. The time now is 08:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.