Text Draw Help
#3

Try This :-
pawn Код:
new Text:Textdraw10;

//OnGameModeInit

Textdraw10 = TextDrawCreate(280.000000, 166.340713, "Test");
TextDrawLetterSize(Textdraw10, 0.341333, 1.765926);
TextDrawTextSize(Textdraw10, 81.000007, 33.599998);
TextDrawAlignment(Textdraw10, 1);
TextDrawColor(Textdraw10, -1);
TextDrawSetShadow(Textdraw10, 0);
TextDrawSetOutline(Textdraw10, 1);
TextDrawBackgroundColor(Textdraw10, 51);
TextDrawFont(Textdraw10, 2);
TextDrawSetProportional(Textdraw10, 1);
TextDrawSetSelectable(Textdraw10, 1);

// On player connect

TextDrawShowForPlayer(playerid, Text:Textdraw10);
SelectTextDraw(playerid, 0x00FF00FF);

//OnPlayerClickTextdraw

if(clickedid == Text:Textdraw10)
{
    SendClientMessage(playerid, 0xFFFFFFAA, "You clicked Test.");
}
Reply


Messages In This Thread
Text Draw Help - by TKZ227 - 05.05.2013, 00:27
Selectable TD - by TKZ227 - 05.05.2013, 01:09
Re: Text Draw Help - by SimpalK - 05.05.2013, 04:44
Re: Text Draw Help - by TKZ227 - 05.05.2013, 15:25
Re: Text Draw Help - by zDevon - 05.05.2013, 16:17
Re: Text Draw Help - by TKZ227 - 05.05.2013, 16:43
Re: Text Draw Help - by TKZ227 - 05.05.2013, 18:28
Re: Text Draw Help - by TKZ227 - 05.05.2013, 21:48

Forum Jump:


Users browsing this thread: 1 Guest(s)