Random Question and Answers on connect? - 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: Random Question and Answers on connect? (
/showthread.php?tid=393107)
Random Question and Answers on connect? -
CrystalFire - 17.11.2012
Hello,
I am making a server and i wanted to know how can i do it like when a player connects first time, after registering he is randomly asked 5 questions which can be stored in variables or whatever with 3 options of each answers in a list dialog?
He needs to have 4/5 marks atleast to continue or he will be kicked.
Please help me on how to do this.
thanks
Re: Random Question and Answers on connect? -
[HK]Ryder[AN] - 17.11.2012
Create variables and then show a dialog.
if the quesiton is asked set variable to one. make sure that question isnt asked twice and show another dialog
Re: Random Question and Answers on connect? -
CrystalFire - 17.11.2012
Can you please gimme code?i am a newb..i really want to know..please