Einzelnen Beitrag anzeigen

Blackeagle

Registriert seit: 24. Okt 2004
12 Beiträge
 
#6

Re: Cs Skriptpack by Blacky

  Alt 24. Okt 2004, 23:29
Code:
  try
    if (Checkbox2.checked = true) and (Label16.Caption +'\autoexec.cfg')=0 then begin
      sl.LoadFromFile(Label16.Caption +'\autoexec.cfg');
      if pos('exec Binds.cfg', sl.Text)=0 then begin
      sl.Add('exec Binds.cfg');
     end;
    else if (Checkbox2.checked = true) and (Label16.Caption +'\autoexec.cfg')=1 then begin
    sl.Add('exec Binds.cfg');
     end;
    end;
   end;
     sl.SaveToFile(Label16.Caption + '\autoexec.cfg');
  finally
     sl.free;
  end;
So würde ich denken, dass es richtig ist, jedoch nimmt er min. das
Zitat:
(Label16.Caption +'\autoexec.cfg')=0
nicht an. Jemand einen Plan wie es anstatt =0 richtig heisst ?
Wenn es so überhaupt richtig ist..
  Mit Zitat antworten Zitat