Posts: 1,506
Threads: 13
Joined: Jun 2015
Quote:
Originally Posted by GRiMMREAPER
TIL that passing the params (1, 1) to the function below returns weird (expected?) results!
pawn Код:
RandomInt(min, max) { new r = random(max - min) + min; return r; }
I then went on the SA:MP wiki and saw that was documented. I was excited for a minute.
|
Out of bounds integer value. random(0) would do the same.