Protesters considering causing violence were warned not to "f**k around" by authorities as the country had their say on the next president.