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: