td editor help
#1

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
Reply
#2

Under all of them add TextDrawShowForPlayer, and add all of these under OnGameModeInIt
Reply
#3

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
Reply
#4

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

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

.....
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)