15.09.2016, 07:47
Quote:
By default array with values is not cleared after restarting.
I have tried to fix that problem and little bit optimize foreach also i have added Vehicle and Actor iterators from latest y_iterator. You can check my version here: https://github.com/Open-GTO/foreach Changes: - Removed support NPC scripts. - Removed FOREACH_NO_BOTS option. - Actor and Vehicle iterators. - Optimized ALS hooking process (without CallLocalFunction). |
About the Vehicle iterator: it is for local vehicles, each script has each own vehicles not global (from all scripts).
If you could add both options would be nice.