10.10.2017, 16:34
For example I have a limit of 20 members per faction as you can see I put them like this.
But for me it is easier for me this way because I will occupy loops
What I do not know is that if the MAX_PLAYER_NAME goes first or if the number of members goes first
PHP код:
enum ENUM_FACCION_DATA
{
fMiembro_1[MAX_PLAYER_NAME],
fMiembro_2[MAX_PLAYER_NAME],
fMiembro_3[MAX_PLAYER_NAME],
fMiembro_4[MAX_PLAYER_NAME],
fMiembro_5[MAX_PLAYER_NAME],
fMiembro_6[MAX_PLAYER_NAME],
};
new Faccion[MAX_FACCIONES][ENUM_FACCION_DATA];
PHP код:
enum ENUM_FACCION_DATA
{
fMiembro[6][MAX_PLAYER_NAME],
};
new Faccion[MAX_FACCIONES][ENUM_FACCION_DATA];
PHP код:
enum ENUM_FACCION_DATA
{
fMiembro[MAX_PLAYER_NAME][6],
};
new Faccion[MAX_FACCIONES][ENUM_FACCION_DATA];