28.03.2014, 14:27
pawn Код:
randmoney = random(50000 - 1000) + 1000;
// randmoney is a variable. It can store a value.
//random is a function that generate a random number between 0 and it params, for example:
//random(1000) will return a number between 0 and 999.
//+ 1000 always will add 1000 to the random value;
//For example, random return 515. 515 + 1000 = 515, so randmoney = 515.