26.06.2016, 21:45
Do not initialize the array because if the rows do not match will give the error and to avoid it, you'd have to make them empty which looks awful.
pawn Код:
new ScaleFishStats[4][][SFScale] =
{
{
{"Acciuga", 13, 20, 1},
{"Sparaglione", 13, 24, 1},
{"Sardina", 20, 27, 1},
{"Gт", 25, 30, 1},
{"Pagello mafrone", 25, 36, 1},
{"Sarago Testa Nera", 22, 45, 1},
{"Sarago maggiore", 22, 45, 2},
{"Anguilla", 35, 50, 2},
{"Mormora", 30, 55, 2},
{"Pagello fragolino", 25, 60, 1},
{"Suro", 25, 60, 1},
{"Sarago Pizzuto", 30, 60, 1},
{"Sgombro", 30, 60, 1},
{"Passera Pianuzza", 50, 60, 1},
{"Occhialone", 30, 70, 2},
{"Sogliola", 35, 70, 2},
{"Orata", 35, 70, 2},
{"Pagro mediterraneo", 35, 91, 1},
{"Palamita", 50, 91, 2}
},
{
{"Cefalo", 50, 100, 2},
{"Spigola", 50, 103, 2},
{"Cernia", 60, 120, 3},
{"Tonnetto", 80, 122, 2},
{"Merluzzo", 45, 140, 2},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0}
}, //Error line 59
{
{"Cernia di Fondale", 80, 210, 3},
{"Tonno obeso", 180, 250, 3},
{"Albacora", 150, 235, 3},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0}
},
{
{"Tonno rosso", 200, 450, 3},
{"Pesce spada", 300, 455, 3},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0},
{"", 0, 0, 0}
}
};