SA-MP Forums Archive
How would i do this.... (its a pic) - 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: How would i do this.... (its a pic) (/showthread.php?tid=452316)



How would i do this.... (its a pic) - Mitchy - 20.07.2013



How would i go about doing that?... (click image for bettersize)


Re: How would i do this.... (its a pic) - gtakillerIV - 20.07.2013

Use Textdraws.


Re: How would i do this.... (its a pic) - Mitchy - 20.07.2013

Yeah, though how do i script it when the player clicks on the correct one it will move onto the next set of questions?


Re: How would i do this.... (its a pic) - Alternative112 - 21.07.2013

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

Make sure you give those text draws you create an ID stored in a global variable, and then in that event, check if the ID of the text draw he clicked is the correct answer and do your business from there. If this is for a quiz before a player can play your server, you should use OnPlayerClickPlayerTextDraw because creating normal text draws will make them show for all players.