SA-MP Forums Archive
[DUDA] - Textdraw Clickeables - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [DUDA] - Textdraw Clickeables (/showthread.php?tid=624593)



[DUDA] - Textdraw Clickeables - DannyUgalde - 19.12.2016

Hola
Bueno, lo que pasa es que quiero crear mis propios textdraw's clickeables, pero no sй cуmo.
їMe podrнas ayudar diciйndome cуmo realizarlo por favor?.
!GraciasЎ



Re: [DUDA] - Textdraw Clickeables - Swedky - 19.12.2016

Hola, mira yo lo hago asн:

PHP код:
CMD:tdtext(playeridparams[])
{
    new 
Float:fXFloat:fY;
    
sscanf(params"ff"fXfY);
    new const 
Text:td tu_td// Acб cбmbialo por tu TextDraw
    
TextDrawTextSize(tdfXfY);
    
TextDrawHideForPlayer(playeridtd);
    
TextDrawShowForPlayer(playeridtd);
    
printf("{%f, %f}"fXfY); // Guardamos el tamaсo
    
return 1;

https://sampwiki.blast.hk/wiki/TextDrawTextSize
https://sampwiki.blast.hk/wiki/TextDrawSetSelectable

Si usas Zamaroht's TDE, tienes que habilitar la opciуn para que el TD sea clickeable


Re: [DUDA] - Textdraw Clickeables - DannyUgalde - 19.12.2016

:/ Amigo no te entendн bien, me podrнas explicas mejor por favor te lo ruego.


Re: [DUDA] - Textdraw Clickeables - Eloy - 19.12.2016

checa la informaciуn sobre el callback OnPlayerClickTextDraw

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


Re: [DUDA] - Textdraw Clickeables - BrianFaria - 19.12.2016

Revisa el GM que libere, Ultra Latinos Freeroam, tiene textdraws clickeables, para que te des una idea.