Their actions of indiscriminately shooting towards the hotel wouldn't have been possible if the armed men took the civilians inside as hostages, but instead, they actually did the opposite and allowed the civilians inside the building to themselves, which gave the others the opportunity to escape from the building through the underground parking lot.
Unfortunately, though the workers and most of the people staying at the hotel managed to escape, there's also a few people who got left behind, especially those at the upper floors as they were afraid to go down during the initial shootout, causing them to be trapped inside their own rooms.
The only good news for them is that the machine gun is not pointed at the building they're staying at, or its walls would have long been battered from the onslaught of its bullets..
Now, they can only pray to god about their survival and that the armed men would be quickly apprehended or killed.