SA-MP Forums Archive
Clickable textdraw doesnt work - 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: Clickable textdraw doesnt work (/showthread.php?tid=407010)



Clickable textdraw doesnt work - beasty - 12.01.2013

-----------


Re: Clickable textdraw doesnt work - DaRk_RaiN - 12.01.2013

The TextDrawTextSize is too small, make it bigger.
pawn Код:
public OnGameModeInit()
{
    LanguageEN = TextDrawCreate(570.000000, 200.000000, "English");
    TextDrawTextSize(LanguageEN,100, 25);
    TextDrawAlignment(LanguageEN,0);
    TextDrawBackgroundColor(LanguageEN,0x000000ff);
    TextDrawFont(LanguageEN,1);
    TextDrawLetterSize(LanguageEN,0.500000, 1.050000);
    TextDrawColor(LanguageEN,0xffffffff);
    TextDrawSetProportional(LanguageEN,1);
    TextDrawSetShadow(LanguageEN,1);
    TextDrawSetSelectable(LanguageEN, 1);
return 1;
}



Re: Clickable textdraw doesnt work - beasty - 12.01.2013

---------


Re: Clickable textdraw doesnt work - Infinity90 - 12.01.2013

Paste all of your OnPlayerClickTextDraw


Re: Clickable textdraw doesnt work - beasty - 12.01.2013

------------


Re: Clickable textdraw doesnt work - beasty - 12.01.2013

Fixed by my own.