Logrй darme cuenta al reparar ese error por primera vez, pero ahora me sigue saliendo y los case no estбn repetidos, йsta es mi callback:
public OnPlayerSpawn(playerid){
switch(GetPlayerTeam(playerid)){
case 0:{ //equipo 1
switch(Ciudades[playerid]){
case LOS_SANTOS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case SAN_FIERRO:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case LAS_VENTURAS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
}
}
case 1:{ //equipo 2
switch(Ciudades[playerid]){
case LOS_SANTOS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case SAN_FIERRO:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case LAS_VENTURAS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
}
}
case 2:{ //equipo 3
switch(Ciudades[playerid]){
case LOS_SANTOS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case SAN_FIERRO:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case LAS_VENTURAS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case 3:{ //equipo 2
switch(Ciudades[playerid]){
case LOS_SANTOS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case SAN_FIERRO:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case LAS_VENTURAS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
}
}
case 4:{ //equipo 2
switch(Ciudades[playerid]){
case LOS_SANTOS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case SAN_FIERRO:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case LAS_VENTURAS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
}
}
case 5:{ //equipo 2
switch(Ciudades[playerid]){
case LOS_SANTOS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case SAN_FIERRO:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
case LAS_VENTURAS:{ SetPlayerPos(playerid, 0, 0, 0); SetPlayerFacingAngle(playerid, 0); }
}
}
}
}
//ETC..
}
return true;
}