Reaction Tests - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Reaction Tests (
/showthread.php?tid=272582)
Reaction Tests -
Luis- - 29.07.2011
Hello all, I would like to know how I can make a reaction test for my server, I have looked at Zhero's but it looks a little complicated for me so I was wondering if someone could help me.
I would like something like this:
First one to type 'rTfSggr43F' will get a score of 15 and $15000. but the reaction would be random.
~ Luis.
Re: Reaction Tests -
Famalamalam - 29.07.2011
I'm assuming you would need an array of letters and an array of numbers and then just choose randomly from them? Have a look about, there are a few reaction test scripts, Zh3r0's is quite advanced.
Ryder created a good one:
http://forum.sa-mp.com/showthread.ph...=reaction+test
Re: Reaction Tests -
Calgon - 29.07.2011
Generate a random string, based on a charset array. You can do this by creating a timer to execute the function to generate the string and to store it in memory until someone gets it. An example of this could be
this.