Easiest way to add huge amount vehicle
#4

every heard of arrays and loop?
You don't have to create separate variable for each vehicle, you just have to create one array with enough space to hold all vehicle info.

While creating vehicle, load vehicle detail from db and store it in variable, you don't need to write code to store info for each vehicle separately you just have to write it once and in a loop.
Reply


Messages In This Thread
Easiest way to add huge amount vehicle - by princejeet1510 - 08.02.2017, 06:25
Re: Easiest way to add huge amount vehicle - by X337 - 08.02.2017, 06:30
Re: Easiest way to add huge amount vehicle - by princejeet1510 - 08.02.2017, 06:38
Re: Easiest way to add huge amount vehicle - by BroZeus - 08.02.2017, 08:24
Re: Easiest way to add huge amount vehicle - by princejeet1510 - 08.02.2017, 08:37
Re: Easiest way to add huge amount vehicle - by princejeet1510 - 08.02.2017, 14:09
Re: Easiest way to add huge amount vehicle - by ranme15 - 08.02.2017, 14:38

Forum Jump:


Users browsing this thread: 1 Guest(s)