[FilterScript] Calculator System [+ - / *] Awesome FS
#5

Quote:
Originally Posted by Abagail
Посмотреть сообщение
That isn't really complex, it's just a matter of combining things.

Example:

pawn Код:
if(sscanf(params, "dsdSDSDSD", numb1, op1, numb2, op2, numb3, op3, numb4, op4))
{
    // Code
}
Assuming that you will have to repeat that over and over regarding to the amount of operations the player inputs, it's just inefficient. And that people don't usually input spaces between arithmetic operators. Ex: 2+5/2*5^8.

This is possible though, you just have to use the other side of your brain, it's already clear to me. I was just saying that it would be nice if he actually made it support more operations.

I will post some screenshots of it when it's finished.
Reply


Messages In This Thread
Calculator System [+ - / *] Awesome FS - by TheSnaKe - 25.02.2015, 23:48
Re: Calculator System [+ - / *] Awesome FS - by Dry - 25.02.2015, 23:50
Re: Calculator System [+ - / *] Awesome FS - by SickAttack - 26.02.2015, 00:19
Re: Calculator System [+ - / *] Awesome FS - by Abagail - 26.02.2015, 00:27
Re: Calculator System [+ - / *] Awesome FS - by SickAttack - 26.02.2015, 00:30
Re: Calculator System [+ - / *] Awesome FS - by TheSnaKe - 26.02.2015, 00:46
Re: Calculator System [+ - / *] Awesome FS - by Toolkit - 26.02.2015, 01:00
Re: Calculator System [+ - / *] Awesome FS - by SickAttack - 26.02.2015, 02:18
Re: Calculator System [+ - / *] Awesome FS - by TheSnaKe - 26.02.2015, 13:27
AW: Calculator System [+ - / *] Awesome FS - by Flori - 26.02.2015, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)