Textdraw not hiding
#1

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 :/
Reply
#2

Try this:

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

i think you use playertext thats why

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

Reply
#4

thanks both
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)