Raised This Month: $ Target: $400
 0% 

show_menu(id, 0, "^n", 1); Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-25-2011 , 00:31   Re: show_menu(id, 0, "^n", 1); Help
Reply With Quote #4

You may also want to reset pdata 205 (m_iMenuCode).

Code:
#define XO_PLAYER 5
#define m_iMenuCode 205
#define cs_get_user_menu(%0)				get_pdata_int(%0, m_iMenuCode, XO_PLAYER)
#define cs_set_user_menu(%0,%1)				set_pdata_int(%0, m_iMenuCode, %1, XO_PLAYER)
Then, you need to loop.

PHP Code:
     show_menu(00" "1)
     
// For ALL
     
new iPlayers[32],iNum;
     
get_players(iPlayers,iNum,"ch")

     for(new 
iiNumi++)
     {
          
cs_set_user_menu(iPlayers[i],0);
     } 
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 07-25-2011 at 00:35.
ConnorMcLeod 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 01:04.


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