SA-MP Forums Archive
[FilterScript] Basic TextDraw Calculator. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Basic TextDraw Calculator. (/showthread.php?tid=391540)



Basic TextDraw Calculator. - adri1 - 10.11.2012

Video:
[ame="http://www.youtube.com/watch?v=A08KA1XL03I"]http://www.youtube.com/watch?v=A08KA1XL03I[/ame]

Features: Basic calculation ( +, - , / , *) in TextDraw.
1 PlayerTextDraw

Download: http://pastebin.com/amVJzrkV

Credits: adri1


Re: Basic TextDraw Calculator. - KingHual - 10.11.2012

Try dividing by zero, not sure but will most probably crash?


Respuesta: Re: Basic TextDraw Calculator. - adri1 - 10.11.2012

Quote:
Originally Posted by king_hual
View Post
Try dividing by zero, not sure but will most probably crash?
No crash that. Tested!


Re : Re: Basic TextDraw Calculator. - Vukilore - 10.11.2012

Quote:
Originally Posted by king_hual
View Post
Try dividing by zero, not sure but will most probably crash?
I think he thoughs about it


Re: Basic TextDraw Calculator. - ReneG - 10.11.2012

^^ dividing by zero prints
Code:
Run time error 11: "Divide by zero"
It doesn't crash the server, but the scripter should still check if the input was 0.


Respuesta: Re: Basic TextDraw Calculator. - adri1 - 10.11.2012

Quote:
Originally Posted by VincentDunn
View Post
^^ dividing by zero prints
Code:
Run time error 11: "Divide by zero"
It doesn't crash the server, but the scripter should still check if the input was 0.
Ok. Iґm repair this now....

EDIT: Fixed


Re: Basic TextDraw Calculator. - [KHK]Khalid - 10.11.2012

Hope you will create a scientific one someday lol.

Good job there.


Re: Basic TextDraw Calculator. - NoahF - 10.11.2012

It's simple haha, haven't seen many calculators on the SA-MP Forums so nice work.


Re: Basic TextDraw Calculator. - Team_PRO - 10.11.2012

its Simple Dude By The Way This Is Nice


Re: Basic TextDraw Calculator. - Lordzy - 11.11.2012

Just what I thought to make, good work.