No robbery should end in a shootout. If you are able to rob a store you should enter , grab the cash and leave immidietly. After an amount of minutes passed an alarm should ring and cops alerted. Npcs could also be used to maybe give info of the suspects?