vielleicht der punkt hinter dem semikolon?
format(pfad,sizeof(pfad),"/Firmen/Firma%d.txt",i);.
GODLIKE!
Jetz noch das hier:
C:\Users\Zinne\Desktop\samp03e_svr_R2_win32\gamemodes\TruckingS.pwn(2151) : error 017: undefined symbol "x"
C:\Users\Zinne\Desktop\samp03e_svr_R2_win32\gamemodes\TruckingS.pwn(2151) : warning 213: tag mismatch
C:\Users\Zinne\Desktop\samp03e_svr_R2_win32\gamemodes\TruckingS.pwn(2152) : error 017: undefined symbol "y"
C:\Users\Zinne\Desktop\samp03e_svr_R2_win32\gamemodes\TruckingS.pwn(2152) : warning 213: tag mismatch
C:\Users\Zinne\Desktop\samp03e_svr_R2_win32\gamemodes\TruckingS.pwn(2153) : error 017: undefined symbol "z"
C:\Users\Zinne\Desktop\samp03e_svr_R2_win32\gamemodes\TruckingS.pwn(2153) : warning 213: tag mismatch
C:\Users\Zinne\Desktop\samp03e_svr_R2_win32\gamemodes\TruckingS.pwn(2154) : error 017: undefined symbol "preis"
C:\Users\Zinne\Desktop\samp03e_svr_R2_win32\gamemodes\TruckingS.pwn(2155) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
stock LoadFirma(Firma)
{
new pfad[50];
format(pfad,50,"/Firmen/Firma%d.txt",Firma);
if(!fexist(pfad))return 0;
FirmInfo[Firma][fX] = dini_Float(pfad,x);//2151
FirmInfo[Firma][fY] = dini_Float(pfad,y);
FirmInfo[Firma][fZ] = dini_Float(pfad,z);
FirmInfo[Firma][fPrice] = dini_Int(pfad,preis);
format(FirmInfo[Firma][fBesitzer],32,"%s",dini_Get(pfad,fBesitzer));
FirmInfo[Firma][fPickup] = CreatePickup(1273,0,FirmInfo[Firma][fX],FirmInfo[Firma][fY],FirmInfo[Firma][fZ],0);
return 1;
}