Reaction Test tutorials
#5

Quote:
Originally Posted by YoussefHammad
Посмотреть сообщение
The only thing i know about creating a reaction test is having this array
Код:
new
        xCharacters[][] =
        {
            "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
                "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z",
            "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m",
                "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z",
            "0", "1", "2", "3", "4", "5", "6", "7", "8", "9"
        },
but the other things in the FS created by RyDer i cant understand, i kinda need someone to explain it to me so i can edit it. Here's the FS anyways and u can add me on skype so we can talk
http://pastebin.com/5f0pjpWB
The array stores the characters that can be part of the random word. This is what creates the word:
pawn Код:
Loop(x, xLength) format(xChars, sizeof(xChars), "%s%s", xChars, xCharacters[random(sizeof(xCharacters))][0]);
The loop statement is a definition of the for loop. In this case it loops through xLength times and adds random characters based on the characters in the array.
Reply


Messages In This Thread
Reaction Test tutorials - by YoussefHammad - 15.11.2015, 00:34
Re: Reaction Test tutorials - by Gammix - 15.11.2015, 02:38
Re: Reaction Test tutorials - by YoussefHammad - 15.11.2015, 02:42
Re: Reaction Test tutorials - by Gammix - 15.11.2015, 02:50
Re: Reaction Test tutorials - by Abagail - 15.11.2015, 02:51
Re: Reaction Test tutorials - by YoussefHammad - 15.11.2015, 02:59
Re: Reaction Test tutorials - by Kevln - 15.11.2015, 04:33
Re: Reaction Test tutorials - by YoussefHammad - 15.11.2015, 10:18
Re: Reaction Test tutorials - by Kevln - 15.11.2015, 16:54
Re: Reaction Test tutorials - by YoussefHammad - 15.11.2015, 17:08

Forum Jump:


Users browsing this thread: 1 Guest(s)