a question about textdraws
#1

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
Reply
#2

check you onplayerstate change and see if under there it's deleting your textdraw.
Reply
#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
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)