Help me with GetTickCount()
#5

Why do you use floatdiv? We're dealing with integers here, not floats. Look at my example:

pawn Код:
format(string, sizeof(string), "You lasted %i seconds to appear after the death!", (GetTickCount() - Ref)/1000);
If you're dealing with integers then there's no reason you should be using float functions
Reply


Messages In This Thread
Help me with GetTickCount() - by [00]Luis - 04.09.2011, 01:45
Re: Help me with GetTickCount() - by BlackWolf120 - 04.09.2011, 01:53
Respuesta: Re: Help me with GetTickCount() - by [00]Luis - 04.09.2011, 02:01
Re: Help me with GetTickCount() - by BlackWolf120 - 04.09.2011, 02:01
Re: Help me with GetTickCount() - by JaTochNietDan - 04.09.2011, 03:16
Respuesta: Re: Help me with GetTickCount() - by [00]Luis - 04.09.2011, 15:38

Forum Jump:


Users browsing this thread: 1 Guest(s)