06.03.2015, 14:47
No it isn't. You use sizeof, which will simply return the size of the array (10). As a result you will you get a random value between 0 and 9 for the variable wp instead of an actual random value from the array.
pawn Код:
new wp = warray[random(sizeof(warray))];