Szerző Téma: Pilóta munka hiba  (Megtekintve 419 alkalommal)

Nem elérhető Dfoglalo

  • 4069
  • Globális Moderátor
    • Profil megtekintése
Pilóta munka hiba
« Dátum: 2012. December 08. - 13:26:53 »
0 Show voters
Sziasztok!
Be szeretném rakni a pilóta munkát a GM-be, de van 1 error:
 
PPC_Trucking.pwn(1014) : error 040: duplicate \"case\" label (value 3)

 


// 1014. sor
case ClassPilot:
{
   Index = random(sizeof(ASpawnLocationsPilot));
   x = ASpawnLocationsPilot[index][spawnX]; // Get the X-position for the spawnlocation
   y = ASpawnLocationsPilot[index][spawnY]; // Get the Y-position for the spawnlocation
   z = ASpawnLocationsPilot[index][spawnZ]; // Get the Z-position for the spawnlocation
   Angle = ASpawnLocationsPilot[index][spawnAngle]; // Get the rotation-angle for the spawnlocation
   format(Msg, 128, \"{7318FF}%s{66FFAA} Pilótaként {7318FF}dolgozik.\", Name);
}

 
Megoldás?

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal