Thread: [Release] Math Credits
View Single Post
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen.
Old 06-22-2015 , 12:42   Re: Math Credits
Reply With Quote #5

Quote:
Originally Posted by Arrow768 View Post
Maybe make it configurable via (dummy)-items in the webpanel.
Like, how ? Question aren't things you can buy, can you ?
Quote:
Originally Posted by Arrow768 View Post
So there is a item for each question.
The Question and the Results are defined via the json attrs.
I do not understand that. Something like that ? (I know it's not formatted like json should be)
PHP Code:
//
//NBR1 - Get a random number between CVAR_MAX and CVAR_MIN
//NBR2 - Get a random number between CVAR_MAX and CVAR_MIN
//
"1"
{
      
"Question"     "How much does NBR1 + NBR2 ?"
      "Answer"       "NBR1 + NBR2"
      "Reward"       "10"
      "Time"           "3"
}
"2"
{
      
"Question"     "How is the server callled ?"
      "Answer"       "Test server #1"
      "Reward"       "20"
      "Time"           "20"

Quote:
Originally Posted by Arrow768 View Post
Not sure if you can implement it this way, but I think it would be useful to do it that way.
understandable.

Quote:
Originally Posted by Arrow768 View Post
About the Math Module:
I think it might be useful if you add the option to only ask questions if a certain number of players are dead.
I will add that.

Quote:
Originally Posted by Arrow768 View Post
Btw. I added the module to the overview
What does that mean ?

PS:
By the way, you have done a pretty nice job with the webpanel !
__________________
Want to check my plugins ?

Last edited by Arkarr; 06-22-2015 at 12:45.
Arkarr is offline