SA-MP Forums Archive
Heeeelp - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Heeeelp (/showthread.php?tid=564233)



Heeeelp - JOSSE - 20.02.2015

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


Re: Heeeelp - Antoniohl - 20.02.2015

TextDrawShowForPlayer(playerid, Textdraw2);


Re: Heeeelp - Matess - 20.02.2015

PHP код:
PlayerTextDrawShow(playeridTextdraw2[playerid]); 



Re: Heeeelp - JOSSE - 20.02.2015

TextDrawShowForPlayer(playerid, Textdraw2); // - error 035: argument type mismatch (argument 2)


Re: Heeeelp - Antoniohl - 20.02.2015

Quote:
Originally Posted by JOSSE
Посмотреть сообщение
TextDrawShowForPlayer(playerid, Textdraw2); // - error 035: argument type mismatch (argument 2)
try (like he said)
PlayerTextDrawShow(playerid, Textdraw2[playerid]);


Re: Heeeelp - JOSSE - 20.02.2015

Quote:
Originally Posted by Matess
Посмотреть сообщение
PHP код:
PlayerTextDrawShow(playeridTextdraw2[playerid]); 
Thank you very much helped)