SA-MP Forums Archive
Random - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Random (/showthread.php?tid=92157)



Random - [MM]Murphy - 18.08.2009

Hey Guys,

I want to create a nice FS for a server.

Thing is, with this one i'm trying to get into PAWN a bit more, so, as you may know, I am kinda new to pawn.


My Question is:

The FS I want to create is a kind of "Math Questioning System" (153+7І, type /answer <answer> to answer!)

Just with normal questions from random stuff.

I already read this: https://sampwiki.blast.hk/wiki/Random but because I'm new I dont understand that, could someone explain it to me? :/

Would be really appreciated :P

Regards


Re: Random - dice7 - 18.08.2009

Quote:
Originally Posted by wiki
new iRandomNumber = random(25); // Generates a number between 0 and 24
What's not to understand :S


Re: Random - [MM]Murphy - 18.08.2009

I dont understand that whole function