02.07.2014, 03:00
Ok I have a snippet of code i've used in 4 of my scripts/servers that checks for hacks.
It compiles fine in all of my scripts....except 1.
When it is like this:
it crashes the compiler.
HOWEVER when it is like this:
...or if i comment out one of the others, it compiles (with errors of course but yeah)
I've never encountered this and am confused. I've placed it in some of my scripts before with no issues. I'm so confused.
It compiles fine in all of my scripts....except 1.
When it is like this:
pawn Код:
enum hkinfo
{
firstspawn,
ppname[MAX_PLAYER_NAME],
hacker
};
new gpInfo[MAX_PLAYERS][hkinfo];
HOWEVER when it is like this:
pawn Код:
enum hkinfo
{
//firstspawn,
ppname[MAX_PLAYER_NAME],
hacker
};
new gpInfo[MAX_PLAYERS][hkinfo];
I've never encountered this and am confused. I've placed it in some of my scripts before with no issues. I'm so confused.