08.03.2011, 19:50
Try this
Then this?
pawn Код:
public OnVehicleSpawn(vehicleid)
{
RemoveVehicleComponent(vehicleid, components[0]);
RemoveVehicleComponent(vehicleid, components[1]);
RemoveVehicleComponent(vehicleid, components[2]);
RemoveVehicleComponent(vehicleid, components[3]);
RemoveVehicleComponent(vehicleid, components[4]);
RemoveVehicleComponent(vehicleid, components[5]);
RemoveVehicleComponent(vehicleid, components[6]);
RemoveVehicleComponent(vehicleid, components[7]);
RemoveVehicleComponent(vehicleid, components[8]);
RemoveVehicleComponent(vehicleid, components[9]);
RemoveVehicleComponent(vehicleid, components[10]);
RemoveVehicleComponent(vehicleid, components[11]);
RemoveVehicleComponent(vehicleid, components[12]);
RemoveVehicleComponent(vehicleid, components[13]);
return 1;
}
pawn Код:
public OnVehicleSpawn(vehicleid)
{
AddVehicleComponent(vehicleid, components[0]);
AddVehicleComponent(vehicleid, components[1]);
AddVehicleComponent(vehicleid, components[2]);
AddVehicleComponent(vehicleid, components[3]);
AddVehicleComponent(vehicleid, components[4]);
AddVehicleComponent(vehicleid, components[5]);
AddVehicleComponent(vehicleid, components[6]);
AddVehicleComponent(vehicleid, components[7]);
AddVehicleComponent(vehicleid, components[8]);
AddVehicleComponent(vehicleid, components[9]);
AddVehicleComponent(vehicleid, components[10]);
AddVehicleComponent(vehicleid, components[11]);
AddVehicleComponent(vehicleid, components[12]);
AddVehicleComponent(vehicleid, components[13]);
return 1;
}