Hello, I'm trying to remove player access to the buy menu. What I did was work with m_bCTCantBuy and m_bTCantBuy (
CHalfLifeMultiplay::CanPlayerBuy), but didn't work.
Code:
public plugin_init()
{
register_plugin("Something", "1.0", "Crazy");
set_gamerules_int("CHalfLifeMultiplay", "m_bCTCantBuy", true);
set_gamerules_int("CHalfLifeMultiplay", "m_bTCantBuy", true);
}
I know is there a trick that you can do with StatusIcon, but I would to know why the members way isn't working.
__________________