ATTRIB(PlayerState, m_weapon, Weapon, Weapons_from(-1))
METHOD(PlayerState, ps_push, void(PlayerState this))
{
+ STAT(SWITCHINGWEAPON, this.m_client) = this.m_switchingweapon.m_id;
STAT(SWITCHWEAPON, this.m_client) = this.m_switchweapon.m_id;
}
ENDCLASS(PlayerState)
void PlayerState_attach(entity this)
{
- LOG_INFO("Attached\n");
this._ps = NEW(PlayerState, this);
}