SA-MP Forums Archive
Please help me [small request] - 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: Please help me [small request] (/showthread.php?tid=481106)



Please help me [small request] - FireWarrior101 - 14.12.2013

All my textdraws are working at player request class
but when i add black textdraw for background all of them disappear and only blacktextdraw is being shown
pawn Код:
Textdraw3 = TextDrawCreate(-25.000000,-10.000000,"|");
    TextDrawUseBox(Textdraw3,1);
    TextDrawBoxColor(Textdraw3,0x000000FF);
    TextDrawTextSize(Textdraw3,660.000000,22.000000);
    TextDrawAlignment(Textdraw3,0);
    TextDrawBackgroundColor(Textdraw3,0x000000FF);
    TextDrawFont(Textdraw3,3);
    TextDrawLetterSize(Textdraw3,1.000000,60.200000);
    TextDrawColor(Textdraw3,0x000000FF);
    TextDrawSetOutline(Textdraw3,1);
    TextDrawSetProportional(Textdraw3,1);
    TextDrawSetShadow(Textdraw3,1);



AW: Please help me [small request] - Nero_3D - 14.12.2013

If I remember correctly you need either need to show the background first of create it first


Re: Please help me [small request] - FireWarrior101 - 14.12.2013

i tried putting blacktext on player connect and rest dialogs on playerrequest class that didnt also work


AW: Please help me [small request] - Nero_3D - 14.12.2013

Huh ?, You should create all textdraws in OnGameModeInit and there just put it at top of them all


Re: Please help me [small request] - Pottus - 14.12.2013

Textdraws are layered in the order in which they are created in that the last created textdraw will show on top of all others created before it.


Re: Please help me [small request] - FireWarrior101 - 14.12.2013

God bless you +rep
i knew somethin was screwed so i just brought black screen texture on gamemod first