Enum loads things twice?
#1

-- DELETED --
Reply
#2

Well DUH, you are loading everything twice, once into a dummy array while not actually loading it to a dummy array, you directly use the main array.

Solution?


create a local array for example:
PHP код:
for(...)
new 
LocalLoader[vData];
... 
now change all those vehicleVariables[i] to LocalLoader

or just load whatever is needed to create the vehicle in the line below, then load directly into your main array.
PHP код:
            new CreateVehicle(vehicleVariables[i][vehicleModel], vehicleVariables[i][vehiclePos][0], vehicleVariables[i][vehiclePos][1], vehicleVariables[i][vehiclePos][2], vehicleVariables[i][vehiclePos][3], vehicleVariables[i][vehicleColour][0], vehicleVariables[i][vehicleColour][1], -1); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)