GTA Közösség - A magyar GTA fórum

San Andreas Multiplayer (SA-MP) => SA-MP: Szerverfejlesztés => Segítségkérés => A témát indította: Dfoglalo - 2012. December 08. - 13:26:53

Cím: Pilóta munka hiba
Írta: Dfoglalo - 2012. December 08. - 13:26:53
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?