SA-MP Forums Archive
Clickable TextDraw problem - 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: Clickable TextDraw problem (/showthread.php?tid=584936)



Clickable TextDraw problem - GGRPSkripter - 09.08.2015

I have problem with clickable textdraws. So i've made set of textdraws (boxes, text and stuff). And it has 3 clickable. All 3 works perfect and they are well coded. The problem is when i add them all in same time, even if i click on first or second it will do what third textdraw is. This is a screenshot of all 3 textdraws.

If i click on "x" or "nazad" it will do what "podigni" is coded for. Any help?


Re: Clickable TextDraw problem - valych - 09.08.2015

Give us your code with TextDrawTextSize lines of textdraws and public OnPlayerClickTextDraw (or OnPlayerClickPlayerTextDraw if they are player textdraws) with your textdraws ID processing.


Re: Clickable TextDraw problem - GGRPSkripter - 09.08.2015

This is code for OnPlayerClickTextDraw and this is letter size:
TextDrawLetterSize(BankomatTD[20], 0.400000, 1.600000); // "PODIGNI"
TextDrawLetterSize(BankomatTD[11], 0.400000, 1.600000); // "NAZAD"


Re: Clickable TextDraw problem - GGRPSkripter - 09.08.2015

Bump.