Quote:
Originally Posted by Sellize
Код:
box = TextDrawCreate(0.0, 480.0,"");
TextDrawUseBox(box , 1);
TextDrawBoxColor(box, COLOR_BLACK);
I'm trying to make the whole screen of the player black but why doesnt it work?
|
Depending on if you'd like to show the textdraw all the time or not...
Put this wherever you want the textdraw to show:
Код:
TextDrawShowForPlayer(playerid, box);
And edit the
TextDrawCreate line as follows, or you might crash.
Код:
box = TextDrawCreate(0.0, 480.0,"~n~");
Having it empty like "" will cause you to crash supposedly. Either leave a space in between it, or use an underscore or a newline function.