Quote:
Originally Posted by Abagail
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.
|
can you add me on skype ? i wanna learn how to make my own and how to actually get the loop to pick random characters , btw the length is not constant i'll try to make it from 1 to 10 for example. you can add me (itz_rbj)