Smoking is only permitted in designated areas outside the terminals.
There are no smoking facilities inside the terminal.
For connecting flights you must enter Serbia and smoke outside terminal then go through Security again for your flight.
Official Website