08.09.2010, 05:05
Okay I just fixed my last problem where the Game Text was not showing up, I fixed that now im trying to change it from game text to text draw, I can get the text draw up but it doesnt go away, heres the timer i use:
That is under OnPlayerPickupPickUp
and here is the timer itself:
anyone know why it isnt destroying the text draw?
pawn Код:
SetTimer("DestroyTextdraw",5000,false);
PropTextDraw1[playerid] = TextDrawCreate(100,150,str);
and here is the timer itself:
pawn Код:
forward DestroyTextDraw(playerid);
public DestroyTextDraw(playerid)
{
TextDrawDestroy(PropTextDraw1[playerid]);
TextDrawActive[playerid] = 0;
return 1;
}