19.07.2017, 10:57
I haven't done much dini but oh' well.
Inside your enum declaration you should be having something like this:
enum e_PlayerInfo {
Banned_By,
Ban_Reason
};
Have you made those two into arrays? Should be looking like this if you want it to be correct:
enum e_PlayerInfo {
Banned_By[MAX_PLAYER_NAME],
Ban_Reason[128]
};
EDIT:
Nevermind I was stupid, it should maybe work like if you put it into a format.
Inside your enum declaration you should be having something like this:
enum e_PlayerInfo {
Banned_By,
Ban_Reason
};
Have you made those two into arrays? Should be looking like this if you want it to be correct:
enum e_PlayerInfo {
Banned_By[MAX_PLAYER_NAME],
Ban_Reason[128]
};
EDIT:
Nevermind I was stupid, it should maybe work like if you put it into a format.
Код:
format(PlayerInfo[playerid][Banned_By], MAX_PLAYER_NAME, "%s", dini_Get(file, "Banned_By");