SA-MP Forums Archive
a question about textdraws - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: a question about textdraws (/showthread.php?tid=129120)



a question about textdraws - aircombat - 21.02.2010

1. i have a textdraw in my server which show the score , the problem is when i am in a plane and i exit it , the textdraw dissapear (exiting it while its still moving forward not stopped) anyone knows how to fix it ??


2. how to make a /glue command , like what are the functions
________
College Girls Cams


Re: a question about textdraws - shady91 - 21.02.2010

check you onplayerstate change and see if under there it's deleting your textdraw.


Re: a question about textdraws - aircombat - 21.02.2010

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


Re: a question about textdraws - shady91 - 21.02.2010

yes but if that textdraws not showing and your telling your script to hide a textdraw that's not actually showing it still can mess your other text draws.