AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   [CS1.6|CZ] Number Quiz v1.2 (https://forums.alliedmods.net/showthread.php?t=240603)

connoisseur 05-18-2014 13:49

[CS1.6|CZ] Number Quiz v1.2
 
1 Attachment(s)
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 

http://i.imgur.com/aLFOQy1.png?1

Version Log:
Spoiler

GuskiS 05-18-2014 18:00

Re: [CS1.6|CZ] Number Quiz v1.0
 
There is already math genius plugin.

connoisseur 05-19-2014 02:33

Re: [CS1.6|CZ] Number Quiz v1.0
 
Quote:

Originally Posted by GuskiS (Post 2139655)
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

hornet 05-19-2014 02:48

Re: [CS1.6|CZ] Number Quiz v1.0
 
Quote:

Originally Posted by connoisseur (Post 2139763)
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 ;)

connoisseur 05-19-2014 03:03

Re: [CS1.6|CZ] Number Quiz v1.0
 
Quote:

Originally Posted by hornet (Post 2139770)
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.

Fuck For Fun 05-20-2014 13:22

Re: [CS1.6|CZ] Number Quiz v1.1
 
Thank, Any Image?

connoisseur 05-21-2014 03:54

Re: [CS1.6|CZ] Number Quiz v1.1
 
Quote:

Originally Posted by Fuck For Fun (Post 2140373)
Thank, Any Image?

Added.

connoisseur 11-09-2014 01:19

Re: [CS1.6|CZ] Number Quiz v1.2
 
Updated to v1.2
------------------
Added different reward types.

Fuck For Fun 11-09-2014 03:59

Re: [CS1.6|CZ] Number Quiz v1.2
 
If you have already built quiz game
You would vote system
1: math
2: .....
3: .....
reward $

But anyway thanks :)

connoisseur 11-09-2014 08:42

Re: [CS1.6|CZ] Number Quiz v1.2
 
Quote:

Originally Posted by Fuck For Fun (Post 2221994)
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


All times are GMT -4. The time now is 04:46.

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