Raised This Month: $51 Target: $400
 12% 

[Help] Buy Command


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Syturi0
Veteran Member
Join Date: Aug 2014
Location: Your mom house -Portugal
Old 08-30-2015 , 06:28   [Help] Buy Command
Reply With Quote #1

PHP Code:
register_clcmd("buy" "testcommand"
I want to bind something to the "B" key (buy)
But it only works when iam in BuyZone, i want it to work outside of buyzones too.
Is it possible?
Syturi0 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-30-2015 , 06:38   Re: [Help] Buy Command
Reply With Quote #2

It may be:
  • Modify the size of the buyzone to cover the entire map.
  • Create a fake one and force touch(poor way).
__________________
HamletEagle is offline
Syturi0
Veteran Member
Join Date: Aug 2014
Location: Your mom house -Portugal
Old 08-30-2015 , 07:37   Re: [Help] Buy Command
Reply With Quote #3

Quote:
Originally Posted by HamletEagle View Post
It may be:
  • Modify the size of the buyzone to cover the entire map.
  • Create a fake one and force touch(poor way).
Okey, the whole map have buyzone.
I made a Touch Entety in one Zone.
When player is outside, Menu 1 opens.
When player is inside Zone, Menu 2 opens.

The only problem is once the player enters the Zone, even if he goes outside, he can still open Menu 2, instead of Menu 1.
Syturi0 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-30-2015 , 07:41   Re: [Help] Buy Command
Reply With Quote #4

Show what you did.
__________________
HamletEagle 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 11:05.


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