20.02.2015, 13:46
Hello I have this problem warning 213: tag mismatch
Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 556.134460, 18.666675, "ROLEPLAY");
PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.196060, 0.946666);
PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw2[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw2[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw2[playerid], true);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]); // - The problem of this
new PlayerText:Textdraw2[MAX_PLAYERS]; // - This is the new I use
Textdraw2[playerid] = CreatePlayerTextDraw(playerid, 556.134460, 18.666675, "ROLEPLAY");
PlayerTextDrawLetterSize(playerid, Textdraw2[playerid], 0.196060, 0.946666);
PlayerTextDrawAlignment(playerid, Textdraw2[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw2[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw2[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw2[playerid], 0);
PlayerTextDrawBackgroundColor(playerid, Textdraw2[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw2[playerid], 2);
PlayerTextDrawSetProportional(playerid, Textdraw2[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw2[playerid], true);
TextDrawShowForPlayer(playerid, Textdraw2[playerid]); // - The problem of this
new PlayerText:Textdraw2[MAX_PLAYERS]; // - This is the new I use