I think if the guy who did the JoeBot port for metamod missed this out then there must be plenty of things missing as well. If there's indeed a compile-time option for metamod then the correct code will look like this:
Code:
#ifdef METAMOD
CALL_GAME_ENTITY (PLID, "player", &pBotEdict->v);
#else
player (&pBotEdict->v);
#endif
I'm sure there are other problems like this one.