Invisible 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Invisible textdraw? (
/showthread.php?tid=219572)
Invisible textdraw? -
BlackWolf120 - 01.02.2011
hi,
id like to know how to make the text of this textdraw invisible.
Just want the box to be visible.
pls. help..
regards..
pawn Код:
wasted = TextDrawCreate(2.000000, 0.000000, "~r~WASTED");
TextDrawBackgroundColor(wasted, 255);
TextDrawFont(wasted, 2);
TextDrawLetterSize(wasted, 3.709998, 49.699966);
TextDrawColor(wasted, -16776961);//what do i have to change here???
TextDrawSetOutline(wasted, 1);
TextDrawSetProportional(wasted, 1);
TextDrawUseBox(wasted, 1);
TextDrawBoxColor(wasted, -10197916);
TextDrawTextSize(wasted, 648.000000, 11.000000);
Re: Invisible textdraw? -
Marricio - 01.02.2011
i think there's no way but you should better use this:
GameTextForPlayer(playerid,"~r~WASTED",1,1);
Re: Invisible textdraw? -
BlackWolf120 - 01.02.2011
thx for ur answer.
Is there really no way to make the font invisible?
Btw, what is ur suggestion gonna change?
regards...
Re: Invisible textdraw? -
Marricio - 01.02.2011
oh yes you can make it invisible leaving blank the text:
wasted = TextDrawCreate(2.000000, 0.000000, " ");
I think, go try
Re: Invisible textdraw? -
BlackWolf120 - 01.02.2011
nah you cant leave this blank cause its gonna crash.
but thx