Raised This Month: $ Target: $400
 0% 

menu opition


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
zombieplague
Veteran Member
Join Date: Apr 2009
Old 12-03-2010 , 08:35   menu opition
Reply With Quote #1

this code is from nade modes plugin. i was wondering if it is possible to make menu option

like in nade modes cvar.

PHP Code:
add_option_tritoggle(menuOPTION_MATERIAL_SYSTEM"Interaction system""\rOff""\ySecondary Explosions""\yHit Point System"
you can off or on

the idea is here

PHP Code:
     static Menu

     SettingsMenu
id ] = menu_create"weapons""weapons_Handler" )

     
Menu SettingsMenuid ]

     
add_option_toggleMenu"first Weapon:""M4A1""AK-47" )

     
add_option_toggleMenu"second Weapon:""Deagle""Glock" 
instead of buying the weapon. using menu to buy like if you want to buy ak-47 you have to press 2 time ?

first is M4a1 then ak-47
zombieplague 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 11:19.


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