SA-MP Forums Archive
Clickable box? - 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 box? (/showthread.php?tid=552214)



Clickable box? - zaibaslr2 - 23.12.2014

Hello SA:MP people, I want to ask if it's possible to make one box selectable? The textdraw is just basic box without any text. Is it possible to make the single box clickable?
Thanks


Re: Clickable box? - Luicy. - 23.12.2014

Yes. https://sampwiki.blast.hk/wiki/How_to_Create_a_Dialog


Re: Clickable box? - zaibaslr2 - 23.12.2014

Quote:
Originally Posted by Meller
Посмотреть сообщение
Amm why are u showing how to create a dialog? Dialogs are different from textdraws.


Re: Clickable box? - Ryz - 23.12.2014

Haven't tryed but seems possible. you must make textbox selectable and test?


Re: Clickable box? - zaibaslr2 - 23.12.2014

Quote:
Originally Posted by Ryz
Посмотреть сообщение
Haven't tryed but seems possible. you must make textbox selectable and test?
Thanks for answer.
I tried that but I click on it and it seems it's not working.


Re: Clickable box? - Kyance - 23.12.2014

Quote:
Originally Posted by zaibaslr2
Посмотреть сообщение
Thanks for answer.
I tried that but I click on it and it seems it's not working.
Are you using these?

https://sampwiki.blast.hk/wiki/TextDrawSetSelectable
https://sampwiki.blast.hk/wiki/SelectTextDraw
https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw


Re: Clickable box? - zaibaslr2 - 23.12.2014

Quote:
Originally Posted by Kyance
Посмотреть сообщение
Yes I'm using these. I'm actually not new to textdraws.