13.11.2010, 06:10
I'm trying to use randomEx to get a number between two floats(X and Y coordinates). These floats are stored in a huge array.
Ex.
X = randomEx(SAZones[rand][1], SAZones[rand][4]);
Y = randomEx(SAZones[rand][2], SAZones[rand][5]);
I'm getting a tag mismatch error and I know that the floats have to be integers because randomEx only accepts integers. Does anyone know how to do this?
Ex.
X = randomEx(SAZones[rand][1], SAZones[rand][4]);
Y = randomEx(SAZones[rand][2], SAZones[rand][5]);
I'm getting a tag mismatch error and I know that the floats have to be integers because randomEx only accepts integers. Does anyone know how to do this?