10.02.2019, 20:21
I need some help with my textdraw mission
Two things
1- The background is so dark, it's bad to user experience, and the letters are too white, it's not like original mission GTA textdraw, where background is light dark and letters is something like white/grey
2- How to set the width and height perfectly?
Texts will have this same size, so how to set like \/
I wanna put it like:
Is anybody can help me?
PHP код:
// Tutorial Mission - Background
// ??? / pos Y
MissionTD[playerid][0] = CreatePlayerTextDraw(playerid,15.199993, 112.160011, "box");
PlayerTextDrawLetterSize(playerid,MissionTD[playerid][0], 0.000000, 7.679999);
PlayerTextDrawTextSize(playerid,MissionTD[playerid][0], 205.000000, 0.000000);
PlayerTextDrawAlignment(playerid,MissionTD[playerid][0], 1);
PlayerTextDrawColor(playerid,MissionTD[playerid][0], -1);
PlayerTextDrawUseBox(playerid,MissionTD[playerid][0], 1);
PlayerTextDrawBoxColor(playerid,MissionTD[playerid][0], 170);
PlayerTextDrawSetShadow(playerid,MissionTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, MissionTD[playerid][0], 255);
PlayerTextDrawFont(playerid, MissionTD[playerid][0] , 1);
PlayerTextDrawSetProportional(playerid,MissionTD[playerid][0], 1);
PlayerTextDrawUseBox(playerid, MissionTD[playerid][0], 1); // enable box
PlayerTextDrawTextSize(playerid, MissionTD[playerid][0], 300.000000, 0.000000); // "142.000000" is the width of your box, higher it is the more text will fit in one line
// Tutorial Mission - Text
MissionTD[playerid][1] = CreatePlayerTextDraw(playerid,17.5999, 115.8932, "Follow the 'CJ' icon~n~on the radar to get~n~back to the hood.");
PlayerTextDrawLetterSize(playerid, MissionTD[playerid][1], 0.428000, 2.279466);
PlayerTextDrawAlignment(playerid, MissionTD[playerid][1], 1);
PlayerTextDrawColor(playerid, MissionTD[playerid][1], -1061109505);
PlayerTextDrawSetShadow(playerid, MissionTD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, MissionTD[playerid][1], -1061109505);
PlayerTextDrawFont(playerid, MissionTD[playerid][1], 1);
PlayerTextDrawSetProportional(playerid, MissionTD[playerid][1], 1);
Two things
1- The background is so dark, it's bad to user experience, and the letters are too white, it's not like original mission GTA textdraw, where background is light dark and letters is something like white/grey
2- How to set the width and height perfectly?
Texts will have this same size, so how to set like \/
I wanna put it like:
Is anybody can help me?