Originally Posted by Motokosworld
The problem is, it work 1 time if i open the bank and then again if i open the bank again. SO i think the loop do not work, but why?
|
That's what you are doing with your code. You react to EVENT_OPEN_BANK which is fired once when the bank opens, so it only runs one time when you open the bank and again when you open the bank another time.
If you want it to run again while you are still at the bank you need to provide a different way to trigger the function.