Time Left Textdraw
#7

Quote:
Originally Posted by IceCube!
Посмотреть сообщение
No....

SOmthing like

pawn Код:
new Time[MAX_PLAYERS];

stock UpdateTIme(playerid)
{
   new string, Min, sec;
     if(Time[playerid] > 0)
     {
            Time[playerid] --;
sec = ((Time[playerid] * 1000));
Minutes = ((Time[playerid] * 1000) / 60);
            format(string, sizeof(string), "%s:%s", Min, sec);
            TextDrawSetString(TextDrawDefine,  string);
           SetTimerEx(etc etc);
        }
         else KillTimer(etc etc);
}
requires neatening
POSTED TO EARLY 2 sec
so as far as i understood

-topof script Timer[MAX_PLAYERS];
-making a stock
-the textdraw..textdraw string
-but where i have to put the timer callback?
Reply


Messages In This Thread
Time Left Textdraw - by vassilis - 07.02.2012, 16:00
Re: Time Left Textdraw - by Konstantinos - 07.02.2012, 16:03
Re: Time Left Textdraw - by vassilis - 07.02.2012, 16:07
Re: Time Left Textdraw - by IceCube! - 07.02.2012, 16:08
Re: Time Left Textdraw - by vassilis - 07.02.2012, 16:12
Re: Time Left Textdraw - by Konstantinos - 07.02.2012, 16:16
Re: Time Left Textdraw - by vassilis - 07.02.2012, 16:28
Re: Time Left Textdraw - by IceCube! - 07.02.2012, 16:33
Re: Time Left Textdraw - by Zaec - 07.02.2012, 18:07

Forum Jump:


Users browsing this thread: 1 Guest(s)