Hallo,
Ich wollte meinen Script von nem Uralten Streamer auf den neusten umstellen, jedoch kommen folgende errors, vllt kann irgendjemand mir ja weiterhelfen
C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(4198) : error 017: undefined symbol "b_PlayerDisconnect"
C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(4408) : error 017: undefined symbol "b_PlayerDisconnect"
C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 017: undefined symbol "Objekte"
C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : warning 215: expression has no effect
C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 001: expected token: ";", but found "]"
C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : error 029: invalid expression, assumed zero
C:\Users\Max\Desktop\Serverg\gamemodes\gm.pwn(13357) : fatal error 107: too many error messages on one line
die Zeilen 4198, und 4408 kann man ja entfernen, wenn das nichts ausmacht, jetzt zu den Zeilen 13357 die Zeile 13357 ist
if(Objekte[o][exist] == 1)
public OnGameModeExit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
OnPlayerCarUpdate(i);
OnPlayerUpdate(i);
gPlayerLogged[i] = 0;
}
}
for(new i = 0; i < AUTOHAUSER; i++)
{
DestroyPickup(Dtc_Info[i]);
}
// DestroyPickup(Motorcross);
DestroyPickup(Motorcrossexit);
// DestroyPickup(Derby);
DestroyPickup(Derbyexit);
// DestroyPickup(DerbyBesucher);
// DestroyPickup(DerbyBesucherexit);
DestroyPickup(Stadion);
DestroyPickup(Rundenrennenexit);
// DestroyPickup(Kickstart);
DestroyPickup(Kickstartexit);
DestroyVehicle(race1[1]);
DestroyVehicle(race1[2]);
DestroyVehicle(race1[3]);
DestroyVehicle(race1[4]);
DestroyVehicle(race1[5]);
DestroyVehicle(race1[6]);
DestroyVehicle(race1[7]);
DestroyVehicle(race1[8]);
DestroyVehicle(race1[9]);
DestroyVehicle(race1[10]);
DestroyVehicle(race2[1]);
DestroyVehicle(race2[2]);
DestroyVehicle(race2[3]);
DestroyVehicle(race2[4]);
DestroyVehicle(race2[5]);
DestroyVehicle(race2[6]);
DestroyVehicle(race2[7]);
DestroyVehicle(race2[8]);
DestroyVehicle(race2[9]);
DestroyVehicle(race2[10]);
DestroyVehicle(race2[11]);
DestroyVehicle(race2[12]);
DestroyVehicle(race2[13]);
DestroyVehicle(race2[14]);
DestroyVehicle(race2[15]);
DestroyVehicle(race2[16]);
DestroyVehicle(race2[17]);
DestroyVehicle(race2[18]);
DestroyVehicle(race2[19]);
DestroyVehicle(race2[20]);
DestroyVehicle(race4[1]);
DestroyVehicle(race4[2]);
DestroyVehicle(race4[3]);
DestroyVehicle(race4[4]);
DestroyVehicle(race4[5]);
DestroyVehicle(race4[6]);
DestroyVehicle(race4[7]);
DestroyVehicle(race4[8]);
DestroyVehicle(race4[9]);
DestroyVehicle(race4[10]);
DestroyVehicle(race3[1]);
DestroyVehicle(race3[2]);
DestroyVehicle(race3[3]);
DestroyVehicle(race3[4]);
DestroyVehicle(race3[5]);
DestroyVehicle(race3[6]);
DestroyVehicle(race3[7]);
DestroyVehicle(race3[8]);
DestroyVehicle(race3[9]);
DestroyVehicle(race3[10]);
for(new o=0; o<700; o++)
{
if(Objekte[o][exist] == 1)
{
b_DestroyObject(0);
}
}
//b_GameModeExit();
return 1;
}
MfG. Cody09[/i][/i]