Despuйs de un largo tiempo me olvidй cуmo se hacнa. Lo que quiero hacer es algo asн:
Pasa que no se cуmo seguir.
pawn Код:
static const Float:Races[5][2][3] =
{
{{0,{{1.0,1.5, 1.5, 2.5, 3.5},{1.0,1.5,1.5,2.5, 3.5}},
1,{{1.0,1.5, 1.5, 2.5, 3.5},{1.0,1.5,1.5,2.5, 3.5}},
2,{{1.0,1.5, 1.5, 2.5, 3.5},{1.0,1.5,1.5,2.5, 3.5}}}
};
PD: No lo probй pero deberнa ser asн.
pawn Код:
static const Float:Races[9][5][3] =
{
// 2D 0 2D 1 2D 2 2D 3 2D 4
{{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}}, // Primer dimensiуn: ID 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}}, // Primer dimensiуn: ID 1
{{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}}, // Primer dimensiуn: ID 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}}, // Primer dimensiуn: ID 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}}, // Primer dimensiуn: ID 4
{{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}}, // Primer dimensiуn: ID 5
{{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}}, // Primer dimensiуn: ID 6
{{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}}, // Primer dimensiуn: ID 7
{{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}} // Primer dimensiуn: ID 8
// 0 1 2 0 1 2 0 1 2 0 1 2 0 1 2
};
Asн mбs bonito.