Raised This Month: $ Target: $400
 0% 

Questions about buyzones


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-20-2011 , 16:28   Questions about buyzones
Reply With Quote #1

As you can see from previous posts buyzones can be blocked and i have that code to do it.

How ever. can they be blocked on the fly? like by client comand /blockbz /enablebz??

Would that mean i need to create my own entity for func_buyzone? Or can it be done by whats already in the game

thanks.
Doc-Holiday is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 07-20-2011 , 16:32   Re: Questions about buyzones
Reply With Quote #2

Use a boolean and hook the buy command?
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-20-2011 , 16:41   Re: Questions about buyzones
Reply With Quote #3

You can hook StatusIcon and return PLUGIN_HANDLED when you want it to be blocked and return PLUGIN_CONTINUE when not blocked.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-20-2011 , 17:33   Re: Questions about buyzones
Reply With Quote #4

Quote:
Originally Posted by nikhilgupta345 View Post
You can hook StatusIcon and return PLUGIN_HANDLED when you want it to be blocked and return PLUGIN_CONTINUE when not blocked.
not blocked on the fly though... doing that Blocks it on the next round

Quote:
Originally Posted by bibu View Post
Use a boolean and hook the buy command?
Doing that still allows the menu to flash on the screen.
Doc-Holiday is offline
Reply



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 01:09.


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