23.03.2014, 02:07
@MP2, thanks, but how would I get the vehicleid for Iter_Add/Remove in AddStaticVehicle, AddStaticVehicleEx and CreateVehicle?
Also, if the number is already in the iter, Vehicle, then Iter_Add will do nothing, and if the number isn't in the iter, then Iter_Remove will do nothing:
Edit: Changed the function to use Iter_Count()
Also, if the number is already in the iter, Vehicle, then Iter_Add will do nothing, and if the number isn't in the iter, then Iter_Remove will do nothing:
Quote:
Iter_Add(name, value) Adds a value to the named iterator. If the value is invalid or already present it is simply ignored. Iter_Remove(name, value) Removes a value from the named iterator. If the value is invalid or not present it is simply ignored. |