Raised This Month: $ Target: $400
 0% 

New system menu help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 08-01-2008 , 04:43   New system menu help
Reply With Quote #1

Hello, I'm making a menu with guns like the zombie plague but for separate, every player that type "x" appears the menu, but, when the player choose the primary weapon, how i do to send to the menu of secondary weapons? and then close the menu.

Example:
The primary guns menu appears, i choose ak47, and then, how i send the player to the secondary guns when he select some item on the primary guns menu???!
__________________

Last edited by IneedHelp; 08-01-2008 at 04:48.
IneedHelp is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-01-2008 , 04:53   Re: New system menu help
Reply With Quote #2

case 1...n:
choose a primary gun;
menu_display(id, secondary_menu, 0);
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 08-01-2008 , 05:12   Re: New system menu help
Reply With Quote #3

You say something like this ?

PHP Code:
case 1:
{
          
fm_give_item(id, .....)
          
menu_display(idsecondary_menu0)

In other case, could you give me an example?
__________________
IneedHelp is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-01-2008 , 05:33   Re: New system menu help
Reply With Quote #4

yes, something like that.
you could look into csdm_equip.sma for details
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
iHaxor.Stan
BANNED
Join Date: Jul 2007
Old 08-01-2008 , 08:12   Re: New system menu help
Reply With Quote #5

yah what he said just display the menu in all the cases so when they choose something, that new menu pops up
iHaxor.Stan is offline
Old 08-01-2008, 16:36
IneedHelp
This message has been deleted by IneedHelp.
Old 08-02-2008, 22:01
IneedHelp
This message has been deleted by IneedHelp. Reason: solved
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 14:37.


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