Textdraws.
#1

OnPlayerClickTextdraw() doesn't work.

pawn Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
    if(clickedid == Textdraw18)
    {
         SendClientMessage(playerid, COLOR_LIGHTBLUE, "You closed!");
         Close(playerid);
    }
    return 1;
}
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.
Reply
#2

Check that TextDrawTextSize is used and that its values aren't zero or negative.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)