Hello There, Guest! Login or Register


Deather's Quiz Master
#1
----  |)€Ω†{−}€R™ 's ----
---- QUIZ MASTER FILTERSCRIPT  ----


    There are many Reaction-tests for mathematical/type speed(don't know what word to use lol). But I couldn't find one quiz filterscript. So I thought.. Why don't I make one?  Here it is...


---- SCREENSHOTS ----
[Image: sa-mp-002.png]

[Image: sa-mp-003-1.png]

[Image: sa-mp-004.png]

[Image: sa-mp-005-1.png]


---- DOWNLOADS ----
Quiz Master (SolidFiles)
Quiz Master (MediaFire)
Quiz Master (Pastebin - FS Only)


---- CODE FUNTIONS ----
To add a question, use:
Code:
CreateQuizItem("question", "option1", "option2", "option3", "answer");


---- SCRIPTED BY ----
|)€Ω†{−}€R - Dare to Die


---- CREDITS ----
1. ZeeX - zcmd
2. Y_Less - sscanf


---- IMPORTANT ----

You can edit this to your satisfaction and use it in your server.
But you are not allowed to re-release it as your script anywhere.
Donot remove the credits.


Found any bugs? Post them.
Reply
#2
Nice, but the only bad thing is, it use pretty much RAM memory.
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];
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. :P
~ Guillaume
Reply
#3
Nice :P
Reply