06.12.2011, 18:56
Is there anything i need to know when loading vehicle tuning from mysql?
Tuning loads fine, but players near the tuned vehicles gets warnings and after a while crashes too!
pawn Код:
ChangeVehiclePaintjob(vCarID, mod[14]); // changes the paintjob of the player's current vehicle
AddVehicleComponent(vCarID, mod[0]);
AddVehicleComponent(vCarID, mod[1]);
AddVehicleComponent(vCarID, mod[2]);
AddVehicleComponent(vCarID, mod[3]);
AddVehicleComponent(vCarID, mod[4]);
AddVehicleComponent(vCarID, mod[5]);
AddVehicleComponent(vCarID, mod[6]);
AddVehicleComponent(vCarID, mod[7]);
AddVehicleComponent(vCarID, mod[8]);
AddVehicleComponent(vCarID, mod[9]);
AddVehicleComponent(vCarID, mod[10]);
AddVehicleComponent(vCarID, mod[11]);
AddVehicleComponent(vCarID, mod[12]);
AddVehicleComponent(vCarID, mod[13]);