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



Clickable model_preview? - Steezy_ - 03.08.2013

Hey guys, today i wanted to make a class selection for an attack defend mini game..
I've made a textdraw..
Код:
    red = TextDrawCreate(446.0, 210.0, "_");
	TextDrawFont(red, TEXT_DRAW_FONT_MODEL_PREVIEW);
	TextDrawUseBox(red, 0);
	TextDrawBoxColor(red, 0x000000FF);
	TextDrawTextSize(red, 100, 100);
	TextDrawSetPreviewModel(red, 88);
And wanted to know if it's possible to make it clickable..
If no, how did Mihawk made it on attack-defend v1.8.4 make it?
This gm..


Re: Clickable model_preview? - Facerafter - 03.08.2013

Why don't you use mSelection?


Re: Clickable model_preview? - Mauzen - 03.08.2013

You already posted a gamemode that uses it. Just look in there yourself to see how it works.


Re: Clickable model_preview? - Steezy_ - 03.08.2013

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
You already posted a gamemode that uses it. Just look in there yourself to see how it works.
Oh.. hmh, ye, sorry im just drunk