SA-MP Forums Archive
Textdraw help. - 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 help. (/showthread.php?tid=219660)



Textdraw help. - bartje01 - 01.02.2011

Hey guys, Just a short question.
How to make your whole screen black with a textdraw? Like a background?

Couldn't find it : (


Re: Textdraw help. - Stigg - 01.02.2011

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]);

There you go.

Peace....


Re: Textdraw help. - bartje01 - 01.02.2011

Damn nothing happened :O

Btw, Why the [playerid] ?