SA-MP Forums Archive
Game text roullete - 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: Game text roullete (/showthread.php?tid=92445)



Game text roullete - coole210 - 20.08.2009

How do i make a command like /roll [number] [number2]

number = first value, number 2 = last value

It randomizes the numbers in between the two values in a red text draw, then stops with a green text draw. Its for events like, first person to say green value gets 100k and second one gets jailed for the green value, i just need the randomizer command, the jailing etc i can make on my own


Re: Game text roullete - coole210 - 28.08.2009

way over 9 hours, i can bump AGAIN !


Re: Game text roullete - MenaceX^ - 28.08.2009

The rules say 12 hours and not 9..


Re: Game text roullete - coole210 - 28.08.2009

wtvr it was over 12 hours anywayz


Re: Game text roullete - Yuryfury - 28.08.2009

there are a few scripts like this, I suggest you check them out.


Re: Game text roullete - coole210 - 28.08.2009

Link 2 1 plz? I have no idea what to search for


Re: Game text roullete - Yuryfury - 28.08.2009

well use the random(); function to get a random number

and this might help you get some ideas http://forum.sa-mp.com/index.php?topic=102867.0


Re: Game text roullete - coole210 - 28.08.2009

....


Re: Game text roullete - Donny_k - 28.08.2009

pawn Код:
minrand(min, max) //by ******
{
    return random(max - min) + min;
}



Re: Game text roullete - coole210 - 29.08.2009

....