SA-MP Forums Archive
Textdraw not hiding - 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: Textdraw not hiding (/showthread.php?tid=655483)



Textdraw not hiding - div - 22.06.2018

Hello, I made a robbery textdraw.. It is shown successfully, I made it using Timers, first timer will show some part, and it will update slowly.. But the problem is, when the robbery is finished, ALL THE TEXTDRAWS HIDE except the FIRST THREE..


So, i tried this
Код:
TextDrawHideForPlayer(playerid, Robbery[playerid][1]);
		TextDrawHideForPlayer(playerid, Robbery[playerid][1]);
		TextDrawHideForPlayer(playerid, Robbery[playerid][2]);
		TextDrawHideForPlayer(playerid, Robbery[playerid][3]);
		TextDrawHideForPlayer(playerid, Robbery[playerid][4]);
		TextDrawHideForPlayer(playerid, Robbery[playerid][5]);
		TextDrawHideForPlayer(playerid, Robbery[playerid][6]);
		TextDrawHideForPlayer(playerid, Robbery[playerid][7]);
It says TAG MISMATCH :/


Re: Textdraw not hiding - DeathCore - 22.06.2018

Try this:

Код:
new Text:Robbery[10];
for(new i=1;i<8;i++)TextDrawHideForPlayer(playerid, Robbery[i]);



Re: Textdraw not hiding - Lokii - 22.06.2018

i think you use playertext thats why

PHP код:
for(new 08i++)
{
    
PlayerTextDrawHide(playeridRobbery[playerid][i]);




Re: Textdraw not hiding - div - 22.06.2018

thanks both