Skip to content

Releases: Open-GTO/foreach

foreach v2.2.7

31 Mar 14:07
1db1389

Choose a tag to compare

  • 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

25 Apr 13:56
2ee5013

Choose a tag to compare

  • Fixed compatibility with open.mp (#21)

Thanks to @NexiusTailer

foreach v2.2.5

14 Nov 08:57
45579b7

Choose a tag to compare

  • Fixed compatibility with open.mp (#18)

Thanks to @21thyear

foreach v2.2.4

13 Jul 08:31
ba10083

Choose a tag to compare

  • Added compatibility with open.mp (#16)
  • Added compatibility with fixes.inc (#16)

Thanks to @punkochel

foreach v2.2.3

17 Oct 04:06

Choose a tag to compare

  • Fix Vehicle iterator for CreateVehicle with 537 and 538 models (trains)

foreach v2.2.2

29 Oct 21:49

Choose a tag to compare

  • Declare Iter_gPlayerVehicleId only if FOREACH_I_PlayerInVehicle is enabled

foreach v2.2.1

28 Oct 14:42

Choose a tag to compare

  • Fix FOREACH_I_PlayerInVehicle iterator cleanup after disconnecting.

foreach v2.2.0

28 Oct 08:23

Choose a tag to compare

  • 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

01 Oct 11:00

Choose a tag to compare

  • Fix const-correctness issues

foreach v2.1.0

17 Aug 21:36

Choose a tag to compare

  • Backported Iter_Index function from y_iterate (returns the Nth value in the iterator).
native Iter_Index(IteratorArray:Name[]<>, index);