Textdraw helps
#1

I need some help with my textdraw mission

PHP код:
        // Tutorial Mission - Background
        // ??? / pos Y
        
MissionTD[playerid][0] = CreatePlayerTextDraw(playerid,15.199993112.160011"box");
        
PlayerTextDrawLetterSize(playerid,MissionTD[playerid][0], 0.0000007.679999);
        
PlayerTextDrawTextSize(playerid,MissionTD[playerid][0], 205.0000000.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(playeridMissionTD[playerid][0], 255);
        
PlayerTextDrawFont(playeridMissionTD[playerid][0] , 1);
        
PlayerTextDrawSetProportional(playerid,MissionTD[playerid][0], 1);
        
PlayerTextDrawUseBox(playeridMissionTD[playerid][0], 1); // enable box 
        
PlayerTextDrawTextSize(playeridMissionTD[playerid][0], 300.0000000.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.5999115.8932"Follow the 'CJ' icon~n~on the radar to get~n~back to the hood.");
        
PlayerTextDrawLetterSize(playeridMissionTD[playerid][1], 0.4280002.279466);
        
PlayerTextDrawAlignment(playeridMissionTD[playerid][1], 1);
        
PlayerTextDrawColor(playeridMissionTD[playerid][1], -1061109505);
        
PlayerTextDrawSetShadow(playeridMissionTD[playerid][1], 0);
        
PlayerTextDrawBackgroundColor(playeridMissionTD[playerid][1], -1061109505);
        
PlayerTextDrawFont(playeridMissionTD[playerid][1], 1);
        
PlayerTextDrawSetProportional(playeridMissionTD[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?
Reply


Messages In This Thread
Textdraw helps - by binnyl - 10.02.2019, 20:21
Re: Textdraw helps - by Pottus - 10.02.2019, 20:27
Re: Textdraw helps - by Mugala - 10.02.2019, 21:41
Re: Textdraw helps - by binnyl - 16.02.2019, 16:06
Re: Textdraw helps - by Freaksken - 16.02.2019, 17:14
Re: Textdraw helps - by binnyl - 01.03.2019, 00:59
Re: Textdraw helps - by m4karow - 01.03.2019, 07:39
Re: Textdraw helps - by Freaksken - 01.03.2019, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)