30.06.2014, 14:38
oh thatt for that do like this
pawn Код:
new rand = random(sizeof(g_Fishes));
new var = g_Fishes[rand][2]-g_Fishes[rand][1];
new randweight = random(var) + var;
//now use randweight as random weight it will be between minimum and maximum always :D