11.06.2011, 10:25
Still doesnt work. This is everything of my textdraw.
on top
ongamemodeinit
OnPlayerSpawn
This at my timer
Still mixing with other players
on top
pawn Код:
#undef INVALID_TEXT_DRAW
#define INVALID_TEXT_DRAW Text:0xFFFF
new Text:Textdraw1 = INVALID_TEXT_DRAW;
pawn Код:
Textdraw0 = TextDrawCreate(1.000000,437.000000,"Score");
Textdraw1 = TextDrawCreate(121.000000,435.000000,"1");
TextDrawUseBox(Textdraw0,1);
TextDrawAlignment(Textdraw1,0);
TextDrawBackgroundColor(Textdraw1,0x000000ff);
TextDrawFont(Textdraw0,3);
TextDrawFont(Textdraw1,3);
TextDrawLetterSize(Textdraw1,0.699999,1.500000);
TextDrawColor(Textdraw1,0xffffffff);
TextDrawSetOutline(Textdraw1,1);
TextDrawSetProportional(Textdraw1,1);
TextDrawSetShadow(Textdraw1,1);
pawn Код:
TextDrawShowForPlayer(playerid, Textdraw1);
pawn Код:
TextDrawSetString(Textdraw1, String);