// 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);
I don't like how you are doing this. You should creating a system to handle the creation of mission textdraws.
|
u must use colors like this: 0xRRGGBBAA (Red Green Blue Alpha)
so make alpha channel a bit transparent, for example 0x00000077. PlayerTextDrawBoxColor(playerid,MissionTD[playerid][0], 0x00000077); |
If you are able to wait a little longer, ****** is adding a few more single player textdraws to fixes.inc.
|
What are u mean? This is not possible to make that color like the GTA OFF?
|