Hi
Was ist daran falsch?
public TuningGeben(vid)
{
new Tuningid[14];
new Slot[26][26];
split(CarInfo[vid][Tuning], Slot, '|');
Tuningid[ 0] = strval(Slot[ 0]); AddVehicleComponent(vid, Tuningid[ 0]);
Tuningid[ 1] = strval(Slot[ 1]); AddVehicleComponent(vid, Tuningid[ 1]);
Tuningid[ 2] = strval(Slot[ 2]); AddVehicleComponent(vid, Tuningid[ 2]);
Tuningid[ 3] = strval(Slot[ 3]); AddVehicleComponent(vid, Tuningid[ 3]);
Tuningid[ 4] = strval(Slot[ 4]); AddVehicleComponent(vid, Tuningid[ 4]);
Tuningid[ 5] = strval(Slot[ 5]); AddVehicleComponent(vid, Tuningid[ 5]);
Tuningid[ 6] = strval(Slot[ 6]); AddVehicleComponent(vid, Tuningid[ 6]);
Tuningid[ 7] = strval(Slot[ 7]); AddVehicleComponent(vid, Tuningid[ 7]);
Tuningid[ 8] = strval(Slot[ 8]); AddVehicleComponent(vid, Tuningid[ 8]);
Tuningid[ 9] = strval(Slot[ 9]); AddVehicleComponent(vid, Tuningid[ 9]);
Tuningid[10] = strval(Slot[10]); AddVehicleComponent(vid, Tuningid[10]);
Tuningid[11] = strval(Slot[11]); AddVehicleComponent(vid, Tuningid[11]);
Tuningid[12] = strval(Slot[12]); AddVehicleComponent(vid, Tuningid[12]);
Tuningid[13] = strval(Slot[13]); AddVehicleComponent(vid, Tuningid[13]);
return 1;
}
MFG, Robdeflop®