minran & maxran - 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: minran & maxran (
/showthread.php?tid=258211)
minran & maxran -
Skylar Paul - 29.05.2011
I can't seem to find them, the search function on this board blows. Can anyone help me find it?
Re: minran & maxran -
xir - 29.05.2011
This one?
https://sampwiki.blast.hk/wiki/Useful_Functions#minrand
Re: minran & maxran -
Skylar Paul - 29.05.2011
Quote:
Originally Posted by xir
|
Yes, but I need the stock for it.
Re: minran & maxran -
xir - 29.05.2011
You could have downloaded the inc and then see it
pawn Код:
stock minrand(min, max) //By Alex "******" Cole
{
return random(max-min)+min;
}
Re: minran & maxran -
Skylar Paul - 29.05.2011
Quote:
Originally Posted by xir
You could have downloaded the inc and then see it
pawn Код:
stock minrand(min, max) //By Alex "******" Cole { return random(max-min)+min; }
|
What inc? I never did get how to use that wiki page.
Re: minran & maxran -
xir - 29.05.2011
Right under the contest there is the link
Anyway, here, direct link
http://www.mediafire.com/?b74ixr65o4ff32a