Raised This Month: $ Target: $400
 0% 

[ Open menu with button without using bind ]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
Colex
Senior Member
Join Date: Feb 2014
Old 10-14-2014 , 08:29   [ Open menu with button without using bind ]
#1

How to?
Colex is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-14-2014 , 08:41   Re: [ Open menu with button without using bind ]
#2

you need to hook there cmd and its not allowed to...
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 10-14-2014 , 08:42   Re: [ Open menu with button without using bind ]
#3

Create a command that users can bind(like for example: menu_open) then make an advertisement that entices your users to manually bind the command.
EX: Hello. This server has a menu command that you can bind a key to. The command is: menu_open

Quote:
Originally Posted by Natsheh View Post
you need to hook there cmd and its not allowed to...
He's not asking to slowhack, he's asking if there's a way to not slowhack but still have a command be bound to a key to open. My way(above your quote) satisfies the 2 requirements.
__________________

Last edited by WildCard65; 10-14-2014 at 08:43.
WildCard65 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-14-2014 , 08:46   Re: [ Open menu with button without using bind ]
#4

you can hook cmd to open the menu by the buy commands by legal way

Example :-

PHP Code:
public plugin_init()
{
      
register_clcmd("rebuy""open_menu"// if player pressed F2 (rebuy) key it will open the menu
}
public 
open_menu()
{
   
//code


Last edited by Natsheh; 10-14-2014 at 08:50.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Colex
Senior Member
Join Date: Feb 2014
Old 10-14-2014 , 08:59   Re: [ Open menu with button without using bind ]
#5

Without using console command.
Only with a key.

Steam is giving problem binds:

Server tried to send invalid command: "bind v "say /weapons"

PHP Code:
*snip 

Last edited by Arkshine; 10-14-2014 at 09:29.
Colex is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 10-14-2014 , 09:03   Re: [ Open menu with button without using bind ]
#6

Quote:
Originally Posted by Colex View Post
Without using console command.
Only with a key.

Steam is giving problem binds:

Server tried to send invalid command: "bind v "say /weapons"

PHP Code:
<removed slowhacking code
You can't slowhack users. Valve blocked slowhacking commands from being sent to users.
Use either mine or Natsheh's method.
__________________
WildCard65 is offline
Old 10-14-2014, 09:04
Natsheh
This message has been deleted by Natsheh. Reason: nvm
Colex
Senior Member
Join Date: Feb 2014
Old 10-14-2014 , 09:26   Re: [ Open menu with button without using bind ]
#8

Any other solution? How to?
Colex is offline
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 10-14-2014 , 09:35   Re: [ Open menu with button without using bind ]
#9

There is no solution. Tell the user to bind the command themselves and teach them how to use it.

Binding random keys is bad, and people are not stupid. Binding stuff serverside is never necessary.
__________________
In Flames we trust!
Nextra is offline
Colex
Senior Member
Join Date: Feb 2014
Old 10-14-2014 , 10:04   Re: [ Open menu with button without using bind ]
#10

And:

PHP Code:
slowhacking code 
Bind v to open amx_weapons menu.

Is possible?

Last edited by YamiKaitou; 10-14-2014 at 10:56.
Colex is offline
Closed Thread



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 17:42.


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