The custom random
#3

By adding a new variable maybe:
pawn Код:
new Old;
stock Randomize(integrer);
{
     new int = random(integrer);
     if(int == Old) return Randomize(integrer);
     Old = int;
     return int;
}
Then you can use Randomize(Any Integrer Here); in your script.
Reply


Messages In This Thread
The custom random - by ProjectMan - 14.08.2013, 10:22
Re: The custom random - by ProjectMan - 14.08.2013, 10:35
Re: The custom random - by Dragonsaurus - 14.08.2013, 10:37
Re: The custom random - by ProjectMan - 14.08.2013, 10:47
Re: The custom random - by Dragonsaurus - 14.08.2013, 10:54
Re: The custom random - by [XST]O_x - 14.08.2013, 10:57
Re: The custom random - by ProjectMan - 14.08.2013, 11:17
Re: The custom random - by ProjectMan - 14.08.2013, 11:45
Re: The custom random - by [XST]O_x - 14.08.2013, 11:57
Re: The custom random - by [XST]O_x - 14.08.2013, 12:15

Forum Jump:


Users browsing this thread: 1 Guest(s)