This plugin will generate 2 random numbers and a type of equation (+ - * /). The first to answer correctly will receive points.
Client Commands
Enable/disable the chat messages from the plugin /eq
Show your current points /eqpoints Show your current position /eqrank Show top10 /eqtop
Cvars
The amount of time (in seconds) given to answer each equation eq_time_answer <default: 30>
The amount of time (in seconds) between two equations if nobody has answered correctly. eq_nobody_answer<default: 60>
The amount of time (in seconds) between two equations if there was a correct answer. eq_correct_answer<default: 90>
Does the user get any bonus if he answer correctly? (0=nothing, 1=money, 2=health) eq_bonus<default: 0>
The limit of hp that a user can have if he answer correctly and eq_bonus is set for health eq_hp_limit<default: 100>
ChangeLog
1.00 - Initial release
1.01 - Added /eq command - enable/disable the chat messages from the plugin 1.02 - Save type changed to fvault 1.03 - Added eq_bonus for money and health 1.04 - Added /eqpoints command - Show current points. 1.05 - Added /eqrank and /eqtop - Tops and rankings 1.06 - Added integer division | fixed a top bug
Credits
nucLeaR - Helped me with the translation, with testing, gave suggestions and helped improving the code