22.08.2013, 03:30
Hi, I have this enum:
I have a filterscript that saves all the information this enum contains, I tried to make a ".inc" file which contains this enum, so I added: "#include <enum> on my filterscript and I added it aswell on my gamemode because I want to be able to read the information on my gamemode aswell.
It compiles fine, but it doesn't work. When for example I change the Admin level on my gamemode, it won't be visible on the filterscript.
-Sorry for my bad english
PHP код:
enum pInfo
{
Pass,
Cash,
Admin,
Kills,
Deaths,
Score,
Donor,
OnDuty
}
new PlayerInfo[MAX_PLAYERS][pInfo];
It compiles fine, but it doesn't work. When for example I change the Admin level on my gamemode, it won't be visible on the filterscript.
-Sorry for my bad english