SetPlayerPos( random(maxx-minx)+minx, random(maxy-miny)+minz, z);
SetPlayerPos( random(maxx-minx)+minx, random(maxy-miny)+minz, // +miny here i think :) z);