a question about textdraws
#3

Quote:
Originally Posted by Shady91
check you onplayerstate change and see if under there it's deleting your textdraw.
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
  if(!gPlayerUsingLoopingAnim[playerid]) return;


		if(IsKeyJustDown(KEY_HANDBRAKE,newstate,oldstate)) {
	  StopLoopingAnim(playerid);
    TextDrawHideForPlayer(playerid,txtAnimHelper);
    animation[playerid] = 0;
  }
}
Note (txtAnimHelper) is not the score textdraw
________
Uggs
Reply


Messages In This Thread
a question about textdraws - by aircombat - 21.02.2010, 00:41
Re: a question about textdraws - by shady91 - 21.02.2010, 00:44
Re: a question about textdraws - by aircombat - 21.02.2010, 00:46
Re: a question about textdraws - by shady91 - 21.02.2010, 00:47

Forum Jump:


Users browsing this thread: 1 Guest(s)