Releases: Open-GTO/foreach
Releases · Open-GTO/foreach
foreach v2.2.6
- Fixed compatibility with open.mp (#21)
Thanks to @NexiusTailer
foreach v2.2.5
foreach v2.2.4
Thanks to @punkochel
foreach v2.2.3
- Fix Vehicle iterator for CreateVehicle with 537 and 538 models (trains)
foreach v2.2.2
- Declare
Iter_gPlayerVehicleId
only ifFOREACH_I_PlayerInVehicle
is enabled
foreach v2.2.1
- Fix
FOREACH_I_PlayerInVehicle
iterator cleanup after disconnecting.
foreach v2.2.0
- Fix script initialization
- Add
PlayerInVehicle
iterator which goes through all player in specific vehicle (thanks to @ur-Krass).
foreach (new playerid : PlayerInVehicle[vehicleid]) {
}
foreach v2.1.1
- Fix const-correctness issues
foreach v2.1.0
- Backported Iter_Index function from y_iterate (returns the Nth value in the iterator).
native Iter_Index(IteratorArray:Name[]<>, index);
foreach v2.0.1
- Fix compilation errors with some settings
- Clear player stream iterators upon disconnect.
- Add sampctl stuff.