07-24-2010, 06:49 PM
Nice, but the only bad thing is, it use pretty much RAM memory.
If I calculated that correct than use that 2 500 000 bytes RAM, and that's almost 2.5MB
I'd write all the strings in a file, and than I'd make variables for only 1 question, because you can only ask 1 question at the time and when the question change than you can read the next question.
Ohh... And why do you need to make a string of 32chars when you only need to save 1 letter?
But the rest of the script is good. =)
I also wanted to make once a quiz script, but due lack of time I never start to make it.
Good look with your scripts.
~ Guillaume
Code:
#
new D_question[MAX_QUES][MAX_QUES];
#
new D_option1[MAX_QUES][MAX_QUES];
#
new D_option2[MAX_QUES][MAX_QUES];
#
new D_option3[MAX_QUES][MAX_QUES];
#
new D_answ[MAX_QUES][MAX_QUES];]#
enum D_questquiz
#
{
#
D_qquest[256],
#
D_opt1[256],
#
D_opt2[256],
#
D_opt3[256],
#
D_ans[256]
#
};
#
#
new D_quiz[MAX_QUES][D_questquiz];I'd write all the strings in a file, and than I'd make variables for only 1 question, because you can only ask 1 question at the time and when the question change than you can read the next question.
Ohh... And why do you need to make a string of 32chars when you only need to save 1 letter?

But the rest of the script is good. =)
I also wanted to make once a quiz script, but due lack of time I never start to make it.
Good look with your scripts.

~ Guillaume
![[Image: GuillaumeBanner3copy.png]](http://i302.photobucket.com/albums/nn104/guisteffens/GuillaumeBanner3copy.png)