[FilterScript] Romel's Calculator [Simple and Easy!] - No more using calculator
#1

Romel's Calculator [Simple and Easy] - No more using calculator

built and script by Romel


I'm bored once again. I was planning to make a calculator for my server.
so i can use it to answer Math Quiz easily. So i made this calculator script.
It just took me 3 minutes to script it.
The calculator is pretty simple, can be use with /calculate with different types.

Type 1, Addition, Type 2, Subtraction, Type 3, Multiplication.

Have fun using this script.

How to use it?:

1.) Type /calculate (type) (num1) (num2), here is example (/calculate 1 5 2)
2.) After typing, wait for 2 seconds to get the answer
3.) Done, the answer is displayed for my example the answer is '7'

Easy isn't it?.

Commands:

/calculate

-----

/calculate - there is 3 parameters on it, one is type, two is num1, and three is num2.
type - the operation you will use available is Addition, Multiplication and Subtraction.
Num1 - this is the primary number will be going to use in the operation
Num2 - this is the secondary number will be going to use in the operation
Answer - this is the answer. Product/Sum/Difference.

Credits:

******
Zeex
Romel

Downloadlink:

Here is the following downloadlink:

rCalculator [Simple and Easy!] v1.0

Updates:

I'm current updating for v1.1 which will be more realistic which i'm going to use textdraw.
I'm going to try if i can add the type Division. That is if SA-MP supports on it.
Reply
#2

What happen if I typed /calculator 3 99 99? Jokes, nice filter-script.
Reply
#3

The answer will be 9801. anyway thanks.
Reply
#4

Useful XD i use it for Server with math quiz
Reply
#5

Seriously this is easy to script you have just to use this

pawn Code:
GlobalAns = GlobalVar1 + GlobalVar2; //GlobalAns define as the answer of GlobalVar1 and GlobalVar2 in Addition
GlobalAns = GlobalVar1 - GlobalVar2; //GlobalAns define as the answer of GlobalVar1 and GlobalVar2 in Subtraction
GlobalAns = GlobalVar1 * GlobalVar2; //GlobalAns define as the answer of GlobalVar1 and GlobalVar2 in Multiplication
anyway Thank you.
Reply
#6

Nice work,but I wont use it.
Reply
#7

Thank you
Reply
#8

Great job Romel
Reply
#9

Thank you.
Reply
#10

Good Job
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)