Alles anzeigenIch hab da ein Problem
Der Server schmiert hierbei ab
if(listitem == 0){if(GetVehicleParam(vehicleid,MOTOR) == VEHICLE_PARAMS_OFF){SetVehicleParam(vehicleid,MOTOR,VEHICLE_PARAMS_ON);}else{SetVehicleParam(vehicleid,MOTOR,VEHICLE_PARAMS_OFF);}}
if(listitem == 1){if(GetVehicleParam(vehicleid,LICHT) == VEHICLE_PARAMS_OFF){SetVehicleParam(vehicleid,LICHT,VEHICLE_PARAMS_ON);}else{SetVehicleParam(vehicleid,LICHT,VEHICLE_PARAMS_OFF);}}
if(listitem == 2){if(GetVehicleParam(vehicleid,KOFFERRAUM) == VEHICLE_PARAMS_OFF){SetVehicleParam(vehicleid,KOFFERRAUM,VEHICLE_PARAMS_ON);}else{SetVehicleParam(vehicleid,KOFFERRAUM,VEHICLE_PARAMS_OFF);}}
if(listitem == 3){if(GetVehicleParam(vehicleid,MOTORHAUBE) == VEHICLE_PARAMS_OFF){SetVehicleParam(vehicleid,MOTORHAUBE,VEHICLE_PARAMS_ON);}else{SetVehicleParam(vehicleid,MOTORHAUBE,VEHICLE_PARAMS_OFF);}}
if(listitem == 4){if(GetVehicleParam(vehicleid,TUREN) == VEHICLE_PARAMS_OFF){SetVehicleParam(vehicleid,TUREN,VEHICLE_PARAMS_ON);}else{SetVehicleParam(vehicleid,TUREN,VEHICLE_PARAMS_OFF);}}
//zuzüglich
Er schaltet ein mal umd dann zeigt er mir den Dialog, wie gewollt nochmal an.
aber dann schmiert der server ab
mfg