Raised This Month: $ Target: $400
 0% 

Menu Players HELP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Blizzard_87
Veteran Member
Join Date: Oct 2012
Old 07-05-2013 , 08:48   Re: Menu Players HELP
Reply With Quote #2

Code:
public menu_handler( id, menu, item ) {     if ( item == MENU_EXIT )     {         menu_destroy( menu );         return PLUGIN_HANDLED;     }         new szData[6], szName[64];     new item_access, item_callback;         menu_item_getinfo( menu, item, _access, szData,charsmax( szData ), szName,charsmax( szName ), item_callback );         new userid = str_to_num( szData );         new player = find_player( "k", userid ); // flag "k" : find player from userid         if ( !player ) // if the item selected was not a player     {         switch(g_Value) {             case 0:             case 1:             //etc...     }         menu_destroy( menu );     return PLUGIN_HANDLED; }
__________________
Blizzard_87 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 06:30.


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