CHalfLifeMultiplay::CanPlayerBuy
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:
I know is there a trick that you can do with StatusIcon, but I would to know why the members way isn't working. |
Re: CHalfLifeMultiplay::CanPlayerBuy
CHalfLifeMultiplay::RestartRound(new round) -> CheckMapInfo -> m_bCTCantBuy and m_bTCantBuy are changed based on m_iBuyingStatus.
PHP Code:
|
Re: CHalfLifeMultiplay::CanPlayerBuy
You can create info_map_parameters entity or edit it if it already exists on the map.
|
Re: CHalfLifeMultiplay::CanPlayerBuy
Weird, if I do that with ReAPI the members it's not redefined. Anyway, I tried with info_map_parameters but isn't working. I will opt for StatusIcon, it looks the most properly way.
|
Re: CHalfLifeMultiplay::CanPlayerBuy
Quote:
PHP Code:
|
Re: CHalfLifeMultiplay::CanPlayerBuy
I noticed that it block from buy but menu it's being shown, so I'll still opt for StatusIcon way.
|
| All times are GMT -4. The time now is 07:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.