The txtdraw doesnt disappear
#2

It doesn't disappear because you show it again in that func.

pawn Код:
stock InfoBoxForPlayer(playerid, text[])
{
    TextDrawHideForPlayer(playerid, InfoBox[playerid]);
//  TextDrawDestroy(InfoBox[playerid]);
    new string[800];
    //ViewingBox[playerid] = 1;
    format(string, sizeof(string), "%s", text);
    TextDrawSetString(InfoBox[playerid], string);
    TextDrawShowForPlayer(playerid, InfoBox[playerid]);//showing it again
}
Ignore this^^ got wrong end of the stick.

I can't see you destroying/hiding the etxtdraw anywhere in the code you posted apart from that function.
Reply


Messages In This Thread
The txtdraw doesnt disappear - by Riddy - 03.07.2012, 16:36
Re: The txtdraw doesnt disappear - by iggy1 - 03.07.2012, 16:41
Respuesta: The txtdraw doesnt disappear - by [DOG]irinel1996 - 03.07.2012, 16:49
Re: The txtdraw doesnt disappear - by Riddy - 03.07.2012, 17:31
Re: The txtdraw doesnt disappear - by Riddy - 03.07.2012, 18:40
Re: The txtdraw doesnt disappear - by fadhilkab - 03.07.2012, 20:04
Re: The txtdraw doesnt disappear - by Riddy - 03.07.2012, 20:17

Forum Jump:


Users browsing this thread: 2 Guest(s)