stock Float:GetPlayerDistanceToPoint(playerid, Float:x, Float:y, Float:z){ new Float:pX, Float:pY, Float:pZ; GetPlayerPos(playerid, pX, pY, pZ); pX -= x, pY -= y, pZ -= z; return floatsqroot( (pX * pX) + (pY * pY) + (pZ * pZ) );}