I think Sourcemod is crazy (bugged).
If I do this:
PHP Code:
char[] StrGetSurvivorClass(survivor)
{
if (left4dead==1)
return L4D2_S_CLASSES[survivor];
else
return L4D2_S_CLASSES[survivor];
}
Plugin compiles. May Sourcemod 1.9 be bugged? I will try online compiler.
EDIT: Online compiler failed too