hello , how make time hud with seconds and milliseconds ?
i need : seconds : milisecondsPHP Code:
sec = 10;
milisec = 99;
while(1)
{
sec -= 0.1;
milisec -= 1;
self.hudbuble setValue(int(time , sec));
wait 0.1;
}
hello , how make time hud with seconds and milliseconds ?
i need : seconds : milisecondsPHP Code:
sec = 10;
milisec = 99;
while(1)
{
sec -= 0.1;
milisec -= 1;
self.hudbuble setValue(int(time , sec));
wait 0.1;
}
Last edited by malyczolg; 9th July 2013 at 12:21.
1. Your script seems to be wrong: the int() function accepts only one argument, while you're going with two. Honestly, the whole script looks strange to me.
2. Milliseconds will make sense only in case your server's frame rate is 1000. The server hoster will kill you if you change sv_fps to 1000.
kung foo man (9th July 2013)