Raised This Month: $ Target: $400
 0% 

Menu shows server players?!?!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
LynX
Veteran Member
Join Date: Oct 2004
Old 05-11-2005 , 17:35   Menu shows server players?!?!
Reply With Quote #1

I have this:

Code:
public NewMenu( id ) {     new szMenuBody[256]     new keys     format( szMenuBody, 255, "Choose :^n1. Option 1^n2  Option 2^n3. Option 3^n^n0. Exit" )     keys = (1<<0|1<<1|1<<2|1<<9)           show_menu( id, keys, szMenuBody, -1 )     return PLUGIN_HANDLED } public MenuCommand( id , key ) {     switch( key )     {         case 0:  {                                    client_print(id, print_chat,"Option 1")                  }         case 1:  {                  client_print(id, print_chat, "Option2")                  }         case 2:  {                  client_print(id, print_chat, "Option 3")                  }         case 3: client_print( id, print_chat, "Closed the selection menu" )     }     return PLUGIN_HANDLED }
I'd like that it shows current players in server, and gets their origin. Please don't change how menu is done, as this DOES NOT crashes server, I want only changes that this code above shows all players currently in server, and gets their origin so I can do set_user_origin on them.
But, I would be happy that it just shows all players in server. I'll do the rest.
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
 



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 16:45.


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