SA-MP Forums Archive
td editor help - 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: td editor help (/showthread.php?tid=636328)



td editor help - MrCesar - 25.06.2017

hey guys i've been using archis td editor
and i've got this one
Код:
new PlayerText:TDEditor_PTD[MAX_PLAYERS][3];

	TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 304.166625, 143.851806, "Objects_Streaming~n~~n~~n~please_wait_5_seconds");
	PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.287500, 1.226665);
	PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 0.000000, 225.000000);
	PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 2);
	PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], -16776961);
	PlayerTextDrawUseBox(playerid, TDEditor_PTD[playerid][0], 1);
	PlayerTextDrawBoxColor(playerid, TDEditor_PTD[playerid][0], 1344078079);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
	PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0);
	PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], -1743453953);
	PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 2);
	PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 1);
	PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
but how do i display it to a player? I tried
Код:
TextDrawShowForPlayer(playerid, TDEditor_PTD);
and some other options but without anyluck..

can anyone clear this for me? :O thanks


Re: td editor help - JasonRiggs - 25.06.2017

Under all of them add TextDrawShowForPlayer, and add all of these under OnGameModeInIt


Re: td editor help - Pottus - 25.06.2017

Quote:
Originally Posted by JasonRiggs
Посмотреть сообщение
Under all of them add TextDrawShowForPlayer, and add all of these under OnGameModeInIt
You jackass use the right function https://sampwiki.blast.hk/wiki/PlayerTextDrawShow


Re: td editor help - JasonRiggs - 25.06.2017

Quote:
Originally Posted by Pottus
Посмотреть сообщение
You jackass use the right function https://sampwiki.blast.hk/wiki/PlayerTextDrawShow
sry my bad


Re: td editor help - MrCesar - 25.06.2017

Quote:
Originally Posted by Pottus
Посмотреть сообщение
You jackass use the right function https://sampwiki.blast.hk/wiki/PlayerTextDrawShow
thx!


Re: td editor help - KingSenpai - 25.06.2017

.....


Re: td editor help - Sew_Sumi - 25.06.2017

Quote:
Originally Posted by KingSenpai
Посмотреть сообщение
Here`s a sample
I'm sure you did exactly what was mentioned as being wrong above.