24.05.2013, 18:43
Hey Guys,
i have a Problem with my selectable Textdraw.. i cant click on it
Code:
i have a Problem with my selectable Textdraw.. i cant click on it

Code:
Код:
new Text:LKW;
LKW = TextDrawCreate(229,172,"- Lastkraftwagen Fuererschein");
TextDrawLetterSize(LKW,0.300000,1.000000);
TextDrawColor(LKW,Weiss);
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(_:clickedid != INVALID_TEXT_DRAW) //Sagt das wenn der Player ein falsches TD anklickt nichts passieren soll.
{
if(clickedid == Text:LKW)
{
SendClientMessage(playerid,Weiss,"Es klappt");
SelectTextDraw(playerid,Rot);
return 1;
}
}
return 1;
}
// if Player press key N than comes the Textdraw..
TextDrawShowForPlayer(playerid,LKW);
TextDrawSetSelectable(LKW,true);


and Y ? if i try blind, so than are my Textdraw looks so:
