new Float:mx, Float:my, Float:mz, Float:nz, Float:dist; GetPlayerPos(playerid,mx,my,mz); MapAndreas_FindZ_For2DCoord(mx,my,nz); dist = VectorSize(0.0,0.0,mz-nz);