Textdraws has got a way of fucking up
#4

You need to be very careful on when to manage textdraws; creating, destroying, hiding, showing, formatting.. If you are using textdraws such as showing something's stat (speedometer, player stats) you might want to use per-player textdraws unless it's a global textdraw for example a simple textdraw showing the website of your server.

pawn Код:
new Text:td[ MAX_PLAYERS ];

public OnPlayerConnect( playerid )
{
    TextDrawCreate( td[ playerid ], "my textdraw is only for me", 0.0, 660.0 );
    TextDrawShowForPlayer( playerid, td[playerid] );
}
Reply


Messages In This Thread
Textdraws has got a way of fucking up - by Kyle_Olsen - 11.09.2011, 22:12
Re: Textdraws has got a way of fucking up - by brett7 - 11.09.2011, 22:14
Re: Textdraws has got a way of fucking up - by WoodPecker - 11.09.2011, 22:14
Re: Textdraws has got a way of fucking up - by admantis - 11.09.2011, 22:55

Forum Jump:


Users browsing this thread: 1 Guest(s)