25.11.2011, 19:45
Like this?
And of course I suggest making a glob. variable MyVehicles(or something) just to be able to destroy the vehicles, if statements, etc
Код:
//new MyVehicles[31]; // Optional but suggested // code new pCount; // After getting pCount for (new i=0; i<pCount;i++) { CreateVehicle(...); }