It doesn’t matter where you are from. Montenegrin law does not prohibit foreign nationals from buying real estate. You will need a passport of yours. Accompanied by an interpreter, you sign a contract with a passport at the notary.
When planning the purchase, take into account additional costs: translation services, notary fees, registration in the cadastral register (if necessary).