05.12.2014, 18:03
OnPlayerClickTextdraw() doesn't work.
When click on that textdraw, doesn't happen'. There isn't any problem with Close(playerid); stock, because I can't see message. Any solutions? + rep
All textdraw are setting selectable, on command them are having SelectTextDraw(playerid, 0xFFFFFFFF);, and I don't know where this can be.
pawn Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == Textdraw18)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "You closed!");
Close(playerid);
}
return 1;
}
All textdraw are setting selectable, on command them are having SelectTextDraw(playerid, 0xFFFFFFFF);, and I don't know where this can be.