PDA

View Full Version : Textdraws


AlexeyTrekkkk
06/07/2014, 05:16 PM
Don't work click texdraws, don't know why.
new Text:Textdraw30;
DefCallBack::OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == Textdraw30)
{
Kick(playerid);
}
return true;
}
stock RegTD()
{
Textdraw30 = TextDrawCreate(177.666687, 177.955551, "e-mail");
TextDrawLetterSize(Textdraw30, 0.449999, 1.600000);
TextDrawAlignment(Textdraw30, 1);
TextDrawColor(Textdraw30, -1);
TextDrawSetShadow(Textdraw30, 0);
TextDrawSetOutline(Textdraw30, 1);
TextDrawBackgroundColor(Textdraw30, 51);
TextDrawFont(Textdraw30, 1);
TextDrawSetProportional(Textdraw30, 1);
TextDrawShowForPlayer(playerid, Textdraw30);
TextDrawSetSelectable(Textdraw30, 1);
SelectTextDraw(playerid, 0xA3B4C5FF);
return 1;
}
This is stock called if account is not found in DB.

AlexeyTrekkkk
07/07/2014, 11:40 AM
Who can help me? please.