Skip to content

Releases: Open-GTO/foreach

foreach v2.2.6

25 Apr 13:56
2ee5013
Compare
Choose a tag to compare
  • Fixed compatibility with open.mp (#21)

Thanks to @NexiusTailer

foreach v2.2.5

14 Nov 08:57
45579b7
Compare
Choose a tag to compare
  • Fixed compatibility with open.mp (#18)

Thanks to @21thyear

foreach v2.2.4

13 Jul 08:31
ba10083
Compare
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
Compare
Choose a tag to compare
  • Fix Vehicle iterator for CreateVehicle with 537 and 538 models (trains)

foreach v2.2.2

29 Oct 21:49
Compare
Choose a tag to compare
  • Declare Iter_gPlayerVehicleId only if FOREACH_I_PlayerInVehicle is enabled

foreach v2.2.1

28 Oct 14:42
Compare
Choose a tag to compare
  • Fix FOREACH_I_PlayerInVehicle iterator cleanup after disconnecting.

foreach v2.2.0

28 Oct 08:23
Compare
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
Compare
Choose a tag to compare
  • Fix const-correctness issues

foreach v2.1.0

17 Aug 21:36
Compare
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);

foreach v2.0.1

20 May 14:03
Compare
Choose a tag to compare
  • Fix compilation errors with some settings
  • Clear player stream iterators upon disconnect.
  • Add sampctl stuff.