How can i generate a random number betwen x and y ?
PS: how can i generate the same as integer?
PS: how can i generate the same as integer?
Sorry for bad English -> *GERMAN*
random function ?!? - SOLVED
|
How can i generate a random number betwen x and y ?
PS: how can i generate the same as integer?
Sorry for bad English -> *GERMAN*
11-03-2011, 16:35
11-03-2011, 16:41
number = randomIntRange( min, max );
(08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu
11-03-2011, 17:56
(11-03-2011, 16:35)jariz Wrote: So much noobs..... How shoud i know this I didnt have found something, about making random funktion in gsc...
Sorry for bad English -> *GERMAN*
11-04-2011, 10:44
LOL, 2 users answered your post and you're still asking the same thing?
11-04-2011, 12:53
Code: returnRandom( arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10 ) use this: random = returnRandom( "bla", "blabla", "blablabla", "hoi", "boe", "lala", "noob" ); or do you want this: Code: randomfunction() (08-10-2011, 12:58)Pozzuh Wrote:Se7en Wrote:Stealed, from cod4 mod ...look who's talking [Release] Old School Mod v2.2 [Release] Scroll menu
11-04-2011, 14:22
randomFloat(x, y)
it will generate random number between x and y
11-04-2011, 14:45
|
Users browsing this thread: |
1 Guest(s) |