01.01.2010, 19:58
You can store it in a variable:
new Vehicle[MAX_VEHICLES];
Vehicle[1] = addstaticvehicle(psalpdlaspldas); carid 1
Vehicle[2] = addstaticvehicle(psalpdlaspldas); carid 2
Vehicle[3] = addstaticvehicle(psalpdlaspldas); carid 3
Vehicle[4] = addstaticvehicle(psalpdlaspldas); carid 4
Vehicle[5] = addstaticvehicle(psalpdlaspldas); carid 5
new Vehicle[MAX_VEHICLES];
Vehicle[1] = addstaticvehicle(psalpdlaspldas); carid 1
Vehicle[2] = addstaticvehicle(psalpdlaspldas); carid 2
Vehicle[3] = addstaticvehicle(psalpdlaspldas); carid 3
Vehicle[4] = addstaticvehicle(psalpdlaspldas); carid 4
Vehicle[5] = addstaticvehicle(psalpdlaspldas); carid 5