04.09.2009, 21:46
textdraws not getting destroyed (correctly)
i have some publics wich worked flawless in 0.2X
but now they refuse to work^^
was used to display a before created textdraw for a amount of time
why it dont get destroyed correctly now?
i have some publics wich worked flawless in 0.2X
but now they refuse to work^^
Код:
public TimeTextForPlayer( playerid, Text:text, time )
{
TextDrawShowForPlayer( playerid, text );
SetTimerEx( "DestroyTextTimer", time, 0, "ii", playerid, _:text );
}
Код:
public DestroyTextTimer( playerid, Text:text )
{
TextDrawDestroy( text );
}
why it dont get destroyed correctly now?

