26.10.2014, 14:17
Define the time's textdraw on the top,
Textdraw's creation
Then in the public of your clock system you have to implement the given textdraw something like this
It was just a simple idea you can do it on its basis.
PS: Its for the clock system if you meant that.
pawn Код:
new Text:TimeTD
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);
pawn Код:
format(string,sizeof(string),"~r~game time: ~w~%d:%d:%d", thour, tmin, tsec);
TextDrawSetString(TimeTD, string);
PS: Its for the clock system if you meant that.