SA-MP Forums Archive
TextDraws - 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)
+--- Thread: TextDraws (/showthread.php?tid=402213)



TextDraws - DerickClark - 25.12.2012

Hi.i wanna replace dis textdraw


I dont wanna dis one

I wanna dis one

// MissionText TextDraw setup
APlayerData[playerid][MissionText] = TextDrawCreate(320.0, 430.0, " "); // Setup the missiontext at the bottom of the screen
TextDrawAlignment(APlayerData[playerid][MissionText], 2); // Align the missiontext to the center
TextDrawUseBox(APlayerData[playerid][MissionText], 1); // Set the missiontext to display inside a box
TextDrawBoxColor(APlayerData[playerid][MissionText], 0x00000066); // Set the box color of the missiontext


Re: TextDraws - ikey07 - 25.12.2012

This*

and use Zamaroht's TextDraw Editor by Zamaroht to create such text draw


Re : TextDraws - [HRD]Mar1 - 25.12.2012

TextDrawFont(APlayerData[playerid][MissionText],2);
Add dis my friend to your textdaw lines


Re: Re : TextDraws - DerickClark - 25.12.2012

Quote:
Originally Posted by [HRD]Mar1
Посмотреть сообщение
TextDrawFont(APlayerData[playerid][MissionText],1);
Add dis my friend to your textdaw lines
Where i put it?


Re : Re: Re : TextDraws - [HRD]Mar1 - 25.12.2012

Quote:
Originally Posted by DerickClark
Посмотреть сообщение
Where i put it?
pawn Код:
TextDrawAlignment(APlayerData[playerid][MissionText], 2); // Align the missiontext to the center
TextDrawUseBox(APlayerData[playerid][MissionText], 1); // Set the missiontext to display inside a box
TextDrawBoxColor(APlayerData[playerid][MissionText], 0x00000066); // Set the box color of the missiontext
TextDrawFont(APlayerData[playerid][MissionText],2);



Re: Re : TextDraws - DerickClark - 25.12.2012

Quote:
Originally Posted by [HRD]Mar1
Посмотреть сообщение
TextDrawFont(APlayerData[playerid][MissionText],2);
Add dis my friend to your textdaw lines
it work how to make it small?


Re: TextDraws - Randy More - 25.12.2012

Within the the OnGameModeInit callback usually.


Re : TextDraws - [HRD]Mar1 - 25.12.2012

TextDrawLetterSize(APlayerData[playerid][MissionText],0.399998, 1.000000);//
Play on dis cords and test


Re: Re : TextDraws - DerickClark - 25.12.2012

Quote:
Originally Posted by [HRD]Mar1
Посмотреть сообщение
TextDrawFont(APlayerData[playerid][MissionText],2);
Add dis my friend to your textdaw lines
Quote:
Originally Posted by [HRD]Mar1
Посмотреть сообщение
TextDrawLetterSize(APlayerData[playerid][MissionText],0.399998, 1.000000);//
Play on dis cords and test
Ty.you really good at dis