Last Update: 11-04-07(DD/MM/YYYY)
Are you bored when your dead?
Do you want something to pass the time whit?
Then you should use The Quiz Plugin
Unzip the quiz_file.rar in the amxmodx folder. The Questions/Answers is like:
QUESTION>"What is 1 + 1?" ANSWER>"2"
"Who is gaben" "gaben"
"what does cs stand for" "Conter-Strike"
The plugin then takes a random Q/A
to answer, simply say the plain answer in-game
CVARS
-------
quiz_enabled(Def: 1) - 0: Disabled - 1: Enabled
quiz_usemode(Def: 0) - 0: Only dead can see the question and answer - 1: Only alive can see the question and answer - 2: Both dead and alive can see the question and answer
quiz_reward(Def: 2000) - (cs only!) How much you get when answering right
quiz_timelimit(Def: 120) - 0: disabled - > 0: time before selecting a new question(note that it's in seconds!)
quiz_min_display(Def: 20) - Minimum time to display the current question
quiz_max_display(Def: 50) - Maximum time to display the current question
quiz_display_mode(Def: 0) - 0: Display everything in chat, 1: Display everything in HUD, 2: Display everything in chat and HUD
say /question - Shows the current question.
Hope you like it, and plz report all bugs, and Suggestions/Requests are always welcome
Now you can use the plugin in all mods( auto-switches if you dont have cstrike
)
Many thanks to Throstur for the Q/A file
EDIT: Added timelimit
TO-DO:
*
Write a Q/A file
*
Make it work for all mods
*
Get more respond
* Make rewards to other mods then cstrike
Planned:
*
Make it use HUD Done
*
Make some trigger, i.e /question Done
*
Add point-system Canceled
*
Add rank-sys Canceled
Thanks to:
.:{EK}:. SQUALL for PMing me so i could fix the plugin
Throstur for the main quiz file
bmann_420 that helped me find a bug in one of the functions