[SOLVED] Normal clock?
#8

Quote:
Originally Posted by SAWC™
Use the textdraw system used on the real clock FS from the sa-mp package.
I gont get it to work, it just says 00:00 if I puts in the textdraw lines...

Код:
//Top
new Text:txtTimeDisp; 

// OnGameModeInit
txtTimeDisp = TextDrawCreate(605.0,25.0,"00:00");
TextDrawUseBox(txtTimeDisp, 0);
TextDrawFont(txtTimeDisp, 3);
TextDrawSetShadow(txtTimeDisp,0); // no shadow
TextDrawSetOutline(txtTimeDisp,2); // thickness 1
TextDrawBackgroundColor(txtTimeDisp,0x000000FF);
TextDrawColor(txtTimeDisp,0xFFFFFFFF);
TextDrawAlignment(txtTimeDisp,3);
TextDrawLetterSize(txtTimeDisp,0.5,1.5);

// OnPlayerSpawn
TextDrawShowForPlayer(playerid,txtTimeDisp);

// OnPlayerDeath
TextDrawHideForPlayer(playerid,txtTimeDisp);
Reply


Messages In This Thread
[SOLVED] Normal clock? - by FreddeN - 03.03.2010, 13:39
Re: [HELP] Normal clock? - by Miguel - 03.03.2010, 13:50
Re: [HELP] Normal clock? - by FreddeN - 03.03.2010, 13:56
Re: [HELP] Normal clock? - by Miguel - 03.03.2010, 14:01
Re: [HELP] Normal clock? - by FreddeN - 03.03.2010, 14:08
Re: [HELP] Normal clock? - by MaykoX - 03.03.2010, 14:09
Re: [HELP] Normal clock? - by Miguel - 03.03.2010, 14:13
Re: [HELP] Normal clock? - by FreddeN - 03.03.2010, 16:12
Re: [HELP] Normal clock? - by Miguel - 03.03.2010, 16:17
Re: [HELP] Normal clock? - by FreddeN - 03.03.2010, 16:32

Forum Jump:


Users browsing this thread: 1 Guest(s)