Random
#1

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
Reply
#2

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

I dont understand that whole function
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)