Releases: Open-GTO/foreach
Releases · Open-GTO/foreach
foreach v2.2.7
- Add omp tags for OnPlayerStateChange callback (
PLAYER_STATE:tag for newstate and oldstate) (#22) - Some minor syntax corrections to be in line with general project style (#22)
Thanks to @NexiusTailer
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_gPlayerVehicleIdonly ifFOREACH_I_PlayerInVehicleis enabled
foreach v2.2.1
- Fix
FOREACH_I_PlayerInVehicleiterator cleanup after disconnecting.
foreach v2.2.0
- Fix script initialization
- Add
PlayerInVehicleiterator 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);