Fixed so that player must pass one ClientInfoChanged before cs_set_user* works.

This commit is contained in:
Johnny Bergström
2004-03-29 14:19:02 +00:00
parent 1428a87edc
commit ffae6da15e
3 changed files with 53 additions and 24 deletions

View File

@ -10,16 +10,23 @@ class CCstrikePlayer
public:
CCstrikePlayer();
void Initialize();
bool GetModelled();
bool SetModelled(bool modelledIn);
const char* GetModel();
void SetModel(const char* modelIn);
bool GetInspectModel();
void SetInspectModel(bool inspectModelIn);
bool GetOnline();
void SetOnline(bool onlineIn);
private:
bool inspectModel;
bool modelled;
bool online;
char model[32];
};