SA-MP Forums Archive
Buttons - 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: Buttons (/showthread.php?tid=374890)



Buttons - CrazyChoco - 04.09.2012

Well Hello!

I'm making this help topic, because of i want to make a GUI button or what ever it's called. But you know like a textdraw at: right, top. and if he clicks on it he will get full health.

Lemme explain how, First he do
/button - i needed it in dcmd :P
then when he has typed that, the gui button or a click able textdraw, will show up and if he clicks that he will get 100% health
and when he does the cmd again it will be disabled agian.
but the problem is that i dunno how to make it. Any help`?


Re: Buttons - CrazyChoco - 04.09.2012

Anyone?


Re: Buttons - CrazyChoco - 04.09.2012

Is it even possible may i ask?


Re: Buttons - TaLhA XIV - 04.09.2012

7:00 clock-1st post,second on 7:27,third on 8:23,wowowowow wait man.You can't bump your topics before 24 hours.


Re: Buttons - CrazyChoco - 04.09.2012

24 hours, 1 hours, looololl :P i know :3


Re: Buttons - Yiin - 04.09.2012

https://sampwiki.blast.hk/wiki/TextDrawCreate
https://sampwiki.blast.hk/wiki/TextDrawSetSelectable
https://sampwiki.blast.hk/wiki/TextDrawShowForPlayer
https://sampwiki.blast.hk/wiki/SelectTextDraw
https://sampwiki.blast.hk/wiki/CancelSelectTextDraw
https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw

wiki is your best helper my friend..


Re: Buttons - CrazyChoco - 04.09.2012

wooow ty, finally something to read