Textdraws. - 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: Textdraws. (
/showthread.php?tid=549249)
Textdraws. -
HY - 05.12.2014
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.
Re: Textdraws. -
Vince - 05.12.2014
Check that TextDrawTextSize is used and that its values aren't zero or negative.