SA-MP Forums Archive
[FilterScript] Shockey's Math System | by Shockey - 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] Shockey's Math System | by Shockey (/showthread.php?tid=176472)



Shockey's Math System | by Shockey - Shockey - 13.09.2010

Another easy and simple fs by me!!
I got this idea from here :
http://forum.sa-mp.com/showthread.ph...ighlight=Maths
and I made my own
when the maths question comes just simply do
/answer [ANSWER]
if you get it correct you get + $1000 and 5 score if you get it wrong you loos - 5 score
link
http://pastebin.com/DMh0VJEU


Re: Shockey's Math System | by Shockey - Dime - 13.09.2010

wtf why you post same script few times -.-


Re: Shockey's Math System | by Shockey - Shockey - 13.09.2010

huh WTF .... What


Re: Shockey's Math System | by Shockey - wups - 13.09.2010

Hey, are u saying, that u have to answer the question in 0,1sec( which is 100msec)?
pawn Код:
SetTimer("endmath",100,1);
If you want to set it to 100 seconds, write 100*1000. That will be easy 4 u to understand.

Also, why do you check every 100 msec, if the maths is started? You could do:
http://pastebin.com/YyecutPn
This is fully fixed script. Didn't test it though.


Re: Shockey's Math System | by Shockey - Shockey - 13.09.2010

sry I forgot timers are in millaseconds Ty for the update


Re: Shockey's Math System | by Shockey - wups - 13.09.2010

Please don't leave it like that. Learn from mistakes, ask if something is unknown for you.


Re: Shockey's Math System | by Shockey - Shockey - 13.09.2010

I said I'm sry I thought on samp wiki it said in seconds


Re: Shockey's Math System | by Shockey - RyDeR` - 13.09.2010

Quote:
Originally Posted by Shockey
Посмотреть сообщение
I said I'm sry I thought on samp wiki it said in seconds
Are you sure?

https://sampwiki.blast.hk/wiki/SetTimer

Quote:

interval Interval in milliseconds.




Re: Shockey's Math System | by Shockey - DevoLpeR - 19.02.2011

Код:
: error 029: invalid expression, assumed zero
? How to fix ?


Re: Shockey's Math System | by Shockey - [XTC]Sharky - 27.02.2011

post the piece of code which gives the error (and please let us know which line is the error'd line)