Hey und zwar habe ich ein Fraktionsautohaus in mein Script eingefügt aber bekomme die ganze Zeit Errors ich hoffe ihr könnt mir helfen.
C:\Users\Kai\Desktop\GTA San Andreas Multiplayer Server 0.3.7\gamemodes\projekt.pwn(33355) : error 021: symbol already defined: "printf"
C:\Users\Kai\Desktop\GTA San Andreas Multiplayer Server 0.3.7\gamemodes\projekt.pwn(33356) : error 026: no matching "#if..."
C:\Users\Kai\Desktop\GTA San Andreas Multiplayer Server 0.3.7\gamemodes\projekt.pwn(33357) : error 010: invalid function or declaration
C:\Users\Kai\Desktop\GTA San Andreas Multiplayer Server 0.3.7\gamemodes\projekt.pwn(33358) : error 010: invalid function or declaration
C:\Users\Kai\Desktop\GTA San Andreas Multiplayer Server 0.3.7\gamemodes\projekt.pwn(33362) : error 021: symbol already defined: "format"
printf(" Staatsfraktionsautohaus am laden.");
LoadStateFactionCars();
//FactionCarsTimer = SetTimer("LockStateFactionCarDoors",1037,true);
#endif
SaveStateFactionCarsTimer = SetTimerEx("SaveStateFactionCars",((1000*60)*15),true,"d",false);
for(new fbl=0;fbl<sizeof(FactionStateBuylist);fbl++)
{
FactionStateBuylist[fbl][sfbCarid] = CreateVehicle(FactionStateBuylist[fbl][sfbVehid],FactionStateBuylist[fbl][sfbX],FactionStateBuylist[fbl][sfbY],FactionStateBuylist[fbl][sfbZ],FactionStateBuylist[fbl][sfbA],-1,-1,-255);
new fblText[128];
format(fblText,sizeof(fblText),"{FFFFFF}|- {FF8200}Staatsfraktionsautohaus{FFFFFF} -|\n{FF8200}Modell:{FFFFFF} %s\n{FF8200}Preis:{FFFFFF} $%i",fCarName[FactionStateBuylist[fbl][sfbVehid]-400],FactionStateBuylist[fbl][sfbPrice]);
FactionStateBuylist[fbl][sfbLabel] = Create3DTextLabel(fblText,0xFFFFFFFF,FactionStateBuylist[fbl][sfbX],FactionStateBuylist[fbl][sfbY],FactionStateBuylist[fbl][sfbZ],15.0,0,true);
Attach3DTextLabelToVehicle(FactionStateBuylist[fbl][sfbLabel],FactionStateBuylist[fbl][sfbCarid],0.0,0.0,0.75);
}
BuylistStateRespawner = SetTimer("RespawnStateFactionBuylist",(1000*60),true);
SetTimer("RespawnStateFactionBuylist",20000,false);
printf(" Staatsfraktionsautohaus geladen.");
printf("--------------------------------------\n");