GetTimerTickCount(timerid); -
Crayder - 27.02.2014
If there is a way to get a TIMER'S tickcount, the title isn't that way... If there is a way, can someone show me? And if not, this is my suggestion for the next SA-MP!
(Although, it would be VERY helpful to my current script, and I know i could set a timer to count next to this one, but that's not an efficient solution... I'm up for any more efficient ideas!)
Re: GetTimerTickCount(timerid); -
BroZeus - 27.02.2014
i think there comes a timertick count test in samp server pakage gamemodes | run it and see its script
Re: GetTimerTickCount(timerid); -
Crayder - 27.02.2014
That is to show players how a timer works, not tick count
Re: GetTimerTickCount(timerid); -
BroZeus - 27.02.2014
can u tell in more detail what do u want i cant understand what do u want
Re: GetTimerTickCount(timerid); -
iZN - 27.02.2014
pawn Код:
public SomeTimerCallback()
{
new _var_ = GetTickCount();
printf("SomeTimerCallback took %d milliseconds to execute.", GetTickCount() - _var_);
}
There is no such function, but you can detect the executing time.
Sorry if I didn't get you right, can you explain what exactly you are doing?
Re: GetTimerTickCount(timerid); -
Crayder - 27.02.2014
a way to get a TIMER'S tickcount... Like say I set a timer for 10 minutes. "SetTimer("Timer", 600000)"
I wanna make a textdraw with minutes and seconds left in the timer! (half way through would look like
5:00)
Without using server variables and 1 second timer I wanna be able to get the tickcount from the timer.
Re: GetTimerTickCount(timerid); -
iZN - 27.02.2014
Quote:
Originally Posted by Crayder
a way to get a TIMER'S tickcount... Like say I set a timer for 10 minutes. "SetTimer("Timer", 600000)"
I wanna make a textdraw with minutes and seconds left in the timer! (half way through would look like 5:00)
Without using server variables and 1 second timer I wanna be able to get the tickcount from the timer.
|
Without any variable, it is not possible.
Re: GetTimerTickCount(timerid); -
Crayder - 27.02.2014
Quote:
Originally Posted by iZN
Without any variable, it is not possible.
|
Ok, thanks... Repping for the help... BUt this thread should now be considered as a suggestion...