Das glaub ich kaum
enum pTDInfo
{
PlayerText:TachoInfo1,
PlayerText:TachoInfo2,
PlayerText:TachoInfo3,
PlayerText:InfoBoxHeader,
PlayerText:InfoBoxInfo,
PlayerText:TaxameterDraw,
PlayerText:Stats[4],
}
new pTextDraw[MAX_PLAYERS][pTDInfo];
pTextDraw[playerid][Stats][0] = CreatePlayerTextDraw(playerid, 182.000000, 132.000000, astr);
PlayerTextDrawAlignment(playerid, pTextDraw[playerid][Stats][0], 3);
PlayerTextDrawBackgroundColor(playerid, pTextDraw[playerid][Stats][0], 255);
PlayerTextDrawFont(playerid, pTextDraw[playerid][Stats][0], 1);
PlayerTextDrawLetterSize(playerid, pTextDraw[playerid][Stats][0], 0.189998, 1.000000);
PlayerTextDrawColor(playerid, pTextDraw[playerid][Stats][0], -1);
PlayerTextDrawSetOutline(playerid, pTextDraw[playerid][Stats][0], 0);
PlayerTextDrawSetProportional(playerid, pTextDraw[playerid][Stats][0], 1);
PlayerTextDrawSetShadow(playerid, pTextDraw[playerid][Stats][0], 1);
PlayerTextDrawSetSelectable(playerid, pTextDraw[playerid][Stats][0], 0);
pTextDraw[playerid][Stats][1] = CreatePlayerTextDraw(playerid, 311.500000, 132.000000, kstr);
PlayerTextDrawAlignment(playerid, pTextDraw[playerid][Stats][1], 3);
PlayerTextDrawBackgroundColor(playerid, pTextDraw[playerid][Stats][1], 255);
PlayerTextDrawFont(playerid, pTextDraw[playerid][Stats][1], 1);
PlayerTextDrawLetterSize(playerid, pTextDraw[playerid][Stats][1], 0.189998, 1.000000);
PlayerTextDrawColor(playerid, pTextDraw[playerid][Stats][1], -1);
PlayerTextDrawSetOutline(playerid, pTextDraw[playerid][Stats][1], 0);
PlayerTextDrawSetProportional(playerid, pTextDraw[playerid][Stats][1], 1);
PlayerTextDrawSetShadow(playerid, pTextDraw[playerid][Stats][1], 1);
PlayerTextDrawSetSelectable(playerid, pTextDraw[playerid][Stats][1], 0);
pTextDraw[playerid][Stats][2] = CreatePlayerTextDraw(playerid, 440.000000, 132.000000, istr);
PlayerTextDrawAlignment(playerid, pTextDraw[playerid][Stats][2], 3);
PlayerTextDrawBackgroundColor(playerid, pTextDraw[playerid][Stats][2], 255);
PlayerTextDrawFont(playerid, pTextDraw[playerid][Stats][2], 1);
PlayerTextDrawLetterSize(playerid, pTextDraw[playerid][Stats][2], 0.189998, 1.000000);
PlayerTextDrawColor(playerid, pTextDraw[playerid][Stats][2], -1);
PlayerTextDrawSetOutline(playerid, pTextDraw[playerid][Stats][2], 0);
PlayerTextDrawSetProportional(playerid, pTextDraw[playerid][Stats][2], 1);
PlayerTextDrawSetShadow(playerid, pTextDraw[playerid][Stats][2], 1);
PlayerTextDrawSetSelectable(playerid, pTextDraw[playerid][Stats][2], 0);
pTextDraw[playerid][Stats][3] = CreatePlayerTextDraw(playerid, 569.000000, 132.000000, sstr);
PlayerTextDrawAlignment(playerid, pTextDraw[playerid][Stats][3], 3);
PlayerTextDrawBackgroundColor(playerid, pTextDraw[playerid][Stats][3], 255);
PlayerTextDrawFont(playerid, pTextDraw[playerid][Stats][3], 1);
PlayerTextDrawLetterSize(playerid, pTextDraw[playerid][Stats][3], 0.189998, 1.000000);
PlayerTextDrawColor(playerid, pTextDraw[playerid][Stats][3], -1);
PlayerTextDrawSetOutline(playerid, pTextDraw[playerid][Stats][3], 0);
PlayerTextDrawSetProportional(playerid, pTextDraw[playerid][Stats][3], 1);
PlayerTextDrawSetShadow(playerid, pTextDraw[playerid][Stats][3], 1);
PlayerTextDrawSetSelectable(playerid, pTextDraw[playerid][Stats][3], 0);
Zu dem Zeitpunkt wo die 4 erstellt werden nur für mich also 4x1 = 4 Textdraws sind maximal 1-3 Textdraws offen.