Textdraws has got a way of fucking up - 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)
+--- Thread: Textdraws has got a way of fucking up (
/showthread.php?tid=282638)
Textdraws has got a way of fucking up -
Kyle_Olsen - 11.09.2011
Of some reason, textdraws fucks up all the time, on different occasions.
Some things I have experienced:
- Textdraws refuses to get hidden
- Textdraws remove other textdraws even though their ids are different
- Textdraws sets themselves to different places on your screen if another textdraw is defined there
And more...
Are anyone else experiencing problems like this, and, does anyone know how to fix this?
Re: Textdraws has got a way of fucking up -
brett7 - 11.09.2011
Are you using several filterscipts with text draws in?
Re: Textdraws has got a way of fucking up -
WoodPecker - 11.09.2011
Use this filterscript to make awesome textdraws WORKING, i just tried it and its awesome:
https://sampforum.blast.hk/showthread.php?tid=117851
Re: Textdraws has got a way of fucking up -
admantis - 11.09.2011
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] );
}