HL2SDK: getting access to CBasePlayer -
21-01-2006
Hi,
I've been out of the loop for quite some while now with regard to the HL2 SDK.
I still have some old sources of a server plugin loitering around on my disk. To get access to CBasePlayer, I applied a hack quite common back then:
#define GAME_DLL 1
#include "cbase.h"
#include "networkvar.h"
and included networkvar.cpp to the project to make it link.
This worked up to some point when CS Source and the SDK got updated and all this broke.
Could somebody provide me some directions on how to properly access CBasePlayer in the current HL2 SDK ?
Thank you
BotUser
|