Blockland Forums > Modification Help
survivalRP - holywtf bump! and maybe finishing up some loose ends??
<< < (278/347) > >>
ZSNO:
Hmm I know the function Im using works, its just it doesnt want to accept a variable as an argument.
Edit: Nvm I got it, the argument had to be between 0.0 and 1.0.
I will now be sending out the new map to the beta server hosters.
Oasis:

--- Quote from: ZSNO on August 03, 2009, 04:17:52 PM ---Hmm I know the function Im using works, its just it doesnt want to accept a variable as an argument.
Edit: Nvm I got it, the argument had to be between 0.0 and 1.0.
I will now be sending out the new map to the beta server hosters.

--- End quote ---

You would be willing to give that script to me? Would ya?
Kalphiter:

--- Quote from: Azimuth on August 03, 2009, 04:12:48 PM ---I thought getRandom() returns whole numbers.  And that you need actual arguments for it to work.  Moar like getRandom(0,100);

--- End quote ---
Doesn't matter

Either way works, and is correct.

I originally learned it in Java a year ago:
int n = (int)(10.0 * Math.random());
AGlass0fMilk:
That's what I though Kalphiter. I was going to say, but I didn't.
LegoEggo:
How are resources coming?
Navigation
Message Index
Next page
Previous page

Go to full version