Raised This Month: $ Target: $400
 0% 

CHalfLifeMultiplay::CanPlayerBuy


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 12-17-2018 , 07:36   CHalfLifeMultiplay::CanPlayerBuy
Reply With Quote #1

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.
__________________









Last edited by CrazY.; 12-17-2018 at 07:38.
CrazY. is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:39.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode