textdraw box that fills whole screen?
#1

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
Reply
#2

Код:
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]);
Reply
#3

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

you can define MAX_PLAYERS

+ im uploading a vid of a server with amazing textdraws
Reply
#5

check dis out:

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

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

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

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
Reply
#9

Apocalypse is Fallout's server
Reply
#10

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:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)