Raised This Month: $12 Target: $400
 3% 

[CS1.6|CZ] Number Quiz v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
connoisseur
Senior Member
Join Date: Jan 2012
Old 05-18-2014 , 13:49   [CS1.6|CZ] Number Quiz v1.2
Reply With Quote #1

Number Quiz


Description:
This plugin will generate a number quiz in the chat at each round start.
The first alive player to answer the quiz will receive a reward.

Available reward types:
1. HP reward ( default = 20HP )
2. HP + Armor reward ( default = 10HP + 50 Armor)
3. Godmode ( default = 15 seconds )
4. Superspeed ( default = 10 seconds )

cvars:
  • quiz_type ( default = 1 ) Sets the type of quiz
    -> 0 = No quiz
    -> 1 = Two number addtion/subtraction
    -> 2 = Three number addition/subtraction
    -> 3 = Two number multiplication/division
    -> 4 = Three number multiplication/division + addition/subtraction
  • quiz_random ( default = 0 ) If set to 1 and if quiz_type is not 0, it will put random types of quizzes irrespective of the quiz_type value
  • quiz_hp ( default = 20 ) Sets the amount of hp reward
  • quiz_armor (default = 50 ) Sets the amount of armor reward
  • quiz_godmode_time ( default = 15 ) Sets the time in seconds for which Godmode will be active
  • quiz_superspeed_time ( default = 10 ) Sets the time in seconds for which Superspeed will be active
  • quiz_random_reward ( default = 0 ) If set to 1, the winner will receive a random reward

Defines:
PHP Code:
//Tag displayed in front of the chat messages
#define TAG "[Number Quiz]"

//For testing purpose, uncomment this to show the answer in the chat.
//#define DEBUG 


Version Log:
Spoiler
Attached Files
File Type: sma Get Plugin or Get Source (number_quiz.sma - 1411 views - 9.8 KB)

Last edited by connoisseur; 11-09-2014 at 01:13.
connoisseur is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 05-18-2014 , 18:00   Re: [CS1.6|CZ] Number Quiz v1.0
Reply With Quote #2

There is already math genius plugin.
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is offline
connoisseur
Senior Member
Join Date: Jan 2012
Old 05-19-2014 , 02:33   Re: [CS1.6|CZ] Number Quiz v1.0
Reply With Quote #3

Quote:
Originally Posted by GuskiS View Post
There is already math genius plugin.
Oops. I searched using many keywords before, but didn't find it.
Mods can close this.

EDIT:
Not redundant anymore.
Updated to v1.1

Last edited by connoisseur; 05-19-2014 at 06:48.
connoisseur is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 05-19-2014 , 02:48   Re: [CS1.6|CZ] Number Quiz v1.0
Reply With Quote #4

Quote:
Originally Posted by connoisseur View Post
Oops. I searched using many keywords before, but didn't find it.
Mods can close this.
The plugin referred to is about 8 years old and can most definitely be improved. Don't be so quick to give up ;)
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
connoisseur
Senior Member
Join Date: Jan 2012
Old 05-19-2014 , 03:03   Re: [CS1.6|CZ] Number Quiz v1.0
Reply With Quote #5

Quote:
Originally Posted by hornet View Post
The plugin referred to is about 8 years old and can most definitely be improved. Don't be so quick to give up ;)
Thanks for supporting. Will improve and update soon.

EDIT:
Updated to v1.1
Description in the main post.

Last edited by connoisseur; 05-19-2014 at 06:45.
connoisseur is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 05-20-2014 , 13:22   Re: [CS1.6|CZ] Number Quiz v1.1
Reply With Quote #6

Thank, Any Image?
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
connoisseur
Senior Member
Join Date: Jan 2012
Old 05-21-2014 , 03:54   Re: [CS1.6|CZ] Number Quiz v1.1
Reply With Quote #7

Quote:
Originally Posted by Fuck For Fun View Post
Thank, Any Image?
Added.
__________________
connoisseur is offline
connoisseur
Senior Member
Join Date: Jan 2012
Old 11-09-2014 , 01:19   Re: [CS1.6|CZ] Number Quiz v1.2
Reply With Quote #8

Updated to v1.2
------------------
Added different reward types.
__________________
connoisseur is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 11-09-2014 , 03:59   Re: [CS1.6|CZ] Number Quiz v1.2
Reply With Quote #9

If you have already built quiz game
You would vote system
1: math
2: .....
3: .....
reward $

But anyway thanks
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
connoisseur
Senior Member
Join Date: Jan 2012
Old 11-09-2014 , 08:42   Re: [CS1.6|CZ] Number Quiz v1.2
Reply With Quote #10

Quote:
Originally Posted by Fuck For Fun View Post
If you have already built quiz game
You would vote system
1: math
2: .....
3: .....
reward $

But anyway thanks
I'm sorry I did not understand that.
Maybe this would help you: Google translator
__________________
connoisseur is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode