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

Equation Quest


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
Blue Snake.
Member
Join Date: May 2011
Location: Romania
Old 04-15-2012 , 20:19   Equation Quest
Reply With Quote #1

Equation Quest
By Andrei

Description

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
  • terryoh (MesseD uP MinD) - The original idea
To do:
Any sugestions?
Attached Files
File Type: sma Get Plugin or Get Source (equation_quest.sma - 1131 views - 15.5 KB)

Last edited by Blue Snake.; 05-25-2012 at 15:23.
Blue Snake. is offline
 



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 10:07.


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