[FilterScript] [FS] Maths system v2
#1

Maths system, basically it calls out an equation, and you answer it to gain score.
Every time there's a -, the score is bumped +10, every time there's a +, the score gets bumped +5.
[0]With v2, you can choose how often it shouts out a new equation.

If no one answers the question, the score gets added to the score value of the next question, and so on.

=> /Answer [answer] to answer the questions.
v2:
=> /Startmaths [timer (seconds)] to start the math questions.
=> /Stopmaths to stop the maths.

Pic:


Download:
v2:
.amx + .pwn via Zezombia
.amx + .pwn via UploadFFS
.pwn via Pastebin

v1:
.amx + .pwn via UploadFFS
.pwn via Pastebin
Reply
#2

Hehehehehe, Very very very very nice! :P

Thanks =D
Reply
#3

Lol, I like!



Maybe make a script for school purposes with loads of different types of questiosn from different subjects..
Reply
#4

Nice work! You can now play and learn at the same time
Reply
#5

Too late
Reply
#6

oh it's good ... but u know what's the bad thing ? why u didn't make a command sound like : /startmaths ... and to start the "event"
Reply
#7

Quote:
Originally Posted by Danut
oh it's good ... but u know what's the bad thing ? why u didn't make a command sound like : /startmaths ... and to start the "event"
Hard isn't it?
pawn Code:
if (strcmp("/maths", cmd, true) == 0)
{
  Maths();
  return 1;
}
Reply
#8

Nice..!!
Reply
#9

Nice one Zez.
Reply
#10

Quote:
Originally Posted by Rks_
Quote:
Originally Posted by Danut
oh it's good ... but u know what's the bad thing ? why u didn't make a command sound like : /startmaths ... and to start the "event"
Hard isn't it?
pawn Code:
if (strcmp("/maths", cmd, true) == 0)
{
  Maths();
  return 1;
}
lol xD
Reply
#11

Heh, Love it gona test in a min
Reply
#12

Nice but.. i hate school xD
Reply
#13

me too
Reply
#14

Quote:
Originally Posted by Rks_
Quote:
Originally Posted by Danut
oh it's good ... but u know what's the bad thing ? why u didn't make a command sound like : /startmaths ... and to start the "event"
Hard isn't it?
pawn Код:
if (strcmp("/maths", cmd, true) == 0)
{
  Maths();
  return 1;
}
and another command like /stopmaths ?
Reply
#15

Oh noes, math isn't really my favourite.
Reply
#16

Quote:
Originally Posted by Danut
Quote:
Originally Posted by Rks_
Quote:
Originally Posted by Danut
oh it's good ... but u know what's the bad thing ? why u didn't make a command sound like : /startmaths ... and to start the "event"
Hard isn't it?
pawn Код:
if (strcmp("/maths", cmd, true) == 0)
{
  Maths();
  return 1;
}
and another command like /stopmaths ?
pawn Код:
new timer;

timer = SetTimer(......

if (strcmp("/stopmaths", cmd, true) == 0)
{
  KillTimer(timer);
  return 1;
}
Something like this?
Reply
#17

pawn Код:
new timer;
    timer = SetTimer(1000000,1);

    if (strcmp("/stopmaths", cmd, true) == 0)
    {
    KillTimer(timer);
    return 1;
    }
don't works : maths.pwn(7 : error 035: argument type mismatch (argument 1)

line 78 : timer = SetTimer(1000000,1);
Reply
#18

Quote:
Originally Posted by Danut
pawn Код:
new timer;
    timer = SetTimer(1000000,1);

    if (strcmp("/stopmaths", cmd, true) == 0)
    {
    KillTimer(timer);
    return 1;
    }
don't works : maths.pwn(7 : error 035: argument type mismatch (argument 1)

line 78 : timer = SetTimer(1000000,1);
pawn Код:
timer = SetTimer("Maths",100000000,1);
Reply
#19

Very nice system but i have one question
How can i put this when someone wins to give cash no score?

Thanks
Reply
#20

don't works nathing happend
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)