Quiz
12 Attachment(s)
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 :D 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 :D:D EDIT: Added timelimit TO-DO: * * * * Make rewards to other mods then cstrike Planned: * * * * 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 |
Re: Quiz
nice, Gj
|
Re: Quiz
Great idea sounds like a good one for fun servers especially
|
Re: Quiz
TO-DO:
* Write a Q/A file(DONE, thx Throstur :)) * Make it work for all mods(DONE) * Get more respond Planned: * Make it use HUD * Make some trigger, i.e /question |
Re: Quiz
I remember playing on a source server with this installed, its great fun, but there have to be MANY questions and answers, because the same questions sometimes came up over and over...
|
Re: Quiz
Definitely a good idea.
Q/A databaze, point system will make it even more interesting. |
Re: Quiz
Quote:
btw, i have to agree, i got the idea from that quiz plugin( think it's one of Mattie's plugins) OT, wasen't you banned? Quote:
i was thinking of throwing in a simple rank system, and some more support for Q/A storing( Maybe SQL ) also, i gonna upload a version that can run on ALL mods( but no rewards ) EDIT: ok, done |
Re: Quiz
EDIT: How do you delete posts? :roll:
|
Re: Quiz
Ok there are a couple things I found that were wrong here. Just so you can fix them here is what I found.
quiz_for_all.sma 1) If you were trying to get rid of cstrike module you still left the include. 2) You register the reward cvar and don't use it. quiz.sma 1) You aren't using the reward cvar correctly. The whole thing I don't understand why you have two plugins here when they are exactly the same except one gives reward and one doesn't. If it was done so it isn't only for counter-strike, then use the module filters and see if cstrike didn't load and if it didn't then just don't use cstrike functions. There are a few tuts on it including the one by BAIL when this functionality was first added to AMXX. It's a good idea and if the module filter is put in place I would feel better about approving this. |
Re: Quiz
Thanks for the thoughts, this has been fixed
|
All times are GMT -4. The time now is 03:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.