Timer
#7

Define the time's textdraw on the top,
pawn Код:
new Text:TimeTD
Textdraw's creation
pawn Код:
TimeTD = TextDrawCreate(633.000000,428.000000,"game time");
    TextDrawFont(TimeTD,2);
    TextDrawSetShadow(TimeTD,0);
    TextDrawSetOutline(TimeTD,1);
    TextDrawAlignment(TimeTD,3);
    TextDrawLetterSize(TimeTD,0.399999,1.500000);
    TextDrawColor(TimeTD,0x00B2EEFF);
Then in the public of your clock system you have to implement the given textdraw something like this
pawn Код:
format(string,sizeof(string),"~r~game time: ~w~%d:%d:%d", thour, tmin, tsec);
   TextDrawSetString(TimeTD, string);
It was just a simple idea you can do it on its basis.
PS: Its for the clock system if you meant that.
Reply


Messages In This Thread
Timer - by Crowler - 26.10.2014, 13:34
Re: Timer - by HY - 26.10.2014, 13:38
Re: Timer - by Crowler - 26.10.2014, 13:39
Re: Timer - by Laurey - 26.10.2014, 13:47
Re: Timer - by Crowler - 26.10.2014, 14:07
Re: Timer - by Threshold - 26.10.2014, 14:15
Re: Timer - by Laurey - 26.10.2014, 14:17
Re: Timer - by Sawalha - 26.10.2014, 14:26
Re: Timer - by gurmani11 - 26.10.2014, 14:28
Re: Timer - by Crowler - 26.10.2014, 16:09

Forum Jump:


Users browsing this thread: 1 Guest(s)