Author Topic: Need help scripting.  (Read 6304 times)

Hey If you guys know how to make a car mod for blockland please help me here.

How do you get a random number?
Like in visual basic you would do this.
Code: [Select]
number = Rnd() * 10And then the variable number would equal a random number between 1 and 10.

How do you get a random number?
Like in visual basic you would do this.
Code: [Select]
number = Rnd() * 10And then the variable number would equal a random number between 1 and 10.

getRandom(1,10);

getRandom(1,10);
%number = getRandom(1, 10);

because technically he asked how to define the variable number randomly

but yeah i think everyone in this thread is smart enough to figure that one out

%number = getRandom(1, 10);

because technically he asked how to define the variable number randomly

but yeah i think everyone in this thread is smart enough to figure that one out

i thought i was the official nitpicker