Raised This Month: $ Target: $400
 0% 

[ Open menu with button without using bind ]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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