SA-MP Forums Archive
Player Textdraw - 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: Player Textdraw (/showthread.php?tid=602368)



Player Textdraw - RiHn0 - 06.03.2016

Hello!
I want to insert a Model Textdraw on my Game Mode but I don't know how...
It should look like this:


But it looks like this:

So, I want to know how to insert that model there...

This is the code from ITD for it:

Quote:

//Player TextDraws:


new Text:TDEditor_PTD[MAX_PLAYERS][1];

TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 578.125000, 352.750061, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 90.000000, 90.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][0], 292);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][0], 0.000000, 0.000000, -25.000000, 1.000000);

Please help me! Thanks!


Re: Player Textdraw - TheHonnor - 06.03.2016

And what is the problem?


Re: Player Textdraw - TitanZ - 06.03.2016

Try This https://sampforum.blast.hk/showthread.php?tid=406833


Re: Player Textdraw - RiHn0 - 06.03.2016

Quote:
Originally Posted by TheHonnor
Посмотреть сообщение
And what is the problem?
I want to insert that skin in my gm. The skin is that code but I don't know how to insert it.


Re: Player Textdraw - TheHonnor - 06.03.2016

You can use the TextDraw Editor by Zamaroht because it's very useful!
You can insert a Skin into a text with this Editor.


Re: Player Textdraw - RiHn0 - 06.03.2016

I'm using it right now but I don't know how to delete the black part wich is surrounding the skin( I can't make the skin stay on a transparent background). How to do it?


Re: Player Textdraw - TheHonnor - 06.03.2016

Select the textdraw you wanna edit and then select `Edit Box`. And there you will turn off the Box.


Re: Player Textdraw - RiHn0 - 06.03.2016

When I turn off the Box, the Skin
disappear.


Re: Player Textdraw - RiHn0 - 06.03.2016

No body know how to do it?


Re: Player Textdraw - RiHn0 - 06.03.2016

Please, I just want to know how to get off that black background...