Vehicle passenger iterator
#1

Hey

Is it a good idea to save the passengers to an iterator for faster loop through passengers or finding the vehicle driver? I'll have about 1700 vehicles.

Code:
static Iterator:VehiclePassengers[MAX_VEHICLES]<MAX_PLAYERS>;
and under OnPlayerStateChange add-remove them.

What is your advice?
Reply


Messages In This Thread
Vehicle passenger iterator - by m4karow - 30.03.2019, 22:47
Re: Vehicle passenger iterator - by Crayder - 31.03.2019, 04:34
Re: Vehicle passenger iterator - by m4karow - 31.03.2019, 11:17
Re: Vehicle passenger iterator - by m4karow - 31.03.2019, 11:20
Re: Vehicle passenger iterator - by raydx - 31.03.2019, 11:22
Re: Vehicle passenger iterator - by m4karow - 31.03.2019, 11:39
Re: Vehicle passenger iterator - by m4karow - 31.03.2019, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)