PDA

View Full Version : TextDraw over another TextDraw


Corin
16/05/2019, 04:57 PM
Hi friends, I created a textdraw in OnPlayerConnect to use with the include fader.inc and put it at the bottom of all other textdraw, the poblema is that some textdraw that is above the fader textdraw it appears over the fader texdrawn .

Fader de Textdraw

TexDrawnFade[playerid] = CreatePlayerTextDraw(playerid, -20.0, -20.0, "_");
PlayerTextDrawLetterSize(playerid, TexDrawnFade[playerid], 680.0, 500.0);
PlayerTextDrawTextSize(playerid, TexDrawnFade[playerid], 680.0, 500.0);
PlayerTextDrawUseBox(playerid, TexDrawnFade[playerid], 1);
PlayerTextDrawBoxColor(playerid, TexDrawnFade[playerid], 0x000000FF);


Include Fader.inc: https://github.com/Gammix/fader.inc/blob/master/pawno/include/fader.inc

RogueDrifter
17/05/2019, 10:28 PM
The rule is last created first shown

Gammix
17/05/2019, 11:42 PM
https://github.com/Agneese-Saini/SA-MP/blob/master/pawno/include/fader.inc

This is the newer version of fader.