Raised This Month: $ Target: $400
 0% 

need help with menu strings


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 01-06-2011 , 15:24   Re: need help with menu strings
Reply With Quote #7

The above post is unnecessary.

It surprises me how little people think about the things they are typing, and just copy the way others get things done. You name one of your variables iName and it doesn't occur to you that maybe that's the name of the option?

Code:
Foo() {     new menu = menu_create( "Countries", "Handler" )     menu_additem( menu, "Sweden", "1", 0 )         // other items, display... } public Handler( id, menu, item ) {     new ChoiceName[32]     new access     new callback     menu_item_getinfo( menu, item, access, _, _, ChoiceName, 31, callback )     // ChoiceName = "Sweden" if the client chose that option }
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT
wrecked_ is offline
 



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 02:07.


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