Detaljan opis problema:Ubacim brzinomjer i pokaze mi negdje 15 errora error 017: undefined symbol "i" i ja fino definujem new i; na vrhu moda
i ono opet
Dio skripte:
Quote
errori
public OnGameModeExit()
{
foreach(Player, i)
{
KillTimer(freeze);
KillTimer(utovar);
KillTimer(KapijeTimer);
KillTimer(bankaupdate);
SavePlayer(i);
}
for(new b = 0; b < sizeof(FirmaInfo); b++) { SacuvajFirmu(b); }
for(new k = 0; k < sizeof(KucaInfo); k++) { SacuvajKucu(k); }
for(new s = 0; s < sizeof(StanInfo); s++) { SacuvajStan(s); }
for(new vi = 0; vi < sizeof(VikendiceInfo); vi++) { SacuvajVikendicu(vi); }
for(new ba = 0; ba < sizeof(AtmInfo); ba++) { SacuvajATM(ba); }
for(new i; i < MAX_AUTA; i++) { DestroyVehicle(VoziloInfo); }
for(new i; i < MAX_MOTORA; i++) { DestroyVehicle(MotorInfo); }
for(new i; i < MAX_BICIKALA; i++) { DestroyVehicle(BiciklaInfo); }
for(new i; i < MAX_AVIONA; i++) { DestroyVehicle(AvionInfo); }
for(new i; i < MAX_PLOVILA; i++) { DestroyVehicle(PlovilaInfo); }
KillTimer(wlprovera); KillTimer(odbrojavanje); KillTimer(paypoeni); KillTimer(tgorivo);
TextDrawDestroy(Intro); TextDrawDestroy(Intro); TextDrawDestroy(Intro);
TextDrawDestroy(Intro); TextDrawDestroy(Intro); TextDrawDestroy(Intro);
TextDrawDestroy(Intro); TextDrawDestroy(Intro); TextDrawDestroy(Intro);
TextDrawDestroy(Intro); TextDrawDestroy(Intro); TextDrawDestroy(TutorialSledi);
TextDrawDestroy(TutorialSledi); TextDrawDestroy(TutorialSledi); TextDrawDestroy(TutorialSledi);
TextDrawDestroy(TutorialSledi); TextDrawDestroy(TutorialSledi); TextDrawDestroy(TutorialSledi);
TextDrawDestroy(TDO); TextDrawDestroy(TDO); TextDrawDestroy(TDO);
TextDrawDestroy(TDO); TextDrawDestroy(TDO); TextDrawDestroy(TDO);
TextDrawDestroy(TDO); KillTimer(proveravrata); KillTimer(spremikorisnike);
TextDrawDestroy(SPORUKE); TextDrawDestroy(SPORUKE); TextDrawDestroy(SPORUKE);
TextDrawDestroy(SPORUKE); KillTimer(sporuke); KillTimer(sprovera);
TextDrawDestroy(Text:brz0);
TextDrawDestroy(Text:brz1);
TextDrawDestroy(Text:brz2);
TextDrawDestroy(Text:brz3);
TextDrawDestroy(Text:brz4);
TextDrawDestroy(Text:brz5);
TextDrawDestroy(Text:brz6);
TextDrawDestroy(Text:brz7);
TextDrawDestroy(Text:brz9);
}
public OnGameModeExit()
{
foreach(Player, i)
{
KillTimer(freeze);
KillTimer(utovar);
KillTimer(KapijeTimer);
KillTimer(bankaupdate);
SavePlayer(i);
}
for(new b = 0; b < sizeof(FirmaInfo); b++) { SacuvajFirmu(b); }
for(new k = 0; k < sizeof(KucaInfo); k++) { SacuvajKucu(k); }
for(new s = 0; s < sizeof(StanInfo); s++) { SacuvajStan(s); }
for(new vi = 0; vi < sizeof(VikendiceInfo); vi++) { SacuvajVikendicu(vi); }
for(new ba = 0; ba < sizeof(AtmInfo); ba++) { SacuvajATM(ba); }
for(new i; i < MAX_AUTA; i++) { DestroyVehicle(VoziloInfo); }
for(new i; i < MAX_MOTORA; i++) { DestroyVehicle(MotorInfo); }
for(new i; i < MAX_BICIKALA; i++) { DestroyVehicle(BiciklaInfo); }
for(new i; i < MAX_AVIONA; i++) { DestroyVehicle(AvionInfo); }
for(new i; i < MAX_PLOVILA; i++) { DestroyVehicle(PlovilaInfo); }
KillTimer(wlprovera); KillTimer(odbrojavanje); KillTimer(paypoeni); KillTimer(tgorivo);
TextDrawDestroy(Intro); TextDrawDestroy(Intro); TextDrawDestroy(Intro);
TextDrawDestroy(Intro); TextDrawDestroy(Intro); TextDrawDestroy(Intro);
TextDrawDestroy(Intro); TextDrawDestroy(Intro); TextDrawDestroy(Intro);
TextDrawDestroy(Intro); TextDrawDestroy(Intro); TextDrawDestroy(TutorialSledi);
TextDrawDestroy(TutorialSledi); TextDrawDestroy(TutorialSledi); TextDrawDestroy(TutorialSledi);
TextDrawDestroy(TutorialSledi); TextDrawDestroy(TutorialSledi); TextDrawDestroy(TutorialSledi);
TextDrawDestroy(TDO); TextDrawDestroy(TDO); TextDrawDestroy(TDO);
TextDrawDestroy(TDO); TextDrawDestroy(TDO); TextDrawDestroy(TDO);
TextDrawDestroy(TDO); KillTimer(proveravrata); KillTimer(spremikorisnike);
TextDrawDestroy(SPORUKE); TextDrawDestroy(SPORUKE); TextDrawDestroy(SPORUKE);
TextDrawDestroy(SPORUKE); KillTimer(sporuke); KillTimer(sprovera);
TextDrawDestroy(Text:brz0);
TextDrawDestroy(Text:brz1);
TextDrawDestroy(Text:brz2);
TextDrawDestroy(Text:brz3);
TextDrawDestroy(Text:brz4);
TextDrawDestroy(Text:brz5);
TextDrawDestroy(Text:brz6);
TextDrawDestroy(Text:brz7);
TextDrawDestroy(Text:brz9);
}
Quote
na vrhu moda
new i;
new i;
Neke slike/video za lakse dobivanje pomoci(neobavezno): http://i.imgur.com/v8Hsbbt.png
