Textdraw over textdraw ?:( - 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: Textdraw over textdraw ?:( (
/showthread.php?tid=514526)
Textdraw over textdraw ?:( -
Metharon - 22.05.2014
Good morning , today i created an speedometre system for my RPG GAMEMODE , all is ok but is a problem with the arranging of the textdraws , so normal must be the frist the black hud and after the texts , but no is not ... why ? how can i make the textdraw hud black called frist , and after the text , frist time i was thinking is because of textdrawsetstring but no , because L is not changed with textdrawsetstring but still is not correct colored (All texts are colored like KMH)
pawn Код:
TextDrawShowForPlayer( i, g_Txd[ 0 ] );
TextDrawShowForPlayer( i, g_Txd[ 1 ] );
TextDrawShowForPlayer( i, g_Txd[ 2 ] );
TextDrawShowForPlayer( i, g_Txd[ 3 ] );
TextDrawShowForPlayer( i, g_Txd[ 4 ] );
TextDrawShowForPlayer( i, g_Txd[ 5 ] );
TextDrawShowForPlayer( i, g_Txd[ 6 ] );
TextDrawShowForPlayer( i, g_Txd[ 7 ] );
TextDrawShowForPlayer( i, g_Txd[ 10 ] );
TextDrawShowForPlayer( i, g_Txd[ 9 ] );
TextDrawShowForPlayer( i, g_Txd[ 8 ] ); // HUDUL
Re: Textdraw over textdraw ?:( -
Pottus - 22.05.2014
Order they are created is the order they will show with the last textdraw created overlapping all others.
Re: Textdraw over textdraw ?:( -
superrobot48 - 22.05.2014
Create the textdraw in a sequence like the first 1 will be at the bottom and the next 1 will be above it, and so on