Textdraw selectable box
#3

Already done that. Same

Code:
public OnPlayerConnect(playerid)
{

Textdraw1[playerid] = CreatePlayerTextDraw(playerid, 500.200000, 320.699981, "usebox");
PlayerTextDrawLetterSize(playerid, Textdraw1[playerid], 0.000000, 2.103088);
PlayerTextDrawTextSize(playerid, Textdraw1[playerid], 340.500000, 0.000000);
PlayerTextDrawAlignment(playerid, Textdraw1[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw1[playerid], 0);
PlayerTextDrawUseBox(playerid, Textdraw1[playerid], true);
PlayerTextDrawBoxColor(playerid, Textdraw1[playerid], 102);
PlayerTextDrawSetShadow(playerid, Textdraw1[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw1[playerid], 0);
PlayerTextDrawFont(playerid, Textdraw1[playerid], 0);
PlayerTextDrawSetSelectable(playerid, Textdraw1[playerid], true);

return 1;
}

public OnPlayerSpawn(playerid)
{

SelectTextDraw(playerid, 0x9999BBBB);
PlayerTextDrawShow(playerid, Textdraw1[playerid]);

	return 1;
}
Reply


Messages In This Thread
Textdraw selectable box - by Supermaxultraswag - 17.05.2015, 11:40
Re: Textdraw selectable box - by Konstantinos - 17.05.2015, 11:42
Re: Textdraw selectable box - by Supermaxultraswag - 17.05.2015, 12:28
Re: Textdraw selectable box - by Supermaxultraswag - 18.05.2015, 17:21
Re: Textdraw selectable box - by Joe Staff - 18.05.2015, 18:00
Re: Textdraw selectable box - by Supermaxultraswag - 21.05.2015, 19:09
Re: Textdraw selectable box - by Supermaxultraswag - 22.05.2015, 06:19
Re: Textdraw selectable box - by Supermaxultraswag - 23.05.2015, 08:14
Re: Textdraw selectable box - by Unkowusername - 23.05.2015, 08:16
Re: Textdraw selectable box - by Supermaxultraswag - 23.05.2015, 11:58

Forum Jump:


Users browsing this thread: 1 Guest(s)