SA-MP Forums Archive
textdraw box that fills whole screen? - 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: textdraw box that fills whole screen? (/showthread.php?tid=166483)



textdraw box that fills whole screen? - WillyP - 08.08.2010

hey, i cant figure out how to make a textdraw box that fills the whole screen :l

ive done everything else related to it but i cant figure it out


Re: textdraw box that fills whole screen? - MartinDee - 08.08.2010

Код:
new Text: box[MAX_PLAYERS];

box[playerid] = TextDrawCreate(645.000000, 1000.000000,"box"); // chnge this if needed
TextDrawUseBox(box[playerid] , 1);
TextDrawFont(box[playerid] , 3);
TextDrawLetterSize(box[playerid] ,1.400000, 13.000005);
TextDrawBackgroundColor(box[playerid] ,0x000000FF);
TextDrawBoxColor(box[playerid] ,0x000000FF);
TextDrawColor(box[playerid] ,0x000000FF);
TextDrawTextSize(box[playerid] , -50.000000, 0.000000);

TextDrawShowForPlayer(playerid, box[playerid]);

TextDrawDestroy(box[playerid]);



Re: textdraw box that fills whole screen? - [XST]O_x - 08.08.2010

You know the value of MAX_PLAYERS? Yeah,it's 500.
You are basically creating 500 textdraws containing the same information,what for?


Re: textdraw box that fills whole screen? - WillyP - 08.08.2010

you can define MAX_PLAYERS

+ im uploading a vid of a server with amazing textdraws


Re: textdraw box that fills whole screen? - WillyP - 08.08.2010

check dis out:

[ame="http://www.youtube.com/watch?v=hGh26AS9wJ0"][/ame]


Re: textdraw box that fills whole screen? - Hiddos - 08.08.2010

Isn't that more a random mirror placed in an interior with some boxes around em?


Re: textdraw box that fills whole screen? - Fj0rtizFredde - 08.08.2010

pawn Код:
new something;
something = TextDrawCreate(0.0, 0.0, "_");
TextDrawUseBox(something, true);
TextDrawColor(something, 0);
This will make the screen all black


Re: textdraw box that fills whole screen? - WillyP - 08.08.2010

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
Isn't that more a random mirror placed in an interior with some boxes around em?
yes, but how to allign it all without change, go ig, change go ig, over and over again


Re: textdraw box that fills whole screen? - Bessensap - 08.08.2010

Apocalypse is Fallout's server


Re: textdraw box that fills whole screen? - WillyP - 09.08.2010

Quote:
Originally Posted by ******
Посмотреть сообщение
The text-draws are based on a screen size of 640x480. If you go in-game you can set your resolution to that and take a screen shot of the place you want textdraws. You can then use paint to position boxes over the image exactly where you want and get the co-ordinates from the bottom right of the screen.
not to be an ass, but thats too confusing cause i dont get the coords part D: